[Puppet Users] vardir variable not coming through

noob-puppeteer
Fri, 02 Jul 2010 01:00:07 -0000

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?

Thanks,
NP