Puppet ENC

198 views
Skip to first unread message

Brian Carpio

unread,
Jul 27, 2012, 1:03:31 PM7/27/12
to puppet...@googlegroups.com
I'm trying to get basic ENC functionality to work but I think I am missing the boat here so to speak.

PuppetMaster - 2.7.17-1puppetlabs1
Puppet Agent - 2.7.14-1puppetlabs1

--- puppet.conf on master ---

[master]
        node_terminus = exec
        external_nodes = /etc/puppet/enc.sh

---- enc.sh ----
cat<<END
---
classes:
 mongodb:
END
exit 0

---- enc.sh server_name.domain.com run by hand ---
---
classes:
 mongodb:

---- debug output of puppetmaster ----

debug: Executing '/etc/puppet/enc.sh server_name.domain.com'
debug: Empty response for server_name.domain.com from exec terminus
err: Could not find node 'server_name.domain.com'; cannot compile



I am not sure what is going on here... I assume my YAML output is valid...




Brian Carpio

unread,
Jul 27, 2012, 4:10:20 PM7/27/12
to puppet...@googlegroups.com
Apparently my spacing was off in my shell script, fixed that and also discovered what was wrong with my origional python script which is actually used as the enc exec.

thanks,
Brian
Reply all
Reply to author
Forward
0 new messages