Hi all, I have a number of things I have set myself to do, in order to
familiarize myself with puppet, and the whole way of working with it to
manage Linux boxes.

My first task is to configure a centos box via puppet to install xen.

As a sentence, it sounds simple, and I could do that intoxicated, but
I'm trying to figure out how to write a puppet recipe for it. After a
few minutes thought, I realized that I have to create a default config,
that has all the basics that I need on my Linux servers. This has turned
out to be something like this;

node default {
  include sudo
  include ssh::client
  include ssh::server
  include nano
}

Which is great I think it covers the basics, (any comments are
welcomed!) Now, I realize, that I have to figure out what is different
from a default linux node, and a xen box. So far, I got the following;

node xenboxen inherits default {
  include xen
}

Now, if I understand puppet correctly, if these entries are in site.pp,
then each client that connects will install sudo, ssh client and server,
and nano text editor, and any node that inherits xenboxen, will also
install xen.

These entries, *are* both in my site.pp yet nothing gets installed! My
test client connects to puppet, and updates nothing. I know I've made an
error somewhere, and I'm attempting to track it down, but any assistance
is appreciated.


More info about what I'm doing realating to this post is available on my
blog, and those of your on twitter, join the movement! Info in
signature.

The Puppet Apprentice   :- http://puppetnewbie.blogspot.com/
Follow me on twitter    :- http://twitter.com/mritguru 
Puppet #tag on twitter  :- #puppet
IRC                             :- itguru @ irc.freenode.org (feel free
to say hi!)

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to