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
On Friday, July 27, 2012 11:03:31 AM UTC-6, Brian Carpio
wrote:>
> 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...
>
>
>
>
>
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/puppet-users/-/fBVpQQgFAYwJ.
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.