[Puppet Users] Re: Puppet environments..

2016-06-01 Thread Courtney Campbell
I just set this up myself. You need to create your environments directory structures is you haven't already. /etc/puppet/environment/{dev|prod)/(manifests|modules|environment.conf|hierdata) Hope you understand that. Then you need to change your puppet.conf on the master. Add these lines under m

[Puppet Users] Re: Puppet Environments change after upgrading to 3.7.5

2015-05-13 Thread ess
Re-sending after reading your situation more carefully. We are using PE 3.7.2 with r10k and directory environments, so I don't know how specifically useful this will be since you're still using config environments. Directory environments / PE use basemodulepath now (I'm not sure about config e

[Puppet Users] Re: Puppet Environments change after upgrading to 3.7.5

2015-05-13 Thread ess
We are using PE 3.7.2 with r10k, so I don't know how specifically useful this will be, but PE requires the use of basemodulepath. https://docs.puppetlabs.com/puppet/latest/reference/config_file_environment.html puppet.conf on master: [main] basemodulepath = /etc/puppetlabs/puppet/modules:/o

[Puppet Users] Re: Puppet Environments change after upgrading to 3.7.5

2015-05-13 Thread Jim Miller
Done anyone have any thoughts on this? On Friday, May 8, 2015 at 2:23:27 PM UTC-5, Jim Miller wrote: > > Hi all, > > Just upgraded from 3.4.something to 3.7.5 and it seems how we were doing > environments is depreciated. I've followed a couple of docs* for how to do > this but seem to be miss

[Puppet Users] Re: Puppet Environments change after upgrading to 3.7.5

2015-05-11 Thread Jim Miller
And finally when I add back to puppet.conf my environment, everything is found correctly: [test] manifest = $confdir/manifests/non-prod_site.pp modulepath = $confdir/environments/test/modules:$confdir/environments/test/site/modules [ ~ ]# puppet config print --environment test |grep

[Puppet Users] Re: Puppet Environments change after upgrading to 3.7.5

2015-05-11 Thread Jim Miller
Still wrestling with this. Puppet is now seeing 'part' of the module paths but not all of them, one thing I had to change was using an absolute path and not '$confdir' and it's not using the correct site.pp file "non-prod_site.pp" [ ~ ]# puppet config print --environment test |grep env environ

[Puppet Users] Re: Puppet Environments change after upgrading to 3.7.5

2015-05-11 Thread Jim Miller
I do have one update to this. The issue seems to be the modulepath, and what comes after the ':' modulepath = $confdir/environments/dev/modules: $confdir/environments/dev/site/modules Puppet is not finding catalogs/modules after the ':' err: Could not retrieve catalog from remote server: Error

Re: [Puppet Users] Re: Puppet Environments with Hiera

2014-11-06 Thread R.I.Pienaar
- Original Message - > From: "jcbollinger" > To: "puppet-users" > Sent: Thursday, November 6, 2014 3:21:18 PM > Subject: [Puppet Users] Re: Puppet Environments with Hiera > On Thursday, November 6, 2014 8:17:28 AM UTC-6, jcbollinger wrote: >>

[Puppet Users] Re: Puppet Environments with Hiera

2014-11-06 Thread jcbollinger
On Thursday, November 6, 2014 8:17:28 AM UTC-6, jcbollinger wrote: > > > Hiera is an external data service with special Puppet integration, not an > ENC. > That turns out to be very important, by the way, because a master can have only one ENC configured at a time. Masters that use an ENC do

[Puppet Users] Re: Puppet Environments with Hiera

2014-11-06 Thread jcbollinger
On Wednesday, November 5, 2014 8:48:01 AM UTC-6, Mark Rosedale wrote: > > Sorry I guess I was confused I thought Hiera is an ENC...am I wrong about > that? > > Yes, you are wrong. Hiera is an external data service with special Puppet integration, not an ENC. Hiera can be used to serve *almos

[Puppet Users] Re: Puppet Environments with Hiera

2014-11-05 Thread Mark Rosedale
Sorry I guess I was confused I thought Hiera is an ENC...am I wrong about that? On Wednesday, November 5, 2014 9:28:42 AM UTC-5, jcbollinger wrote: > > > > On Tuesday, November 4, 2014 9:33:06 AM UTC-6, Mark Rosedale wrote: >> >> So I'm setting up puppet environments. This is what I have in my

[Puppet Users] Re: Puppet Environments with Hiera

2014-11-05 Thread jcbollinger
On Tuesday, November 4, 2014 9:33:06 AM UTC-6, Mark Rosedale wrote: > > So I'm setting up puppet environments. This is what I have in my > puppet.conf under the [master] section > environmentpath = $confdir/environments > > > > Now if I set environment inside the puppet.conf it will grab the >

[Puppet Users] Re: Puppet environments vs App environments

2013-08-20 Thread jcbollinger
On Monday, August 19, 2013 9:49:59 AM UTC-5, JeremyCampbell wrote: > > Hi John, > > Thank you for a most well considered response given my level of > understanding. I'd much appreciate an example of a system sliced along 2 or > more different dimensions that need to be flattened into one, this

[Puppet Users] Re: Puppet environments vs App environments

2013-08-19 Thread JeremyCampbell
Hi John, Thank you for a most well considered response given my level of understanding. I'd much appreciate an example of a system sliced along 2 or more different dimensions that need to be flattened into one, this is the only part not clear to me. Regards, Jeremy. On Monday, August 19, 201

[Puppet Users] Re: Puppet environments vs App environments

2013-08-19 Thread jcbollinger
On Monday, August 19, 2013 1:59:46 AM UTC-5, JeremyCampbell wrote: > > I've setup dynamic environments using git but I'm confused about how > environments are actually supposed to be used. We're a small ISP and have > freeradius servers, VPN servers and web servers. I've been using > environme

[Puppet Users] Re: puppet environments not working

2013-07-31 Thread me 1
Does anyone know how I can troubleshoot this? surely someone's seen this before? On Monday, July 29, 2013 3:34:39 PM UTC-4, me 1 wrote: > > I have a surprising problem with environments not working, i'm using rhel > 6.3 with puppet-3.2.3-1.el6.noarch and here is the puppet.conf on the > mas