Re: [Puppet Users] Re: Something wrong with classification and hiera

2016-07-27 Thread Alex Samad
Thanks On Thursday, 21 July 2016 11:31:46 UTC+10, R.I. Pienaar wrote: > > > > - Original Message - > > From: "Alex Samad" > > To: "puppet-users" > > Sent: Wednesday, 20 July, 2016 21:29:27 > > Subject: [Puppet Users] Re: Something

[Puppet Users] Question Exec resource

2016-07-27 Thread Christian Charpentier
Hi, I'm trying to install openam with puppet. To do this i'm using an exec resource: exec { 'openam_install': command => "source /etc/profile && /opt/openam/bin/openam_install.sh install ${::env} > /opt/openam/install.log", provider => shell, creates => '/var/lib/tomcat/webapps/sso', }

Re: [Puppet Users] Recommended/Suggested R10k Deployment Strategy

2016-07-27 Thread Christopher Wood
On Wed, Jul 27, 2016 at 08:18:37AM -0700, dsdwcal wrote: >Hmm ok thanks for the speedy reply! > >In implementing R10k, we've recently transitioned from a monolithic module >repo to individual module repos. As such, our /etc/puppet/modules folder >used to be managed by a single git

Re: [Puppet Users] Recommended/Suggested R10k Deployment Strategy

2016-07-27 Thread dsdwcal
Hmm ok thanks for the speedy reply! In implementing R10k, we've recently transitioned from a monolithic module repo to individual module repos. As such, our /etc/puppet/modules folder used to be managed by a single git repo that was periodically pulled down and synced with master. It seems

Re: [Puppet Users] Recommended/Suggested R10k Deployment Strategy

2016-07-27 Thread Rob Nelson
I don't do any central modules, but everything in an environment modulepath. That way there's no confusion about what module may be loaded. It also keeps the configuration as simple as can be, no environment is special in any way. Rob Nelson rnels...@gmail.com On Wed, Jul 27, 2016 at 10:06 AM,

[Puppet Users] Recommended/Suggested R10k Deployment Strategy

2016-07-27 Thread dsdwcal
So relatively recently we have deployed and set up R10k to manage our environments and modules. In terms of suggested practices, I am curios what others are currently doing to manage their production/dev environments. It seems logical to me to change the production puppetfile's moduledir to

Re: [Puppet Users] Using the Puppet Catalog Preview tool in a rspec-puppet workflow?

2016-07-27 Thread Henrik Lindberg
On 26/07/16 20:46, robbyt wrote: I'd like to use the Catalog Preview tool as part of module spec tests, to ensure that code in each module will work correctly in both versions of Puppet? Is it possible to use the Catalog Preview tool without a real Puppet Master infrastructure? Yes, except for