RE: [Puppet Users] Accessgin facts hash from manifests

2018-04-22 Thread Johan De Wit
first notify, the index should be quoted notify { "OS: $facts['os']['family']": } Grts -Original message- From: Arnau  Sent: Friday 20th April 2018 14:22 To: puppet-users@googlegroups.com Subject: [Puppet Users] Accessgin facts hash from manifests Hi all, I'm having the fir

[Puppet Users] puppet cert clean cleaning over and over

2018-04-22 Thread Marc Haber
Hi, I do have a certain host that I use for testing. It thus gets deleted and re-created (in Foreman) over and over again. Eventually, rebuilding the host times out at the puppet cert clean state. Foreman issues "puppet cert clean FQDN". When I invoke that from the command line, I get "Notice: Re

Re: [Puppet Users] Unable to run source using 'exec' resource

2018-04-22 Thread Christopher Wood
I'm not really sure what's going on (bit rusty in bash), but the following things to check on come to mind. /bin/sh may not be linked to bash, and "export THING=whatever" is a bashism. It could be that "THING=whatever; export THING" will work better for you. However you're likely using somethin

[Puppet Users] Unable to run source using 'exec' resource

2018-04-22 Thread Justin tim
Hi, I've been trying to setup openstack keystone for my DEV environment using Puppet. Everything works fine, except the 'exec' resource. I have tried the below things, but not getting the desired results 1. '*/bin/bash -c 'source /root/openrc.sh*' in the command attribute, but nothing happens