Hi,

On Mar 27, 2013, at 2:32 AM, iamauser <[email protected]> wrote:

> Thanks Pete and Martin. Follow up question.
> 
> Let's assume I have 3 nodes (A,B,C), and all of them have some class 
> definitions in site.pp, and now, I just want to test my ENC based class 
> definitions for only node-A. I have 'node-A.yaml' that has the extra class 
> definitions. Should this be enough or I need to put empty class definitions 
> for node-B and node-C in the 'yaml' format in order for puppet to work 
> properly ?

There is no need for extra yaml files as long as the ENC does not throw an 
error.
YOu can test it by running your enc manually and use a non existing node as 
parameter.
If your enc does provide empty yaml only as output then you are fine.


> 
> I could try and learn, but don't want to break the active cluster (bad prior 
> experience).
> 
> ----
> 
> 
> 
> 
> 
> 
> On Tuesday, March 26, 2013 6:37:39 PM UTC-5, Pete wrote:
> On 27 March 2013 01:02, Martin Alfke <[email protected]> wrote:
> Hi.
> On 26.03.2013, at 15:44, iamauser wrote:
> 
>> Hello,
>> 
>> Is it possible to configure an ENC to provide class definition to a number 
>> of nodes at the same time where a few other nodes are controlled in the 
>> site.pp by node 'FQDN' {blah}  for the same puppetmaster ? 
> 
> ENC and site.pp do not replace each other.
> You can use them in parallel at the same time.
> 
> Please note that you even may have one node in both (ENC and site.pp).
> Puppet will merge all classes and parameters.
> 
> It also seems that if you put some nodes in site.pp et al you need a 
> definition for all of them.
> You can get around having to put an entry in for all of your nodes by putting 
> in an empty default node.
> 
>  
> 
>> 
>> I am wondering once parameters are set for the master to look for an ENC 
>> based definitions, will it conflict with the site.pp node definitions ? 
>> For example these two basic parameters for ENC :
>> 
>> node_terminus = exec
>> external_nodes = /usr/local/bin/enclassifier
>> 
>> Thanks for any suggestion.
>> 
>> ------
>> 
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Puppet Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected].
>> To post to this group, send email to [email protected].
>> Visit this group at http://groups.google.com/group/puppet-users?hl=en.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>  
>>  
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Puppet Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/puppet-users?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>  
>  
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Puppet Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/puppet-users?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>  
>  

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to