Re: [Puppet Users] functions and environments

2011-07-01 Thread vagn scott
On 06/17/2011 10:52 AM, Nigel Kersten wrote: It's not entirely unreasonable to expect that if module 'foo' is found in one modulepath component, that no other module named 'foo' should come into play, but I think we have some edge cases here. Please feel free to file a feature request around mo

Re: [Puppet Users] functions and environments

2011-06-17 Thread Nigel Kersten
On Thu, Jun 16, 2011 at 1:59 PM, Gabriel Filion wrote: > On 11-06-16 03:47 PM, Nathan Clemons wrote: > > Or what you might want to do is to create a specific common directory > > for code that should be shared, and per-environment directories which > > contain code that should not be shared. If y

Re: [Puppet Users] functions and environments

2011-06-16 Thread Gabriel Filion
On 11-06-16 03:47 PM, Nathan Clemons wrote: > Or what you might want to do is to create a specific common directory > for code that should be shared, and per-environment directories which > contain code that should not be shared. If you find that something > should no longer be common, you then mov

Re: [Puppet Users] functions and environments

2011-06-16 Thread Nathan Clemons
Or what you might want to do is to create a specific common directory for code that should be shared, and per-environment directories which contain code that should not be shared. If you find that something should no longer be common, you then move it into the per-env directories as appropriate. -

Re: [Puppet Users] functions and environments

2011-06-16 Thread Aaron Grewell
If you want your environments to never be able to affect one another then your module paths should not contain any common directories. On Thu, Jun 16, 2011 at 12:33 PM, Gabriel Filion wrote: > I got further into the problem thanks to your help.. but there's > something else now. > > On 11-06-15

Re: [Puppet Users] functions and environments

2011-06-16 Thread Gabriel Filion
I got further into the problem thanks to your help.. but there's something else now. On 11-06-15 12:36 PM, Nigel Kersten wrote: > > Functions get executed master side, so even though they get > delivered to > > the node, they need to be accessible on the master. > > oh, ok.. so I'

Re: [Puppet Users] functions and environments

2011-06-15 Thread Nigel Kersten
On Wed, Jun 15, 2011 at 8:56 AM, Gabriel Filion wrote: > On 11-06-14 04:39 PM, Nigel Kersten wrote: > > On Tue, Jun 14, 2011 at 1:26 PM, Gabriel Filion > > wrote: > > I'm trying to test out new features of a module before I deploy it > and I > > have difficulty

Re: [Puppet Users] functions and environments

2011-06-15 Thread Gabriel Filion
On 11-06-14 04:39 PM, Nigel Kersten wrote: > On Tue, Jun 14, 2011 at 1:26 PM, Gabriel Filion > wrote: > I'm trying to test out new features of a module before I deploy it and I > have difficulty with the functions declared by the module. > > I'm using an envi

Re: [Puppet Users] functions and environments

2011-06-14 Thread Nigel Kersten
On Tue, Jun 14, 2011 at 1:26 PM, Gabriel Filion wrote: > Hello, > > I'm trying to test out new features of a module before I deploy it and I > have difficulty with the functions declared by the module. > > I'm using an enviroment called "development" where I dropped the "new" > module and would l

[Puppet Users] functions and environments

2011-06-14 Thread Gabriel Filion
Hello, I'm trying to test out new features of a module before I deploy it and I have difficulty with the functions declared by the module. I'm using an enviroment called "development" where I dropped the "new" module and would like to test on a node with the following: puppetd --environment=deve