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/<environment> folder.   So
like /etc/puppetlabs/code/environments/production/Puppetfile.  On your
r10k-control git repo it is in the top level directory, which then r10k
will copy into the right location.

HTH,
Cory

On Mon, Feb 8, 2016 at 10:32 PM, Lupin Deterd <lupindet...@gmail.com> wrote:

> 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 managed by
> r10k.
>
>  Currently I have a Shell script that does the permission modify and being
> invoke  manually. I tried to add that on my postrun config but no luck.
>
>
> Second question where does 'Puppetfile' should be located? Should it go
> inside the 'environments' folder that is under git control?
>
>
> Cheers
> Lupin
>
> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to puppet-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/puppet-users/04f1e7e2-8155-4dca-b103-887302a79384%40googlegroups.com
> <https://groups.google.com/d/msgid/puppet-users/04f1e7e2-8155-4dca-b103-887302a79384%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/CAJNEtxvPQV4FYSSh0Z%2Bob1%2BMPkKdotPrpwDMy67fuYCzR0LqyQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to