Hi, So I was quietly cursing the Puppet DSL for making otherwise simple things difficult, such as merging two arrays [1], and I was even starting to wonder if I should look at alternatives like Chef more closely. But then I had an idea - maybe someone has written a Ruby DSL like Chef''s which plugs into Puppet, so I googled. And yes, it''s an official part of 2.5.x series! Thank you (I hope). But I can only find a tantalising hint in the release notes and a blog post explaining only the very basics. [2] Two questions: - is there any more info anywhere, or anything in the pipeline? - will it work with older clients? If it won''t work with older clients, this is a problem, because 2.6.x isn''t available very widely in official repositories yet and I will need to investigate other ways to deploy it [3] Although reading the release notes page [4], it looks like I can''t rely on cross-version interoperability at all, so it''s starting to look like I''m going to have to deploy from source to get the same version everywhere :( Cheers, N 1. I gather it''s possible but only with effort: http://weblog.etherized.com/posts/175 2. http://www.puppetlabs.com/blog/ruby-dsl/ 3. Puppet packages available: Debian Lenny has v24.5; Ubuntu Lucid has v25.4; RHEL/CentOS 5 has nothing at all in base, and only v22.4 in RPMForge Nothing better here, either: http://projects.puppetlabs.com/projects/puppet/wiki/Downloading_Puppet#downloading-puppet 4. From http://projects.puppetlabs.com/projects/puppet/wiki/Release_Notes:> It is also important to note when upgrading that not all versions are > backwards compatible. Newer clients may not work with older servers and > vice-versa. Where possible backwards-compatibility is maintained but it’s not > always totally successful. The best approach is to ensure your master and > clients are the same version.-- 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.
> Although reading the release notes page [4], it looks like I can''t rely on > cross-version interoperability at all, so it''s starting to look like I''m going > to have to deploy from source to get the same version everywhere :(Or you might want to build your own packages and deploy them. Which is a much better idea than deploying from source. ~pete -- 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, Nov 22, 2010 at 3:15 AM, Nick <oinksocket@letterboxes.org> wrote:> Hi, > > So I was quietly cursing the Puppet DSL for making otherwise simple things > difficult, such as merging two arrays [1], and I was even starting to wonder if > I should look at alternatives like Chef more closely. > > But then I had an idea - maybe someone has written a Ruby DSL like Chef''s which > plugs into Puppet, so I googled. > > And yes, it''s an official part of 2.5.x series! Thank you (I hope). But I can > only find a tantalising hint in the release notes and a blog post explaining > only the very basics. [2] > > Two questions: > > - is there any more info anywhere, or anything in the pipeline? > - will it work with older clients? > > > If it won''t work with older clients, this is a problem, because 2.6.x isn''t > available very widely in official repositories yet and I will need to > investigate other ways to deploy it [3] > > Although reading the release notes page [4], it looks like I can''t rely on > cross-version interoperability at all, so it''s starting to look like I''m going > to have to deploy from source to get the same version everywhere :( > > Cheers, > > N > > > 1. I gather it''s possible but only with effort: > http://weblog.etherized.com/posts/175 > > 2. http://www.puppetlabs.com/blog/ruby-dsl/ > > > 3. Puppet packages available: > Debian Lenny has v24.5; > Ubuntu Lucid has v25.4; > RHEL/CentOS 5 has nothing at all in base, and only v22.4 in RPMForgeHave a look at our sid and squeeze packages: http://packages.debian.org/search?keywords=puppet Are those your three target platforms? Debian Lenny, Ubuntu Lucid and RHEL/CentOS 5 ?> > Nothing better here, either: > http://projects.puppetlabs.com/projects/puppet/wiki/Downloading_Puppet#downloading-puppet > > > 4. From http://projects.puppetlabs.com/projects/puppet/wiki/Release_Notes: >> It is also important to note when upgrading that not all versions are >> backwards compatible. Newer clients may not work with older servers and >> vice-versa. Where possible backwards-compatibility is maintained but it’s not >> always totally successful. The best approach is to ensure your master and >> clients are the same version. > > -- > 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. > >-- Nigel Kersten - Puppet Labs - http://www.puppetlabs.com -- 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.
Nick wrote:> RHEL/CentOS 5 has nothing at all in base, and only v22.4 in RPMForgeYou want to use EPEL for puppet in RHEL/CentOS, as the RPMForge packages are way out of date. That said, we''ve stuck with 0.25.5 for now in EPEL. But I have 2.6.x builds in my own repository to aid in testing on RHEL/CentOS. Ideally, that will help early adopters shake out any remaining bugs/regressions in 2.6.x and clear the way for us to make a seemless update in EPEL before too long. Please yell if you find nasty surprises upon updating to the 2.6.x packages at: http://tmz.fedorapeople.org/repo/puppet/ -- Todd OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ I need not suffer in silence while I can still moan, whimper, and complain.
On 22/11/10 15:22, Nigel Kersten wrote:> Are those your three target platforms? Debian Lenny, Ubuntu Lucid and > RHEL/CentOS 5 ?Approximately. I''m evaluating Puppet personally, using my own machines, which are either Debian or Ubuntu. I have a Debian Etch machine I want to replace with a Debian Sid machine, but using Puppet. I am using an Ubuntu Lucid desktop machine as the puppetmaster. However, I''ve a customer in mind who I potentially want to suggest Puppet to. They use a variety of servers, including CentOS5, RHEL5, FC4, FreeBSD 6 (and even FC3 and RHEL3 servers, but they''re on the way out). The FC4 servers are also slated to go, if we can get CentOS5 in place to replace them. So the important platforms for them are CentOS5, RHEL5 and FreeBSD. N -- 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.
Nick wrote:> - is there any more info anywhere, or anything in the pipeline? > - will it work with older clients?There isn''t really a huge amount more information - it''s a pretty new feature. We''d love to see some modules, examples, more feedback. It should work fine with older clients.> > > If it won''t work with older clients, this is a problem, because 2.6.x isn''t > available very widely in official repositories yet and I will need to > investigate other ways to deploy it [3]See other answers. :)> > Although reading the release notes page [4], it looks like I can''t rely on > cross-version interoperability at all, so it''s starting to look like I''m going > to have to deploy from source to get the same version everywhere :(This isn''t quite true - that''s a warning generally and a recommended best practice. Puppet is generally compatible between versions assuming the Puppet master is the latest version. We have people with 2.6.x masters running 0.24.5+, 0.25.x, and 2.6.x clients fine. Regards James Turnbull -- Puppet Labs - http://www.puppetlabs.com C: 503-734-8571 -- 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 Nov 22, 2010, at 10:21 AM, James Turnbull wrote:>> Although reading the release notes page [4], it looks like I can''t rely on >> cross-version interoperability at all, so it''s starting to look like I''m going >> to have to deploy from source to get the same version everywhere :( > > This isn''t quite true - that''s a warning generally and a recommended > best practice. Puppet is generally compatible between versions assuming > the Puppet master is the latest version. We have people with 2.6.x > masters running 0.24.5+, 0.25.x, and 2.6.x clients fine.Just a quick warning, I''ve found that 2.6.0 is too buggy to be useful, but anything higher worked well for me. -- 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.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1> Just a quick warning, I''ve found that 2.6.0 is too buggy to be useful, but anything higher worked well for me.you should always use the latest minor version of a major version. ~pete -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkzq+zAACgkQbwltcAfKi3/I4QCgmZQ267VHnnx6MO5VgtYhqFiC UQwAn1cpwqEEtyTkd8XNGEpTZc+/EivW =x1l5 -----END PGP SIGNATURE----- -- 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 Nov 22, 10:51 am, Patrick <kc7...@gmail.com> wrote:> Just a quick warning, I''ve found that 2.6.0 is too buggy to be useful, but anything higher worked well for me.Yes, I''d say the 2.6 branch is looking pretty good. I''ve been on 2.6.2 + some HEAD patches in production with no real issues. Haven''t looked at 2.6.3 yet, but I expect that''s going to be good as well. -- 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.
>> Just a quick warning, I''ve found that 2.6.0 is too buggy to be useful, but anything higher worked well for me. > > Yes, I''d say the 2.6 branch is looking pretty good. I''ve been on 2.6.2 > + some HEAD patches in production with no real issues. Haven''t looked > at 2.6.3 yet, but I expect that''s going to be good as well.I was using all rc''s of 2.6.3 and now I''m on 2.6.3 and it''s working like a charm. So I can only recommend everybody to go on 2.6.3. ~pete -- 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.