On Wed, Dec 28, 2011 at 3:55 PM, Douglas Garstang <[email protected]> wrote: > On Wed, Dec 28, 2011 at 3:53 PM, Douglas Garstang > <[email protected]> wrote: >> On Wed, Dec 28, 2011 at 3:30 PM, Nan Liu <[email protected]> wrote: >>> On Wed, Dec 28, 2011 at 3:13 PM, Douglas Garstang >>> <[email protected]> wrote: >>>> Did a little more reading. Even when the external node script prints >>>> an empty YAML document, '---', I still get that error. >>> >>> Try this as your ENC: >>> #!/bin/sh >>> echo '--- >>> parameters: >>> ' >>> exit 0 >>> >>> Thanks, >>> >>> Nan >> >> New error now. My enc.sh has: >> >> >> root@puppet1:/etc/puppet# cat enc.sh >> #!/bin/sh >> echo '--- >> parameters: >> ' >> exit 0 >> >> >> which produces the following output: >> >> >> root@puppet1:/etc/puppet# ./enc.sh ddd >> --- >> parameters: >> >> However, a random node is now reporting: >> >> >> Dec 28 23:51:13 dev-ge-bastion-01 puppet-agent[3340]: Could not >> retrieve catalog from remote server: Error 400 on SERVER: Could not >> find class sudo at /etc/puppet/ge/manifests/nodes.pp:4 on node >> dev-ge-bastion-01.c4-e.com >> >> Doug > > Actually, I think that fixed it. Thanks. This new error was hiding > behind that one. I wonder ask why someone can't fix the documentation > to reflect reality, or else I'll be branded a trouble maker like > before.
A patch to docs.puppetlabs.com would be most welcomed if it's inaccurate: https://github.com/puppetlabs/puppet-docs Thanks, Nan -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
