Hi list.
I'm trying to set up master/client environment, but I'm having problems...
Here is my configuration so far:
# find /etc/puppet/manifests/
/etc/puppet/manifests/
/etc/puppet/manifests/site.pp
/etc/puppet/manifests/nodes.pp
/etc/puppet/manifests/classes
/etc/puppet/manifests/classes/testfile.pp
# cat nodes.pp
import "classes/*"
node basenode {
include testfile
}
node 'puppet-client.example.com' inherits basenode {
}
# cat site.pp
import "nodes"
# The filebucket option allows for file backups to the server
# *Note this is not working but appears to be required
filebucket { main: server => 'puppet-server.srce.hr' }
# 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" }
# cat classes/testfile.pp
class testfileclass {
file { "/tmp/testfile":
ensure => present,
mode => 600,
owner => root,
group => root,
}
file { "/tmp/testfile2":
ensure => present,
mode => 644,
owner => root,
group => root,
}
}
puppetmasterd is running, puppet client connects, log says:
Thu Aug 18 15:11:02 +0200 2011 Puppet (notice): Finished catalog run in
0.03 seconds
Thu Aug 18 15:12:05 +0200 2011 Puppet (notice): Finished catalog run in
0.03 seconds
Thu Aug 18 15:13:08 +0200 2011 Puppet (notice): Finished catalog run in
0.04 seconds
When I try to kick client from the master, nothing happens. There is no
/tmp/testfile nor /tmp/testfile2....
I searched the tutorials, howtos but cannot find the reason for this
kinda of behaviour :(
Any ideas in which direction to look for?
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.