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

-- 
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.

Reply via email to