Hi everyone,

I am using Puppet 2.6.5 on my Master and Client.

My /etc/puppet/manifests/site.pp looks like this:

import "nodes/*"
import "templates"
import "nodes"

I have a templates.pp file with a "class baseclass {...}" in it and
nodes.pp file that looks like this:

node 'default' {
 include baseclass
}


The very first time when I start the puppet agent on the client it
creates a certificate on the master and applies the catalog for the
default node.

I then have a script file on the master that creates a new catalog
specific to the client node inside the nodes/ directory and executes a
puppet kick to the client.

The puppet kick finishes with status success and exit code 0 on the
master. However when I look at the puppet logs on the client it doesnt
seem to have picked up the new catalog at all and but says:

triggered run
Finished catalog in 3.02 seconds.

It looked like it was only applying the cached catalog rather than the
newly created one inside the nodes/ directory. This even after trying
and executing puppet kick multiple times.

So I then tried doing "touch site.pp" before doing puppet kick in my
script file and then it seemed to pick my new catalog.

Is there any reason for this behavior?...do we need to make sure that
the site.pp file is changed everytime a new catalog is applied?

Any help is greatly appreciated.

Thanks,
Sriramu

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@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.

Reply via email to