[Puppet Users] Announcement: Puppet Development Kit RFC process and pdk-planning repo

2018-07-11 Thread Jesse Scott
The Puppet Development Kit team is excited to introduce a new RFC-based open-source planning and design process for the PDK project! While many changes to the PDK, including bug fixes and documentation improvements can be implemented and reviewed via the normal GitHub pull request workflow, some

Re: [Puppet Users] Check existence of a hierarchy

2018-07-11 Thread Helmut Schneider
Ben Ford wrote: > What you're looking for is the dig() function. > https://puppet.com/docs/puppet/latest/function.html#dig > > $profiles.dig('vpn', 'openvpn', 'instances', 'client') > > On Wed, Jul 11, 2018 at 8:32 AM Helmut Schneider > wrote: > > > Hello all, > > > > let's assume the

Re: [Puppet Users] Check existence of a hierarchy

2018-07-11 Thread Ben Ford
What you're looking for is the dig() function. https://puppet.com/docs/puppet/latest/function.html#dig $profiles.dig('vpn', 'openvpn', 'instances', 'client') On Wed, Jul 11, 2018 at 8:32 AM Helmut Schneider wrote: > Hello all, > > let's assume the following structure in a yaml: > > profiles: >

[Puppet Users] Check existence of a hierarchy

2018-07-11 Thread Helmut Schneider
Hello all, let's assume the following structure in a yaml: profiles: vpn: openvpn: instances: client: myclient: remote: 'openvpn_host 1194' I would now like to check if e.g. "client" exists: if

[Puppet Users] Re: PKIX path validation failed

2018-07-11 Thread Thomas Müller
Am Dienstag, 10. Juli 2018 20:04:03 UTC+2 schrieb Bret Wortman: > > I'm standing up a new replacement puppet server in place of the one we > trashed a few weeks ago, and am running into a new, interesting issue. > > I'm running puppet and puppetdb on the same server. Postgres is up and >

[Puppet Users] Re: puppetlabs-mysql: change the @HOST for the 'root'@'localhost'

2018-07-11 Thread Thomas Müller
what about - adding an additional root@% instead of reconfiguring the root@localhost one? - set create_root_user=> false when declaring mysql::server class (don't know the implications) - Thomas Am Dienstag, 10. Juli 2018 22:36:20 UTC+2 schrieb comport3: > > Using the

[Puppet Users] Re: puppetserver 5 logging to STDOUT misses puppet compiler messages

2018-07-11 Thread Thomas Müller
The log is actually logged - I had some wrong assumptions how systemd/journald logs. journalctl -u puppetserver.service only contains logs until the systemd service is started. To get the STDOUT output of the puppetserver java process one can use: journalctl -t puppetserver or in case of