Hi Matt,

Thank you for your answer.

I have executed the 2 commands that you've mentioned and for the first 
command (puppet master --no-daemonize --debug) shows that my script it is 
run, however, nothing it is happening with the data and the second command 
(/var/lib/puppet/fetch_enc.sh yournode.example.com ) gives me a hiera file, 
which matches the YAML file that I previously had. Also, I have done a 
syntax check on my Hiera Yaml file and seems fine.

Then only thing I cannot seem to understand is that I have edit the 
puppet.conf file and added those lines, I can execute the script and as 
I've said using the 2nd command I can clearly see the YAML file in the 
correct format as I have test it with the ruby -e command also I copy paste 
into a file called .yaml and run it and runs smoothly.

I don't know what really goes on and Puppet does nothing with it :(

Thank you once again,

Kind regards,
Sergiu

On Friday, 11 December 2015 17:54:02 UTC, Sergiu Cornea wrote:
>
> Hello guys,
>
> I have an ENC which is producing the right data as far as I could have 
> test it (copy and paste it in a yaml file), however, when I am using Puppet 
> directly Puppet seems to do nothing with it. 
>
> This is my Puppet.conf file and logging shows that this script is being 
> executed by the Puppet master, like I've said Puppet doesn't seem to be 
> using the data.
>
> [master]
>   node_terminus = exec
>   external_nodes = /var/lib/puppet/fetch_enc.sh
>
> Thank you,
>
> Regards,
> Sergiu
>

-- 


This message and its attachments are private and confidential. If you have 
received this message in error, please notify the sender and remove it and 
its attachments from your system.

The University of Westminster is a charity and a company 
limited by guarantee. Registration number: 977818 England. 
Registered Office: 309 Regent Street, London W1B 2UW.

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/ef0f0c13-5a10-4f48-88bd-96c9ab61a4f0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to