Gabriel - IP Guys
2010-May-11 16:34 UTC
[Puppet Users] RE: Setting up a Xen instance - SOLVED
I decided to simplify every that I was doing. I noticed that I had begun
to overthink things, and I decided that KISS, is still the best way to
go.
This has turned out to be something like this;
***
File xenmaster.testdomain.com.pp
node xenmaster.testdomain.com {
include xen
}
Where xen has been defined as a class in
File testdomain.classes.pp
class xen {
package { xen: ensure => installed }
service { "xen":
ensure => running,
require => Package["xen"],
}
***
I am pretty pleased with the outcome, even though it looks so basic, I
can now roll out xen to any box under my command, with this entry,
"include xen" -- Seeing as I use virt-manager, to manage my
VM''s under
xen, I have no need to do automated provisioning, yet. I have the class
I can include/inherit in another class to do automatic provisioning.
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 ON 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-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.
