Running puppet 2.6.12 (that''s what installs from EPEL/yum) on a CentOS
5.7 virtual machine as a puppet sandbox/testing ground and it won''t
apply any of the manifest:
What am I missing ?
-----site.pp-----------
# Set global defaults - including backing up all files to the main filebucket
and adds a global path
File { backup => main }
Exec { path => "/usr/bin:/usr/sbin/:/bin:/sbin" }
-----------------------
import "modules"
import "nodes/*.pp"cand nodes just has nodes.pp:
-----nodes.pp----------
node basenode {
# These are parameterized classes and need to be "import"-ed rather
than "include"-d
# They also need to be instantiated somewhere below
# Please keep in alphabetical order to improve maintainability
import ''common''
import ''dnsclient''
import ''ssh''
# These are non-parameterized classes and need to be "include"-d
# They are instantiated by "include"-ing them
# Please keep in alphabetical order to improve maintainability
include ''badperms''
include ''bootup''
include ''homeperms''
include ''toggledservices''
include ''iptables''
include ''password''
include ''securetty''
include ''ssl''
include ''sudo''
include ''tcpsyncookie''
include ''tripwire''
include ''umask''
include ''users''
}
node internal_server inherits basenode {
class { ''dnsclient'':
domainname => ''foo.com'',
searchpath => [ ''foo.com'',
''prod.foo.com'' ],
nameservers => [ ''192.168.1.111'',
''192.168.1.121'', ''192.168.100.111'' ],
}
class { ''toggledservices::ntpd'' : isInternal => true }
}
node dmz_server inherits basenode {
class { ''dnsclient'':
domainname => ''foo.com'',
searchpath => [ ''foo.com'',
''dmz.foo.com'' ],
nameservers => [ ''192.168.222.111'',
''192.168.222.121'' ],
}
class { ''toggledservices::ntpd'' : isInternal => false }
}
# Here''s the default node - make a choice for testing purposes
# node ''default'' inherits dmz_server {
node ''default'' inherits internal_server {
class { ''ssh'' : hba => "no" }
class { ''toggledservices::tftp'' : isEnabled => true }
notice ( "hello boys and girls" )
}
-----------------------
puppet apply --debug --color=false --detailed-exitcodes --modulepath ./modules
./manifests/site.pp
info: Loading facts in unlabeled_device_files
info: Loading facts in certname
debug: Creating default schedules
debug: Failed to load library ''ldap'' for feature
''ldap''
debug: Puppet::Type::User::ProviderLdap: feature ldap is missing
debug: Puppet::Type::User::ProviderDirectoryservice: file /usr/bin/dscl does not
exist
debug: Puppet::Type::User::ProviderPw: file pw does not exist
debug: Puppet::Type::User::ProviderUser_role_add: file roleadd does not exist
debug: Puppet::Type::File::ProviderMicrosoft_windows: feature microsoft_windows
is missing
debug: /File[/var/lib/puppet/facts]: Autorequiring File[/var/lib/puppet]
debug: /File[/var/lib/puppet/ssl/private]: Autorequiring
File[/var/lib/puppet/ssl]
debug: /File[/var/lib/puppet/ssl]: Autorequiring File[/var/lib/puppet]
debug: /File[/var/lib/puppet/state/last_run_summary.yaml]: Autorequiring
File[/var/lib/puppet/state]
debug: /File[/var/lib/puppet/client_yaml]: Autorequiring File[/var/lib/puppet]
debug: /File[/var/lib/puppet/client_data]: Autorequiring File[/var/lib/puppet]
debug: /File[/var/lib/puppet/state/graphs]: Autorequiring
File[/var/lib/puppet/state]
debug: /File[/var/lib/puppet/ssl/public_keys]: Autorequiring
File[/var/lib/puppet/ssl]
debug: /File[/var/lib/puppet/lib]: Autorequiring File[/var/lib/puppet]
debug: /File[/var/lib/puppet/state]: Autorequiring File[/var/lib/puppet]
debug: /File[/var/lib/puppet/clientbucket]: Autorequiring File[/var/lib/puppet]
debug: /File[/var/lib/puppet/ssl/private_keys]: Autorequiring
File[/var/lib/puppet/ssl]
debug: /File[/var/lib/puppet/ssl/certs]: Autorequiring File[/var/lib/puppet/ssl]
debug: /File[/var/lib/puppet/state/state.yaml]: Autorequiring
File[/var/lib/puppet/state]
debug: /File[/var/lib/puppet/ssl/certificate_requests]: Autorequiring
File[/var/lib/puppet/ssl]
debug: Finishing transaction 23989478918600
debug: Loaded state in 0.00 seconds
debug: Loaded state in 0.00 seconds
info: Applying configuration version ''1324696636''
debug: Finishing transaction 23989478017260
debug: Storing state
debug: Stored state in 0.00 seconds
notice: Finished catalog run in 0.01 seconds
--
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+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.