ENC script always fails with exit status 1

96 views
Skip to first unread message

Jack Harris Jr

unread,
Mar 6, 2012, 11:03:53 PM3/6/12
to puppet...@googlegroups.com
Whenever I use puppet agent --test on a client I get the error "err: Failed when searching for node sage.jack: Failed to find sage.jack via exec: Execution of '/home/ldigitaldash/classifier sage.jack' returned 1:" if i run the enc as a command /home/ldigitaldash/classifier sage.jack I get this output "
--- 
parameters: 
"
which is what I want.  Here is my enc code:
#!/bin/sh 
echo '--- 
parameters: 
exit 0

Any suggestions on what the problem is or how to debug it.

Jeff McCune

unread,
Mar 7, 2012, 11:19:19 AM3/7/12
to puppet...@googlegroups.com

The Puppet master usually runs under a service account named "puppet" or "pe-puppet" for Puppet Enterprise.

Does the effective UID the Puppet master is running as have permission to read from your home directory?

-Jeff

Jack Harris Jr

unread,
Mar 8, 2012, 12:42:44 AM3/8/12
to puppet...@googlegroups.com
Thanks Jeff that was the exact problem 
Reply all
Reply to author
Forward
0 new messages