Re: [Puppet Users] r10k postrun + Puppetfile

2016-02-21 Thread Lupin Deterd
Thanks Cory. My postrun entry is: postrun: [ "/path_to_path/bash_script"] All the script do is to chown & chmod the file/directories and it works if I run it manually. TIA, Lupin On Sun, Feb 21, 2016 at 4:31 PM, Cory Stoker wrote: > What does your r10k.yaml look like for the postrun command

Re: [Puppet Users] r10k postrun + Puppetfile

2016-02-20 Thread Cory Stoker
What does your r10k.yaml look like for the postrun command? What you are trying to do is possible of course. I have a postrun script that I call that wraps and commands I want to perform post deploy. Your Puppetfile should be in the environment/ folder. So like /etc/puppetlabs/code/environments

[Puppet Users] r10k postrun + Puppetfile

2016-02-08 Thread Lupin Deterd
Hi, I have two questions that all related to r10k, this could be trivial but I can't seem to make it work. Basically what I want to achieve is trigger a postrun that will modify/set the permission of /var/lib/hieradata and /etc/puppetlabs/puppet/environment/production/modules both are mana