I just downloaded puppet 2.6.0 from the web site, and the redhat spec file has the version number as "0.25.5".... So, what version of puppet have I really got here? Doug -- 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 Fri, Jul 30, 2010 at 9:28 AM, Douglas Garstang <doug.garstang@gmail.com> wrote:> I just downloaded puppet 2.6.0 from the web site, and the redhat spec > file has the version number as "0.25.5".... > > So, what version of puppet have I really got here? > > Doug >Actually, I''m also confused as to what version I was _supposed_ to have downloaded, because all the web site says is ''2.6.0''..... is this the final release of 2.6.0 or is it one of the release candidates? Which one, and how do I tell? Why doesn''t the download at least have 2.6.0-rc1 or something in the file name? If this IS NOT one of the release candidates, I don''t see the old release candidates on the web page. Where did they go? Doug -- 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 Fri, Jul 30, 2010 at 9:30 AM, Douglas Garstang <doug.garstang@gmail.com> wrote:> On Fri, Jul 30, 2010 at 9:28 AM, Douglas Garstang > <doug.garstang@gmail.com> wrote: >> I just downloaded puppet 2.6.0 from the web site, and the redhat spec >> file has the version number as "0.25.5".... >> >> So, what version of puppet have I really got here? >> >> Doug >> > > Actually, I''m also confused as to what version I was _supposed_ to > have downloaded, because all the web site says is ''2.6.0''..... is this > the final release of 2.6.0 or is it one of the release candidates? > Which one, and how do I tell? Why doesn''t the download at least have > 2.6.0-rc1 or something in the file name? If this IS NOT one of the > release candidates, I don''t see the old release candidates on the web > page. Where did they go? > > Doug >The spec file for for (whatever version this actually is), doesn''t cleanly build an RPM either. + /usr/lib/rpm/find-debuginfo.sh /usr/src/redhat/BUILD/puppet-2.6.0 find: debug: No such file or directory + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-python-bytecompile + /usr/lib/rpm/redhat/brp-java-repack-jars error: Bad file: /usr/src/redhat/SOURCES/rundir-perms.patch: No such file or directory error: Bad file: /usr/src/redhat/SOURCES/puppet-2.6.0.tar.gz.sign: No such file or directory There''s nothing on the download page about those two files. Where do I get them? I don''t know what the earlier find error is about. Doug. -- 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:> I just downloaded puppet 2.6.0 from the web site, and the redhat spec > file has the version number as "0.25.5".... > > So, what version of puppet have I really got here? > > Doug >So the SPEC file is maintained in ext as a helper/courtesy - it is sometimes not updated until post release. I recommend you download the RPMs that Todd makes available from: http://tmz.fedorapeople.org/repo/puppet/ Or from EPEL when they are updated. 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.
Douglas Garstang wrote:> On Fri, Jul 30, 2010 at 9:28 AM, Douglas Garstang > <doug.garstang@gmail.com> wrote: >> I just downloaded puppet 2.6.0 from the web site, and the redhat spec >> file has the version number as "0.25.5".... >> >> So, what version of puppet have I really got here? >> >> Doug >> > > Actually, I''m also confused as to what version I was _supposed_ to > have downloaded, because all the web site says is ''2.6.0''..... is this > the final release of 2.6.0 or is it one of the release candidates? > Which one, and how do I tell? Why doesn''t the download at least haveSo a release candidate is tagged blah-2.6.0rc1.tar.gz a release is 2.6.0.tar.gz. By dowloading a tarball that is called 2.6.0 - you are getting 2.6.0.> 2.6.0-rc1 or something in the file name? If this IS NOT one of the > release candidates, I don''t see the old release candidates on the web > page. Where did they go?We update the page with the release - we don''t want people to download RCs AFTER the release goes out. 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.
Douglas Garstang wrote:> The spec file for for (whatever version this actually is), doesn''t > cleanly build an RPM either. > > + /usr/lib/rpm/find-debuginfo.sh /usr/src/redhat/BUILD/puppet-2.6.0 > find: debug: No such file or directory > + /usr/lib/rpm/redhat/brp-compress > + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip > + /usr/lib/rpm/redhat/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump > + /usr/lib/rpm/brp-python-bytecompile > + /usr/lib/rpm/redhat/brp-java-repack-jars > error: Bad file: /usr/src/redhat/SOURCES/rundir-perms.patch: No such > file or directory > error: Bad file: /usr/src/redhat/SOURCES/puppet-2.6.0.tar.gz.sign: No > such file or directoryAs I said before - spec file may not be up to date. But you can find the signature on that webpage where it says: Puppet tarball signature. http://puppetlabs.com/downloads/puppet/puppet-2.6.0.tar.gz.sign 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.
Douglas Garstang wrote:> The spec file for for (whatever version this actually is), doesn''t > cleanly build an RPM either. > > + /usr/lib/rpm/find-debuginfo.sh /usr/src/redhat/BUILD/puppet-2.6.0 > find: debug: No such file or directory > + /usr/lib/rpm/redhat/brp-compress > + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip > + /usr/lib/rpm/redhat/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump > + /usr/lib/rpm/brp-python-bytecompile > + /usr/lib/rpm/redhat/brp-java-repack-jars > error: Bad file: /usr/src/redhat/SOURCES/rundir-perms.patch: No such > file or directory > error: Bad file: /usr/src/redhat/SOURCES/puppet-2.6.0.tar.gz.sign: No > such file or directory > > There''s nothing on the download page about those two files. Where do I > get them? I don''t know what the earlier find error is about.Any reason to not use the packages from: http://tmz.fedorapeople.org/repo/puppet/epel/ The spec file included in the tarballs is not automatically synced up with each relesae, it''s there simply as a convenience for folks that don''t want to have to rewrite it from scratch. Personally, until 2.6.x is beat on a little more, we probably won''t push it into EPEL. But until then, I plan to update my fedorapeople repo with the latest releases and release candidates. You could grab the yum repo file from there and then install puppet-2.6.0 explicitly if you don''t want to run 2.6.1rc1. Or, grab the srpm and rebuild it if you like. You''ll need to pass in some definitions that the Fedora/EPEL build system uses. rpmbuild --rebuild --define ''dist .el5'' --define ''rhel 5'' \ --define ''el5 1'' /path/to/puppet*.src.rpm You can pass some options to disable augeas and selinux if you like as well. Also, from the /usr/src/redhat paths in your output, it looks like you''re building as root. That''s generally not a good idea. If you''re on RHEL/CentOS, install rpmdevtools and run rpmdev-setuptree to setup a local user account for building. -- Todd OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Marriages are made in heaven. But so are thunder, lightning, and hail.
On Fri, Jul 30, 2010 at 2:56 PM, Todd Zullinger <tmz@pobox.com> wrote:> Douglas Garstang wrote: >> The spec file for for (whatever version this actually is), doesn''t >> cleanly build an RPM either. >> >> + /usr/lib/rpm/find-debuginfo.sh /usr/src/redhat/BUILD/puppet-2.6.0 >> find: debug: No such file or directory >> + /usr/lib/rpm/redhat/brp-compress >> + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip >> + /usr/lib/rpm/redhat/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump >> + /usr/lib/rpm/brp-python-bytecompile >> + /usr/lib/rpm/redhat/brp-java-repack-jars >> error: Bad file: /usr/src/redhat/SOURCES/rundir-perms.patch: No such >> file or directory >> error: Bad file: /usr/src/redhat/SOURCES/puppet-2.6.0.tar.gz.sign: No >> such file or directory >> >> There''s nothing on the download page about those two files. Where do I >> get them? I don''t know what the earlier find error is about. > > Any reason to not use the packages from: > > http://tmz.fedorapeople.org/repo/puppet/epel/ >None, except you''d kind of think that the place that publishes the software would generally speaking, be the best place to get it from.> The spec file included in the tarballs is not automatically synced up > with each relesae, it''s there simply as a convenience for folks that > don''t want to have to rewrite it from scratch. > > Personally, until 2.6.x is beat on a little more, we probably won''t > push it into EPEL. But until then, I plan to update my fedorapeople > repo with the latest releases and release candidates. You could grab > the yum repo file from there and then install puppet-2.6.0 explicitly > if you don''t want to run 2.6.1rc1. > > Or, grab the srpm and rebuild it if you like. You''ll need to pass in > some definitions that the Fedora/EPEL build system uses. > > rpmbuild --rebuild --define ''dist .el5'' --define ''rhel 5'' \ > --define ''el5 1'' /path/to/puppet*.src.rpm > > You can pass some options to disable augeas and selinux if you like as > well. > > Also, from the /usr/src/redhat paths in your output, it looks like > you''re building as root. That''s generally not a good idea. If you''re > on RHEL/CentOS, install rpmdevtools and run rpmdev-setuptree to setup > a local user account for building.I''m not building as root. -- 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:>>> There''s nothing on the download page about those two files. Where do I >>> get them? I don''t know what the earlier find error is about. >> Any reason to not use the packages from: >> >> http://tmz.fedorapeople.org/repo/puppet/epel/ >> > > None, except you''d kind of think that the place that publishes the > software would generally speaking, be the best place to get it from. >We make software not build distributions - we currently only package what isn''t packaged downstream - for example Dashboard. This may change but is currently best done by those expert at it - like the Debian/Ubuntu/Fedora guys. We maintain the packaging spec as a courtesy to people who want to roll their own - it''s not a dependency on us. 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.
michaelk@tnrglobal.com
2010-Sep-16 20:17 UTC
[Puppet Users] Re: Wrong version in SPEC file
On Jul 30, 5:56 pm, Todd Zullinger <t...@pobox.com> wrote:> Douglas Garstang wrote: > > The spec file for for (whatever version this actually is), doesn''t > > cleanly build an RPM either. ><SNIP> > > rpmbuild --rebuild --define ''dist .el5'' --define ''rhel 5'' \ > --define ''el5 1'' /path/to/puppet*.src.rpm > > You can pass some options to disable augeas and selinux if you like as > well. > ><SNIP>Sorry to interject, but how would I pass options to disable augeas? So far, the only way I see is to prep and make the changes directly in the spec file. Is there a way to do so on the rpmbuild command line? Thanks! 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.
----- "michaelk@tnrglobal.com" <michael@mapu.com> wrote:> On Jul 30, 5:56 pm, Todd Zullinger <t...@pobox.com> wrote: > > Douglas Garstang wrote: > > > The spec file for for (whatever version this actually is), > doesn''t > > > cleanly build an RPM either. > ><SNIP> > > > > rpmbuild --rebuild --define ''dist .el5'' --define ''rhel 5'' \ > > --define ''el5 1'' /path/to/puppet*.src.rpm > > > > You can pass some options to disable augeas and selinux if you like > as > > well. > > > ><SNIP> > > Sorry to interject, but how would I pass options to disable augeas? > So far, the only way I see is to prep and make the changes directly in > the spec file. Is there a way to do so on the rpmbuild command line?rpmbuild -ba -D ''dist .el5'' -D ''rhel 5'' -D ''_without_augeas 1'' puppet.spec -- 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.
michaelk@tnrglobal.com
2010-Sep-16 21:02 UTC
[Puppet Users] Re: Wrong version in SPEC file
On Sep 16, 4:23 pm, "R.I.Pienaar" <r...@devco.net> wrote:> ----- "micha...@tnrglobal.com" <mich...@mapu.com> wrote: > > On Jul 30, 5:56 pm, Todd Zullinger <t...@pobox.com> wrote: > > > Douglas Garstang wrote: > > > > The spec file for for (whatever version this actually is), > > doesn''t > > > > cleanly build an RPM either. > > ><SNIP> > > > > rpmbuild --rebuild --define ''dist .el5'' --define ''rhel 5'' \ > > > --define ''el5 1'' /path/to/puppet*.src.rpm > > > > You can pass some options to disable augeas and selinux if you like > > as > > > well. > > > ><SNIP> > > > Sorry to interject, but how would I pass options to disable augeas? > > So far, the only way I see is to prep and make the changes directly in > > the spec file. Is there a way to do so on the rpmbuild command line? > > rpmbuild -ba -D ''dist .el5'' -D ''rhel 5'' -D ''_without_augeas 1'' puppet.specGreat- that works. I also just tried: rpmbuild --without augeas --without selinux --rebuild puppet-2.6.1-0.5.el5.src.rpm and that worked as well. Thanks for the quick response! MK -- 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.
michaelk@tnrglobal.com wrote:> On Sep 16, 4:23 pm, "R.I.Pienaar" <r...@devco.net> wrote: >> rpmbuild -ba -D ''dist .el5'' -D ''rhel 5'' -D ''_without_augeas 1'' puppet.spec > > Great- that works. I also just tried: > rpmbuild --without augeas --without selinux --rebuild > puppet-2.6.1-0.5.el5.src.rpmFWIW, the spec file has this at the very top: # Augeas and SELinux requirements may be disabled at build time by passing # --without augeas and/or --without selinux to rpmbuild or mock For any non-ancient rpm, that should work as well as the -D syntax above. (RHEL4 rpm qualifies as ancient and isn''t something I test with very often.) Also note that the rpmbuild command you used above, without the -D ''dist .el5'' -D ''rhel 5'' would lack requirements on ruby(abi) = 1.8 and ruby-shadow and would not build noarch packages. Both of those things depending on those macros being set (as they are on the EPEL build system). In fact, lacking those macros will cause augeas and selinux to not be required either, irregardless of setting --without augeas or selinux. If you rebuild a lot of packages from Fedora or EPEL on RHEL/CentOS systems, you may want to use mock for building or install the buildsys-macros package which provides these common macros: http://buildsys.fedoraproject.org/buildgroups/rhel5/x86_64/buildsys-macros-5-5.el5.noarch.rpm On all supported Fedora releases, these macros are defined as part of the stock install. I believe that''s the case for RHEL6 too, but I don''t have access to any RHEL6 beta systems at the moment to verify that. -- Todd OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ There are no stupid questions, but there are a LOT of inquisitive idiots. -- Demotivators (www.despair.com)