Hello,
I''m running puppet 0.22.4 on redhat linux mainly. I have a large number
of hosts and after reading the documentation, I concluded the following;
It would be easier to manage all nodes by creating a class called common
which in turn imported files from common/*.pp, and one class for server,
which inherits common, and in turn imports files from servers/*.pp (and
then a class called workstation which inherits common, and one called
webserver which inherits server, etc etc etc).
With this in mind, it would be very easy to add a new node. Just include
server or whatever and a whole set of rules would apply. If you wanted
to add something to be done on all servers, just drop a new pp-file into
the server-directory and the next time the clients made their run, it
would get done.
However, when I tried it, nothing happens.
puppetd --server foo -v
notice: Starting Puppet client version 0.22.4
info: Caching configuration at /var/lib/puppet/localconfig.yaml
notice: Starting configuration run
notice: Finished configuration run in 0.05 seconds
the client configuration is;
node andromeda {
include "server"
}
The server directive looks like this;
class server inherits common {
import "server/*.pp"
}
I''ve tried running "puppet -v server.pp" from the command
line,
but it gives me no output.
What could I do to debug this? Or is my logic at fault here?
//Andreas
--
CES 1984 - "The Lorraine''s graphics are a whole step ahead of any
personal computer now on the market. This computer is potentially powerful
enough to make an IBM-PC look like a four-function calculator."