Re: [Puppet Users] Issues switching over to using environments

2011-10-12 Thread Aaron Grewell
>>> >>> /etc/puppet/prod/modules/$module_name/files/generic_node/etc/ssh/sshd_config >>> >> >>> >> With the source lines looking like: >>> >> puppet://lou1/modules/$module_name/generic_node/etc/ssh/sshd_config >>> >> >>

Re: [Puppet Users] Issues switching over to using environments

2011-10-11 Thread Gonzalo Servat
e of the module, then you'd >> >> have the layout as >> >> >> >> /etc/puppet/prod/modules/generic_node/files/etc/ssh/sshd_config >> >> >> >> and the source line as >> >> >> >> puppet://lou1/module

Re: [Puppet Users] Issues switching over to using environments

2011-10-11 Thread Dan White
ted 'generic_node' to be the name of the module, then you'd > >> have the layout as > >> > >> /etc/puppet/prod/modules/generic_node/files/etc/ssh/sshd_config > >> > >> and the source line as > >> > >> puppet://lou1/module

Re: [Puppet Users] Issues switching over to using environments

2011-10-11 Thread Gonzalo Servat
; -- > >> Jacob Helwig > >> > >> On Tue, 11 Oct 2011 15:26:16 -0400, Deven Phillips wrote: > >>> Date: Tue, 11 Oct 2011 15:26:16 -0400 > >>> From: Deven Phillips > >>> To: puppet-users@googlegroups.com > >>> Subject: Re: [Pu

Re: [Puppet Users] Issues switching over to using environments

2011-10-11 Thread Deven Phillips
gt;> >>  puppet://lou1/modules/generic_node/etc/ssh/sshd_config >> >> -- >> Jacob Helwig >> >> On Tue, 11 Oct 2011 15:26:16 -0400, Deven Phillips wrote: >>> Date: Tue, 11 Oct 2011 15:26:16 -0400 >>> From: Deven Phillips >>&g

Re: [Puppet Users] Issues switching over to using environments

2011-10-11 Thread Deven Phillips
ig > > and the source line as > >  puppet://lou1/modules/generic_node/etc/ssh/sshd_config > > -- > Jacob Helwig > > On Tue, 11 Oct 2011 15:26:16 -0400, Deven Phillips wrote: >> Date: Tue, 11 Oct 2011 15:26:16 -0400 >> From: Deven Phillips >> To: puppet-user

Re: [Puppet Users] Issues switching over to using environments

2011-10-11 Thread Jacob Helwig
26:16 -0400 > From: Deven Phillips > To: puppet-users@googlegroups.com > Subject: Re: [Puppet Users] Issues switching over to using environments > Message-ID: > > > The manifest which calls this looks like: > > file {"/etc/ssh/sshd_config": >

Re: [Puppet Users] Issues switching over to using environments

2011-10-11 Thread Deven Phillips
The manifest which calls this looks like: file {"/etc/ssh/sshd_config": owner => "root", group => "root", mode=> "0644", ensure => "present", source => "puppet://lou1/modules/files/generic_node/etc/ss

Re: [Puppet Users] Issues switching over to using environments

2011-10-11 Thread Deven Phillips
Nope, that didn't seem to help the way I tried it... So, here's my layout: /etc/puppet/                  prod/                         modules/                                      files/                                             generic_node/                                                    

Re: [Puppet Users] Issues switching over to using environments

2011-10-11 Thread Craig White
On Oct 11, 2011, at 10:30 AM, Deven Phillips wrote: > Hello all, > > I have been searching through the list archives, but I have yet to find > an answer to my question. The problem I am having is this: > > 1. I have been using puppet without environments for some time now and it > works p

Re: [Puppet Users] Issues switching over to using environments

2011-10-11 Thread Craig White
Did you restart the 'service' (web server) ? If you make changes to the puppetmaster, you undoubtedly have to restart the service (webrick or mongrel) or apache/nginx (if passenger) Craig On Oct 11, 2011, at 11:13 AM, Deven Phillips wrote: > Adrien, > >I did double check, and the director

Re: [Puppet Users] Issues switching over to using environments

2011-10-11 Thread Adrien Thebo
One thing I've noticed is that you've typo'd your templatedir for production, it's $confidr. Are there any useful errors in the puppet master logs? And just for a lark, could you run puppet agent -tv --environment=production on one of your nodes? On Tue, Oct 11, 2011 at 11:13 AM, Deven Phillips w

Re: [Puppet Users] Issues switching over to using environments

2011-10-11 Thread Deven Phillips
Adrien, I did double check, and the directories do exist. I am running purely against production right now as I have yet to configure any of my agents to use a different environment. Deven On 10/11/2011 02:08 PM, Adrien Thebo wrote: When I've run into this error, it was due to the envir

Re: [Puppet Users] Issues switching over to using environments

2011-10-11 Thread Adrien Thebo
When I've run into this error, it was due to the environment manifestdir/modulepath/templatedir not being set correctly or not existing. Are you certain that those directories exist? What environment is demonstrating this? On Tue, Oct 11, 2011 at 10:30 AM, Deven Phillips wrote: > Hello all, >    

[Puppet Users] Issues switching over to using environments

2011-10-11 Thread Deven Phillips
Hello all, I have been searching through the list archives, but I have yet to find an answer to my question. The problem I am having is this: 1. I have been using puppet without environments for some time now and it works properly 2. I am trying to reconfigure to use environments, and I am ge