Hi Simon, Puppet only has a concept of 'things I need to do'. What I mean is that removing config from a node does not undo what has been previously configured. You need to explicitly do that yourself with ensure => absent, etc on the configured resources.
Cheers, Jeff On May 15, 2013 7:54 AM, "Simon Flash" <[email protected]> wrote: > Hello, > > First of, I am kinda new to puppet and still in the learning-part. To my > problem: I have a site.pp which contains the following part: > > node 'linuxnod10.rosi.local' { include nrpe include nodes_script } > node 'linuxnod1.rosi.local' { include nrpe include nodes_script } > node 'linuxnod2.rosi.local' { include nrpe include nodes_script } > node 'linuxnod3.rosi.local' { include nrpe include nodes_script } > node 'linuxnod4.rosi.local' { include nrpe include nodes_script } > node 'linuxnod5.rosi.local' { include nrpe include nodes_script } > node 'linuxnod6.rosi.local' { include nrpe include nodes_script } > node 'linuxnod7.rosi.local' { include nrpe include nodes_script } > node 'linuxnod8.rosi.local' { include nrpe include nodes_script } > node 'linuxnod9.rosi.local' { include nrpe include nodes_script } > > All works well for linuxnod1-10, (and yes, I know I can do a regex, don't > ask me why I haven't done one). > > The problem is that linuxnod11.rosi.local runs the nrpe and nodes_script > too! I don't want that to happened. > linuxnod11.rosi.local have run those modules before, is it cached somehow > after that? If so, can I disable it? Any disadvantage of disabling? Or why > is linuxnod11.rosi.local also run it? > > Thanks in advance, > Simon > > -- > 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.
