Compiling the catalog is straightfoward. The tricky issues are syncing
facts, and uploading facts from agent to master, and you need to have
means to distribute files out of band to the agent without it
requesting via https from the master. (local mount nfs, rsync to
local, probably some other creative ways I haven't thought of.)
Thanks,
Nan
> Hi Experts,
>
> I remember we had this discussion before, but could find it.
>
> Can I run a command to generate a "Compiled catalog" for a specific node (on the master node)? And apply this on the client node? What are the limitations for doing this?
>
> Basically we have special handling for the webserver/CA part of puppet.
>
> Thank you very much!
>
> -Yushu
1) You can generate the catalog using "puppet master --verbose --compile computer.name.domain_name"
2) Anything that uses "puppet:///whatever" won't work, unless the client can connect to the master.
1) You can generate the catalog using "puppet master --verbose --compile computer.name.domain_name"
2) Anything that uses "puppet:///whatever" won't work, unless the client can connect to the master.
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To post to this group, send email to puppet...@googlegroups.com.
To unsubscribe from this group, send email to puppet-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
>> 1) You can generate the catalog using "puppet master --verbose --compile
>> computer.name.domain_name"
>> 2) Anything that uses "puppet:///whatever" won't work, unless the client
>> can connect to the master.
>
> Does this mean the file templates will not work as well?
They work fine; so does file 'content'; just 'source' doesn't work
without communication to the master.
You might also want to look at moonshine and shadow puppet, both built
atop Puppet: https://github.com/railsmachine/moonshine/wiki/shadow-puppet-overview-and-examples
Regards,
Daniel
--
⎋ Puppet Labs Developer – http://puppetlabs.com
✉ Daniel Pittman <dan...@puppetlabs.com>
✆ Contact me via gtalk, email, or phone: +1 (877) 575-9775
♲ Made with 100 percent post-consumer electrons
--
Thanks Folks for the answers.
Before I go into this direction, I just want to make sure one thing from the developers:
Is this a feature that you think will stay inside puppet? (in 3.0, 4.0, etc)
Or has there been any discussion to remove this feature?
Feel safer if I know this feature will stay long. Thanks
--
Not the most intuitive thing, puppet apply -t -d --apply mytest.yaml.
Most likely will get expired catalog, but that can either be updated
by changing expire datetime in the catalog, or controlling expiration
using --runinterval (it's overloading the same option for two
purpose).
HTH,
Nan