* noob-puppeteer <rahul.pilani at gmail.com> [2010/07/01 18:00]: > I must be missing something with how puppet.conf works. > > I have configured puppet.conf like so: > [main] > vardir = /var/xyz/puppet > > I have a very simple site.pp > > file { "$vardir/touch": > ensure => present, > } > > I am running puppet 0.25.5, and have the puppetmasterd and puppetd on > the same server. When I start the puppetd client, it gets an empty > $vardir, and tries to create /touch instead of /var/xyz/puppet/touch. > > What am I missing?
Facter doesn't make puppet configuration variables available in your manifests, so you can't reference $vardir, $confdir, and so on unless you write custom facts to make them available. -- Make something future-proof and the universe will invent a worse future. -- David Cantrell -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.