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

2011-10-12 Thread Aaron Grewell
Oct 2011 15:26:16 -0400 From: Deven Phillips deven.phill...@gmail.com To: puppet-users@googlegroups.com Subject: Re: [Puppet Users] Issues switching over to using environments Message-ID: cajw+4nd2kwpgc5-mre1k23of_ym9equbaa+09xmukzkou-o...@mail.gmail.com The manifest which calls

[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

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 deven.phill...@gmail.com

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

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

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

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

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 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/ssh/sshd_config,

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

2011-10-11 Thread Jacob Helwig
: Deven Phillips deven.phill...@gmail.com To: puppet-users@googlegroups.com Subject: Re: [Puppet Users] Issues switching over to using environments Message-ID: cajw+4nd2kwpgc5-mre1k23of_ym9equbaa+09xmukzkou-o...@mail.gmail.com The manifest which calls this looks like: file {/etc/ssh

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

2011-10-11 Thread Deven Phillips
/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 deven.phill...@gmail.com To: puppet-users@googlegroups.com Subject: Re: [Puppet Users] Issues switching over to using

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

2011-10-11 Thread Deven Phillips
:16 -0400, Deven Phillips wrote: Date: Tue, 11 Oct 2011 15:26:16 -0400 From: Deven Phillips deven.phill...@gmail.com To: puppet-users@googlegroups.com Subject: Re: [Puppet Users] Issues switching over to using environments Message-ID: cajw+4nd2kwpgc5-mre1k23of_ym9equbaa+09xmukzkou-o

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

2011-10-11 Thread Gonzalo Servat
Users] Issues switching over to using environments Message-ID: cajw+4nd2kwpgc5-mre1k23of_ym9equbaa+09xmukzkou-o...@mail.gmail.com The manifest which calls this looks like: file {/etc/ssh/sshd_config: owner = root, group = root

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

2011-10-11 Thread Dan White
-- 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 deven.phill...@gmail.com To: puppet-users@googlegroups.com Subject: Re: [Puppet Users] Issues switching over to using environments Message-ID: cajw

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

2011-10-11 Thread Gonzalo Servat
Subject: Re: [Puppet Users] Issues switching over to using environments Message-ID: cajw+4nd2kwpgc5-mre1k23of_ym9equbaa+09xmukzkou-o...@mail.gmail.com The manifest which calls this looks like: file {/etc/ssh/sshd_config: owner = root