[Puppet Users] Puppet Bolt 0.8.0 released with sudo support

2017-11-17 Thread Alex Dreyer
Bolt 0.8.0 is released! This is a feature release of the open-source task runner, which includes: - Sudo support: Tasks run over ssh can now connect as one user and '--run_as' a different user via sudo. - Winrm transport bug fixes - Results when running tasks, commands, scripts and uploading

[Puppet Users] Dynamic file content

2017-11-17 Thread Dave F
Hi I'm pretty new to puppet and am still learning, so apologies for what is probably a daft question.. I'm using puppet to deploy tomcat, and as part of this I need to dynamically edit an XML file based on data passed to the class from heira. I'm doing this by a) using a file resource to

[Puppet Users] Dynamic file content?

2017-11-17 Thread Dave F
Hi, I'm fairly new to puppet and am working my way through various approaches to problems - probably doing them in all the worst possible ways... One thing I'm currently trying to do is configure an application using heira and puppet. The application comes with a selection of default

[Puppet Users] Re: Puppet 5 ENC parameters and facts missing from PuppetDB 5 facts

2017-11-17 Thread treydock
In case anyone comes across this same problem, the issue was not with the fact the ENC parameters matched facts. The issue was that I had a flat file fact in /etc/facter/facts.d/facts.txt that defined the hostgroup, which was populated during provisioning by the Foreman hostgroup value. I