I just built new puppet rpm''s for Fedora (puppet-0.22.1-2) that fix the lockdir problem that many of you have encountered. The packages should show up on a mirror near you very soon. Unfortunately, I am having trouble getting to my buildsystem that I use for the RHEL versions of the RPM; I made the source rpm available on my people page[1] If you need the RPM for RHEL, you need to rebuild it yourself manually for now. I am trying to get my connectivity issues resolved and build the RHEL rpm''s as soon as possible. Alternatively, you can just make the change manually (simply remove the lockdir setting from /etc/puppet/puppetd.conf) David [1] http://people.redhat.com/dlutter/puppet-0.22.1-2.src.rpm
Do the source RPMS properly handle the 32/64 bit lib issue and do they still require a stubbed ruby-abi rpm? --On Monday, February 12, 2007 7:14 AM -0800 David Lutterkort <dlutter@redhat.com> wrote:> I just built new puppet rpm''s for Fedora (puppet-0.22.1-2) that fix the > lockdir problem that many of you have encountered. The packages should > show up on a mirror near you very soon. > > Unfortunately, I am having trouble getting to my buildsystem that I use > for the RHEL versions of the RPM; I made the source rpm available on my > people page[1] If you need the RPM for RHEL, you need to rebuild it > yourself manually for now. I am trying to get my connectivity issues > resolved and build the RHEL rpm''s as soon as possible. > > Alternatively, you can just make the change manually (simply remove the > lockdir setting from /etc/puppet/puppetd.conf) > > David > > [1] http://people.redhat.com/dlutter/puppet-0.22.1-2.src.rpm > > > > _______________________________________________ > Puppet-users mailing list > Puppet-users@madstop.com > https://mail.madstop.com/mailman/listinfo/puppet-users-- Digant C Kasundra // www.diggyk.com //
On Mon, 2007-02-12 at 07:14 -0800, David Lutterkort wrote:> Unfortunately, I am having trouble getting to my buildsystem that I use > for the RHEL versions of the RPM; I made the source rpm available on my > people page[1] If you need the RPM for RHEL, you need to rebuild it > yourself manually for now. I am trying to get my connectivity issues > resolved and build the RHEL rpm''s as soon as possible.I rebuilt the rpm''s for RHEL4 (i386) and RHEL5 now too. They are in the usual place in the yum repos underneath http://people.redhat.com/dlutter/yum/ David
On Mon, 2007-02-12 at 11:46 -0800, Digant C Kasundra wrote:> Do the source RPMS properly handle the 32/64 bit lib issue and do they > still require a stubbed ruby-abi rpm?I added some macro magic to the spec file to make those issues disappear - the srpm now builds arch-specific on rhel4, and noarch on rhel5 and current fc releases. I don''t have a 64-bit machine, but best I can tell, the RPM''s should work on them, too. If not, let me know ;) David
On 2/12/07, David Lutterkort <dlutter@redhat.com> wrote:> On Mon, 2007-02-12 at 07:14 -0800, David Lutterkort wrote: > > Unfortunately, I am having trouble getting to my buildsystem that I use > > for the RHEL versions of the RPM; I made the source rpm available on my > > people page[1] If you need the RPM for RHEL, you need to rebuild it > > yourself manually for now. I am trying to get my connectivity issues > > resolved and build the RHEL rpm''s as soon as possible. > > I rebuilt the rpm''s for RHEL4 (i386) and RHEL5 now too. They are in the > usual place in the yum repos underneath > http://people.redhat.com/dlutter/yum/I''m not seeing these, or am I blind? I just see the 0.22.1-1 versions. Kent -- "It may be true that the law cannot make a man love me, but it can stop him from lynching me, and I think that''s pretty important." - Martin Luther King Jr.
On Mon, Feb 12, 2007 at 07:14:51AM -0800, David Lutterkort wrote:> I just built new puppet rpm''s for Fedora (puppet-0.22.1-2) that fix the > lockdir problem that many of you have encountered. The packages should > show up on a mirror near you very soon.Since puppetd.conf is listed as %config(noreplace) in the spec file I am not sure how this is going to work for existing installs :( Kostas
--On Monday, February 12, 2007 12:04 PM -0800 David Lutterkort <dlutter@redhat.com> wrote:> On Mon, 2007-02-12 at 11:46 -0800, Digant C Kasundra wrote: >> Do the source RPMS properly handle the 32/64 bit lib issue and do they >> still require a stubbed ruby-abi rpm? > > I added some macro magic to the spec file to make those issues disappear > - the srpm now builds arch-specific on rhel4, and noarch on rhel5 and > current fc releases. > > I don''t have a 64-bit machine, but best I can tell, the RPM''s should > work on them, too. If not, let me know ;) > > DavidAttention all Puppet Users: David Lutterkort is the man! It worked great and now I don''t have to worry about maintaining my own specs. Weeeee! -- Digant C Kasundra // www.diggyk.com //
On Mon, 2007-02-12 at 20:32 +0000, Kostas Georgiou wrote:> On Mon, Feb 12, 2007 at 07:14:51AM -0800, David Lutterkort wrote: > > > I just built new puppet rpm''s for Fedora (puppet-0.22.1-2) that fix the > > lockdir problem that many of you have encountered. The packages should > > show up on a mirror near you very soon. > > Since puppetd.conf is listed as %config(noreplace) in the spec file I am > not sure how this is going to work for existing installs :(Heh .. yeah, you''ll have to deal with .rpmnew files; clearly demonstrating that rpm isn''t a good config mgmt tool. I think the other option, clobbering existing config files, is even worse (and violates the Fedora packaging standards). David
On Mon, 2007-02-12 at 14:32 -0600, Kenton Brede wrote:> On 2/12/07, David Lutterkort <dlutter@redhat.com> wrote: > > On Mon, 2007-02-12 at 07:14 -0800, David Lutterkort wrote: > > > Unfortunately, I am having trouble getting to my buildsystem that I use > > > for the RHEL versions of the RPM; I made the source rpm available on my > > > people page[1] If you need the RPM for RHEL, you need to rebuild it > > > yourself manually for now. I am trying to get my connectivity issues > > > resolved and build the RHEL rpm''s as soon as possible. > > > > I rebuilt the rpm''s for RHEL4 (i386) and RHEL5 now too. They are in the > > usual place in the yum repos underneath > > http://people.redhat.com/dlutter/yum/ > > I''m not seeing these, or am I blind? I just see the 0.22.1-1 versions.Garrr .. not passing -n to rsync makes tings work a little better. David
David Lutterkort wrote:> On Mon, 2007-02-12 at 20:32 +0000, Kostas Georgiou wrote: > >> On Mon, Feb 12, 2007 at 07:14:51AM -0800, David Lutterkort wrote: >> >> >>> I just built new puppet rpm''s for Fedora (puppet-0.22.1-2) that fix the >>> lockdir problem that many of you have encountered. The packages should >>> show up on a mirror near you very soon. >>> >> Since puppetd.conf is listed as %config(noreplace) in the spec file I am >> not sure how this is going to work for existing installs :( >> > > Heh .. yeah, you''ll have to deal with .rpmnew files; clearly > demonstrating that rpm isn''t a good config mgmt tool. I think the other > option, clobbering existing config files, is even worse (and violates > the Fedora packaging standards). > > David > > _______________________________________________ > Puppet-users mailing list > Puppet-users@madstop.com > https://mail.madstop.com/mailman/listinfo/puppet-users > > >I rebuild my own rpm''s based on David''s. When 0.22.1 was released i added the following %post commands to remove the lockdir from existing conf files. %post # remove lockdir from config file as 0.22.1 doesn''t like it. %{__perl} -pi -e ''s/(?<!#)(lockdir\s+=)/#$1/g'' %{_sysconfdir}/puppet/puppetd.conf /sbin/chkconfig --add puppet exit 0 %post server # remove lockdir from config file as 0.22.1 doesn''t like it. %{__perl} -pi -e ''s/(?<!#)(lockdir\s+=)/#$1/g'' %{_sysconfdir}/puppet/puppetmasterd.conf /sbin/chkconfig --add puppetmaster While i am at i also fix the puppet init script in the %install section, this could have easily been done with a patch but i am lazy. %install # ----- cut ----- %{__perl} -pi -e ''s!/var/run/puppet.pid!%{_localstatedir}/run/%{name}/puppetd.pid!g'' %{buildroot}%{_initrddir}/puppet Hope that helps someone. Ben