Re: [Puppet Users] Re: Node classifier not loading any defined classes

2011-04-11 Thread Felix Frank
On 04/10/2011 11:46 AM, John Warburton wrote:
> On 8 April 2011 19:09, Felix Frank  > wrote:
> 
> > *Parts* of your modules.  You can't have custom resource types or
> custom
> > functions per environment.  And that sucks.
> 
> You can't? Is there a bug for this that I can vote on?
> 
> http://projects.puppetlabs.com/issues/4409

Thrilling read ;)

Voted up - thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



Re: [Puppet Users] Re: Node classifier not loading any defined classes

2011-04-10 Thread John Warburton
On 8 April 2011 19:09, Felix Frank  wrote:

> > *Parts* of your modules.  You can't have custom resource types or custom
> > functions per environment.  And that sucks.
>
> You can't? Is there a bug for this that I can vote on?
>
> http://projects.puppetlabs.com/issues/4409

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



Re: [Puppet Users] Re: Node classifier not loading any defined classes

2011-04-08 Thread Felix Frank
> *Parts* of your modules.  You can't have custom resource types or custom
> functions per environment.  And that sucks.

You can't? Is there a bug for this that I can vote on?

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



Re: [Puppet Users] Re: Node classifier not loading any defined classes

2011-04-08 Thread Thomas Bellman
On 2011-04-07 10:13, Felix Frank wrote:

> looking at
> http://projects.puppetlabs.com/projects/1/wiki/Using_Multiple_Environments,
> I cannot see any indication that those settings are per-environment.

Indeed, the only way to get per-environment external node classifiers
is to have a global wrapper that executes the environment-specific
classifier.  Pretty silly to not support that, IMHO.

> I disbelieve that environments are meant to be independent configuration
> overrides. They merely provide you with the means to have independent
> clones of your manifests and modules.

*Parts* of your modules.  You can't have custom resource types or custom
functions per environment.  And that sucks.


/Bellman

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



Re: [Puppet Users] Re: Node classifier not loading any defined classes

2011-04-07 Thread Felix Frank
On 04/06/2011 09:16 PM, Chad wrote:
> Well I kind of figured it out (though not how I like).
> 
> I had to move these lines
> 
> node_terminus = exec
> external_nodes = /.foo/bin/puppet_node_classifier.sh
> 
> out of my [development] area into my [main] in puppet.conf.
> 
> Once I did that I was able to use the external classifier (though I only
> wanted it in development).

Hi,

looking at
http://projects.puppetlabs.com/projects/1/wiki/Using_Multiple_Environments,
I cannot see any indication that those settings are per-environment.

I disbelieve that environments are meant to be independent configuration
overrides. They merely provide you with the means to have independent
clones of your manifests and modules.

Regards,
Felix

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



[Puppet Users] Re: Node classifier not loading any defined classes

2011-04-06 Thread Chad
Well I kind of figured it out (though not how I like).

I had to move these lines

node_terminus = exec 
external_nodes = /.foo/bin/puppet_node_classifier.sh 

out of my [development] area into my [main] in puppet.conf.

Once I did that I was able to use the external classifier (though I only 
wanted it in development).

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.