[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

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