Hi Nitesh,
   I think the vardir variable is missing in your puppet.conf file. 
In Puppet.conf you have to specify the *vardir* variable path and after 
running the puppet manifests you can check the classes.txt file in 
/var/lib/puppet/ directory.

vardir = /var/lib/puppet/


Thanks and Regards,
Rahul Khengare,
NTT DATA OSS Center, Pune, India.


On Wednesday, March 9, 2011 4:49:55 AM UTC+5:30, Nitesh wrote:
>
> Hi 
> It seems like classes.txt file is not being created when I run puppet 
> on my servers. 
> I am running puppet without a puppet master. I use subversion to pull 
> the manifests on each of the boxes and run this command to run puppet. 
>
> puppet apply --verbose /path/to/manifest 
>
> My puppet version is puppet 2.6.4. 
>
> My puppet.conf file looks like this: 
>
> [main] 
>     # The Puppet log directory. 
>     # The default value is '$vardir/log'. 
>     logdir = /var/log/puppet 
>
>     # Where Puppet PID files are kept. 
>     # The default value is '$vardir/run'. 
>     rundir = /var/run/puppet 
>
>     # Where SSL certificates are kept. 
>     # The default value is '$confdir/ssl'. 
>     ssldir = $vardir/ssl 
>
>     # Where manifests are kept 
>     manifestdir = $vardir/manifests 
>
> [agent] 
>     # The file in which puppetd stores a list of the classes 
>     # associated with the retrieved configuratiion.  Can be loaded in 
>     # the separate ``puppet`` executable using the ``--loadclasses`` 
>     # option. 
>     # The default value is '$confdir/classes.txt'. 
>     classfile = $vardir/classes.txt 
>
>     # Where puppetd caches the local configuration.  An 
>     # extension indicating the cache format is added automatically. 
>     # The default value is '$confdir/localconfig'. 
>     localconfig = $vardir/localconfig 
>
>
> Any idea why that may be happening? 
> Thanks. 
>
> -- 
> Nite

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to