Dear all,

I'm new to puppet, but learning fast and having fun with my new puppet 
project, but, I ran into some issues I'm stuck with now.

Maybe you can advise.

I created a set of configurations for some nodes in my 
/etc/puppet/manifests/site.pp, as follows:

node 'client1', 'client2', 'client3', 'client4', 'client5' {
include preconfig
include selinux
import 'timezone.pp'
include ntp
include oracle_java
import 'nagiosplugins.pp'
import 'nrpe.pp'
import 'cassandra.pp'
include httpd
}

(The imported files are stored in same directory as site.pp)
So far everything works perfectly, all clients will receive the software 
and configuration as defined.

Now I added a client6 to my site.pp as follows:

node 'client6' {
        include selinux
import 'timezone.pp'
include ntp
include oracle_java
import 'nagiosplugins.pp'
import 'nrpe.pp'
}

This causes my puppet client on client6 to act really strange. It looks 
like puppet will ignore the node settings and try to run all configurations 
on client6, even the ones, not specified in the node 'client6' section.

The output on the client is:

[root@client6 ~]# puppet agent --test
info: Loading facts in /var/lib/puppet/lib/facter/service_provider.rb
info: Loading facts in /var/lib/puppet/lib/facter/archive_windir.rb
info: Loading facts in /var/lib/puppet/lib/facter/package_provider.rb
info: Loading facts in /var/lib/puppet/lib/facter/staging_windir.rb
info: Loading facts in /var/lib/puppet/lib/facter/puppet_vardir.rb
info: Loading facts in /var/lib/puppet/lib/facter/apt_updates.rb
info: Loading facts in /var/lib/puppet/lib/facter/apt_reboot_required.rb
info: Loading facts in /var/lib/puppet/lib/facter/ip6tables_version.rb
info: Loading facts in /var/lib/puppet/lib/facter/os_maj_version.rb
info: Loading facts in 
/var/lib/puppet/lib/facter/iptables_persistent_version.rb
info: Loading facts in /var/lib/puppet/lib/facter/pe_version.rb
info: Loading facts in /var/lib/puppet/lib/facter/facter_dot_d.rb
info: Loading facts in /var/lib/puppet/lib/facter/root_home.rb
info: Loading facts in /var/lib/puppet/lib/facter/concat_basedir.rb
info: Loading facts in /var/lib/puppet/lib/facter/staging_http_get.rb
info: Loading facts in /var/lib/puppet/lib/facter/iptables_version.rb
info: Loading facts in /var/lib/puppet/lib/facter/apt_update_last_success.rb
Could not retrieve package_provider: uninitialized constant Gem
Could not retrieve package_provider: uninitialized constant Gem
info: Caching catalog for client6
err: Failed to apply catalog: Invalid parameter ensure at 
/etc/puppet/modules/cassandra/manifests/datastax_repo.pp:27

Thank you very much

Thorsten

-- 
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 puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/2cd4bab1-1171-467b-9673-31910b92ada1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to