So I''ve done some Mac OS X pkgs for the latest Facter and Puppet, as well as a combined mpkg for them both. Jeff McCune and I are doing a fair bit of testing on them this week in preparation for MacWorld, so I wasn''t going to upload them to the official site for another few days, but they''re looking pretty good. http://explanatorygap.net/puppet/Facter_1.3.8.pkg.zip http://explanatorygap.net/puppet/Puppet_0.24.1.pkg.zip http://explanatorygap.net/puppet/Puppet_0.24.1_Facter_1.3.8.mpkg.zip I was running into issues with older versions lying around, so I''ve made preflight scripts as follows: Facter: /bin/rm -Rf /usr/lib/ruby/site_ruby/1.8/facter Puppet: /bin/rm -Rf /usr/lib/ruby/site_ruby/1.8/puppet Suggestions for better alternatives are welcome... These install into /usr/lib/ruby/site_ruby/1.8 so that they work correctly on OS X 10.4 and 10.5, but put binaries into /usr/bin This illustrates the somewhat confusing but understandable setup that Apple give us with Ruby on 10.5 /usr/lib/ruby -> /System/Library/Frameworks/Ruby.framework/Versions/Current/usr/lib/ruby /System/Library/Frameworks/Ruby.framework/Versions/Current/usr/lib/ruby/site_ruby -> /Library/Ruby/Site For future reference... for this to work, you need to ensure as I''ve done that your pkgs are set to follow symlinks, not to overwrite them. There are a bunch of upgrade issues from earlier versions, not least of which is that if /etc/puppet/puppetd.conf exists with 0.24.1, then puppetd will crash. I''m willing to take on being the maintainer of the OS X pkgs for Puppet and Facter, but I''ve taken the approach that I''m not going to attempt to solve upgrade issues for packages earlier than these first ones I''m putting out. We''ll see what future issues there are, but I''ll try to solve them with appropriate upgrade scripts from now on. It''s looking really good so far, and I''m unexpectedly pleased that it looks like my Mac 0.24.1 clients are happy running against my 0.23.2 puppetmasterd server. Well done to everyone involved in the 0.24 release. -- Nigel Kersten Systems Administrator MacOps _______________________________________________ Puppet-users mailing list Puppet-users@madstop.com https://mail.madstop.com/mailman/listinfo/puppet-users
On Jan 6, 2008, at 1:01 PM, Nigel Kersten wrote:> So I''ve done some Mac OS X pkgs for the latest Facter and Puppet, as > well as a combined mpkg for them both. > > Jeff McCune and I are doing a fair bit of testing on them this week > in preparation for MacWorld, so I wasn''t going to upload them to the > official site for another few days, but they''re looking pretty good. > > http://explanatorygap.net/puppet/Facter_1.3.8.pkg.zip > http://explanatorygap.net/puppet/Puppet_0.24.1.pkg.zip > http://explanatorygap.net/puppet/Puppet_0.24.1_Facter_1.3.8.mpkg.zipThis is great, thank you. [...]> There are a bunch of upgrade issues from earlier versions, not least > of which is that if /etc/puppet/puppetd.conf exists with 0.24.1, > then puppetd will crash.Is this filed? I wasn''t aware of this at all, and it''s certainly a bug.> > I''m willing to take on being the maintainer of the OS X pkgs for > Puppet and Facter, but I''ve taken the approach that I''m not going to > attempt to solve upgrade issues for packages earlier than these > first ones I''m putting out.I''d love to have an OS X package maintainer, and it''s reasonable that you don''t want to support previous packages.> > We''ll see what future issues there are, but I''ll try to solve them > with appropriate upgrade scripts from now on. > > > It''s looking really good so far, and I''m unexpectedly pleased that > it looks like my Mac 0.24.1 clients are happy running against my > 0.23.2 puppetmasterd server.Good news. -- America believes in education: the average professor earns more money in a year than a professional athlete earns in a whole week. -- Evan Esar --------------------------------------------------------------------- Luke Kanies | http://reductivelabs.com | http://madstop.com
On Jan 6, 2008 2:28 PM, Luke Kanies <luke@madstop.com> wrote:> > > There are a bunch of upgrade issues from earlier versions, not least > > of which is that if /etc/puppet/puppetd.conf exists with 0.24.1, > > then puppetd will crash. > > Is this filed? I wasn''t aware of this at all, and it''s certainly a bug.I''ll check and file now.> > > > > > I''m willing to take on being the maintainer of the OS X pkgs for > > Puppet and Facter, but I''ve taken the approach that I''m not going to > > attempt to solve upgrade issues for packages earlier than these > > first ones I''m putting out. > > I''d love to have an OS X package maintainer, and it''s reasonable that > you don''t want to support previous packages.No worries. I haven''t yet written a launchd item, which I''ll do as a separate pkg and put it in the mpkg, and I''d like to get that done before we release them on the puppet site.> > > > > > We''ll see what future issues there are, but I''ll try to solve them > > with appropriate upgrade scripts from now on. > > > > > > It''s looking really good so far, and I''m unexpectedly pleased that > > it looks like my Mac 0.24.1 clients are happy running against my > > 0.23.2 puppetmasterd server. > > Good news.It certainly is :) -- Nigel Kersten Systems Administrator MacOps _______________________________________________ Puppet-users mailing list Puppet-users@madstop.com https://mail.madstop.com/mailman/listinfo/puppet-users
On Jan 6, 2008 2:37 PM, Nigel Kersten <nigelk@google.com> wrote:> On Jan 6, 2008 2:28 PM, Luke Kanies <luke@madstop.com> wrote: > > > > > > There are a bunch of upgrade issues from earlier versions, not least > > > of which is that if /etc/puppet/puppetd.conf exists with 0.24.1, > > > then puppetd will crash. > > > > Is this filed? I wasn''t aware of this at all, and it''s certainly a bug. > > > > > I''ll check and file now. >So the problem is (at least on Mac OS X) that if you have a working puppet.conf file with user/group specified, and then have a puppetd.conffile that doesn''t have it specified, puppetd crashes trying to run with the default ''puppet'' user that we don''t have on our systems. Failed to retrieve current state of resource: Could not find user puppet Poking around a bit more in the tickets to see if this is reported, as it''s quite different to my initial description. Sorry. -- Nigel Kersten Systems Administrator MacOps _______________________________________________ Puppet-users mailing list Puppet-users@madstop.com https://mail.madstop.com/mailman/listinfo/puppet-users