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-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.
On Mon, May 10, 2010 at 8:50 AM, Gabriel - IP Guys < Gabriel@impactteachers.com> wrote:> 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. > > We need a bit more information. What does your sudo class look like, forexample. Is your node in some sort of node.pp file and inherits from default, so some such? Cheers-- Charles -- 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.
>> 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.Have you signed the certificates for the client yet? as root: # puppetca --list Perhaps if that''s not it, paste the output of a puppetd --no-daemonize --debug run to show what happens when it talks to the server. There could perhaps be an error in your configuration files? --Michael -- 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.
-----Original Message----- From: puppet-users@googlegroups.com [mailto:puppet-users@googlegroups.com] On Behalf Of Michael DeHaan Sent: 10 May 2010 20:25 To: puppet-users@googlegroups.com Subject: Re: [Puppet Users] Setting up a Xen instance>> Now, if I understand puppet correctly, if these entries are insite.pp,>> then each client that connects will install sudo, ssh client andserver,>> and nano text editor, and any node that inherits xenboxen, will also >> install xen.Have you signed the certificates for the client yet? as root: # puppetca --list Perhaps if that''s not it, paste the output of a puppetd --no-daemonize --debug run to show what happens when it talks to the server. It''s signed already. Basic test file appears in the tmp dir of the client? I''m going to reexamine my config files, I''ll post them to a pastebin, and link them back here when I get to the office. 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-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.