Does anyone know where I can get the latest puppet, 2.7.1 as RPM''s? The spec file that comes with the puppet 2.7.1 source is broken again, and only version 0.25.5 seems to be available via EPEL, which means that the website''s assertion that you can get puppet as an RPM from there is somewhat untrue. Douglas. -- 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.
There are very few changes I''ve had to make to the one provided by puppet. Here''s a diff for version 2.6.9...all you have to do is change the Version number. I added ruby-shadow cause I have had problems in 5.6 with the "dist" variable not being set. --- puppet.spec.orig 2011-07-16 12:51:01.000000000 -0500 +++ puppet.spec 2011-07-18 13:26:42.000000000 -0500 @@ -5,7 +5,7 @@ %global confdir conf/redhat Name: puppet -Version: 2.6.0 +Version: 2.6.9 Release: 1%{?dist} Summary: A network tool for managing many disparate systems License: Apache 2.0 @@ -25,6 +25,8 @@ Requires: ruby(abi) = 1.8 Requires: ruby-shadow %endif +Requires: ruby-shadow + # Pull in ruby selinux bindings where available %if 0%{?fedora} >= 12 || 0%{?rhel} >= 6 @@ -130,7 +135,7 @@ %files %defattr(-, root, root, 0755) -%doc CHANGELOG COPYING LICENSE README README.queueing examples +%doc CHANGELOG README.md %{_bindir}/pi %{_bindir}/puppet %{_bindir}/ralsh @@ -163,6 +169,7 @@ %{_mandir}/man8/puppetd.8.gz %{_mandir}/man8/ralsh.8.gz %{_mandir}/man8/puppetdoc.8.gz +#%{_mandir}/man8/puppet-* %files server %defattr(-, root, root, 0755) ----------------------- I''m submitting to EPEL my RPMs for both 2.6.9 and 2.7.1 in CentOS 5 and 6. If you have problems with that spec still let me know and I can upload the RPMs to my blog - Trey On Jul 27, 12:16 am, Douglas Garstang <doug.garst...@gmail.com> wrote:> Does anyone know where I can get the latest puppet, 2.7.1 as RPM''s? > > The spec file that comes with the puppet 2.7.1 source is broken again, and > only version 0.25.5 seems to be available via EPEL, which means that the > website''s assertion that you can get puppet as an RPM from there is somewhat > untrue. > > Douglas.-- 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.
Douglas Garstang wrote:> Does anyone know where I can get the latest puppet, 2.7.1 as RPM''s? > > The spec file that comes with the puppet 2.7.1 source is broken > again, and only version 0.25.5 seems to be available via EPEL, which > means that the website''s assertion that you can get puppet as an RPM > from there is somewhat untrue.FWIW, 2.6.6 is in epel-testing (and has been for a while). We''re not likely to jump on 2.7.x in EPEL for a while, as it brings several incompatible changes and still is early in it''s life, so it has some issues that need shaken out. -- Todd OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Damn you vile woman, you''ve impeded my work since the day I escaped your vile womb! -- Stewie Griffin
treydock wrote:> Here''s a diff for version 2.6.9...all you have to do is change the > Version number. I added ruby-shadow cause I have had problems in 5.6 > with the "dist" variable not being set.If you''re building packages and not using mock (which you should definitely check out, if you aren''t), you want to pass in a few variables to ensure that the BuildRequire''s and other features are taken care of properly. Something like this should do: rpm --define ''dist .el5'' --define ''rhel 5'' -ba puppet.spec Replace/modify dist and rhel as appropriate, though note that you still want to use rhel on CentOS and other EL rebuilds. -- Todd OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ It is impossible to enjoy idling thoroughly unless one has plenty of work to do. -- Jerome K. Jerome
I built some last week on http://stahnma.fedorapeople.org/puppetlabs . That might help. On Wed, Jul 27, 2011 at 7:55 AM, Todd Zullinger <tmz@pobox.com> wrote:> treydock wrote: >> Here''s a diff for version 2.6.9...all you have to do is change the >> Version number. I added ruby-shadow cause I have had problems in 5.6 >> with the "dist" variable not being set. > > If you''re building packages and not using mock (which you should > definitely check out, if you aren''t), you want to pass in a few > variables to ensure that the BuildRequire''s and other features are > taken care of properly. > > Something like this should do: > > rpm --define ''dist .el5'' --define ''rhel 5'' -ba puppet.spec > > Replace/modify dist and rhel as appropriate, though note that you > still want to use rhel on CentOS and other EL rebuilds. > > -- > Todd OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > It is impossible to enjoy idling thoroughly unless one has plenty of > work to do. > -- Jerome K. Jerome > >-- 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.