The help in puppet (the puppet executable, I mean, not necessarily the entire package) says things like "Runs a stand-alone +puppet+ script". I''m guessing that''s just obsolete terminology, and it means "manifests"; and the example shows it being applied to a .pp file. Can I use say "puppet site.pp" to manually apply the referenced configuration? And is there a "dry-run" option of some sort? In general, I''m looking for how to test at least the syntax of what I''m writing in simple local ways; short of setting up a separate test server (I note the clever stuff to get it to use the same certificates in the example on the wiki). The separate test server seems to require me to modify the configuration files on each transition to and from test mode, which seems like a big drawback. (This is in version 0.24.4) --~--~---------~--~----~------------~-------~--~----~ 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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 dd-b wrote:> The help in puppet (the puppet executable, I mean, not necessarily the > entire package) says things like "Runs a stand-alone +puppet+ > script". I''m guessing that''s just obsolete terminology, and it means > "manifests"; and the example shows it being applied to a .pp file.Correct - I''ve updated the documentation - it''ll be in 0.24.6.> Can I use say "puppet site.pp" to manually apply the referenced > configuration? And is there a "dry-run" option of some sort?Correct again - for dry-run have a look at the --noop and --parse-only options (http://reductivelabs.com/trac/puppet/wiki/ConfigurationReference)> In general, I''m looking for how to test at least the syntax of what > I''m writing in simple local ways; short of setting up a separate test > server (I note the clever stuff to get it to use the same certificates > in the example on the wiki). The separate test server seems to > require me to modify the configuration files on each transition to and > from test mode, which seems like a big drawback.Also see: http://reductivelabs.com/trac/puppet/wiki/FrequentlyAskedQuestions#how-do-i-run-manifests http://reductivelabs.com/trac/puppet/wiki/SubversionCommitHooks http://reductivelabs.com/trac/puppet/wiki/VersionControlPuppet Regards James Turnbull - -- Author of: * Pulling Strings with Puppet (http://www.amazon.com/gp/product/1590599780/) * Pro Nagios 2.0 (http://www.amazon.com/gp/product/1590596099/) * Hardening Linux (http://www.amazon.com/gp/product/1590594444/) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFI5aiE9hTGvAxC30ARApy2AKDQSfFBsFf3zxPdUQsaryyMbgzTFACfTB+6 KYb3pUV8V5JSBhDG2FPQ0cg=+OY5 -----END PGP SIGNATURE----- --~--~---------~--~----~------------~-------~--~----~ 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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---