i''ve been reading docs and blundering my way through a simple puppet client/server setup between two test hosts (puppetmasterd on server 10.5.8, puppet client on client 10.6.2) and am wondering if there''s any current definitive guide for configuring puppet for os x systems. it also seems the gems installed on my client with ruby 1.9.1 as default don''t work very well yet. i''m going to try uninstalling everything on the client side and reinstall just the ruby 1.8 pkg or gems, i guess. i''d really like to get this going but have spent most of my time wading through the wiki and searching for answers to various errors. thanks in advance for any tips. - nate -- 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.
James Turnbull
2010-Mar-02 01:25 UTC
Re: [Puppet Users] puppet on os x: definitive setup notes?
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 1/03/10 11:47 AM, foilpan wrote:> it also seems the gems installed on my client with ruby 1.9.1 as > default don''t work very well yet. i''m going to try uninstalling > everything on the client side and reinstall just the ruby 1.8 pkg or > gems, i guess.Puppet doesn''t currently work with Ruby 1.9 I don''t believe there is a definitive guide but there is this wiki page: http://reductivelabs.com/trac/puppet/wiki/PuppetMacOSX Please feel free to edit and update. Regards James Turnbull - -- Author of: * Pro Linux System Administration (http://tinyurl.com/linuxadmin) * Pulling Strings with Puppet (http://tinyurl.com/pupbook) * Pro Nagios 2.0 (http://tinyurl.com/pronagios) * Hardening Linux (http://tinyurl.com/hardeninglinux) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEVAwUBS4xpHyFa/lDkFHAyAQL9KAgAvAcP8frsf4CepKXcRUSMU7pO0/ksl5zj z2Q1ZtCqJXpNcDs2oxRh8LW/RYuf1BYtZxigeyNcxGrAY4KII5DMPxmMw9nCAth/ QMQca+P+L8rgrii0hun9uBUQ9vX7pmyFjTDo/cq3N7WXmNJlWCJgH83RjeNafNDW /vGbl5o2X4u7DIPMla98NQCvdria6/avcDYRYsyJJg6oLs600XU6CYcRAU/zkdye odjVKqofCHKuHFTl222UyI/P6jWHEhZzSd8TjwOiDNkXQ/skMHLKLOXelyvveliF iSVtmcUxellu+ShVrOot+DmGEPAW96IrtfXb257nfk7yoAklIMVVsA==4Y/l -----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.
Nigel Kersten
2010-Mar-02 01:32 UTC
Re: [Puppet Users] puppet on os x: definitive setup notes?
On Mon, Mar 1, 2010 at 11:47 AM, foilpan <foilpan@gmail.com> wrote:> i''ve been reading docs and blundering my way through a simple puppet > client/server setup between two test hosts (puppetmasterd on server > 10.5.8, puppet client on client 10.6.2) and am wondering if there''s > any current definitive guide for configuring puppet for os x systems. > > it also seems the gems installed on my client with ruby 1.9.1 as > default don''t work very well yet. i''m going to try uninstalling > everything on the client side and reinstall just the ruby 1.8 pkg or > gems, i guess.Hang on a second... You shouldn''t be doing any reinstalling of software... Ruby 1.8 comes with OS X. Ruby 1.9 is unsupported by Puppet as James said. I don''t believe you need *any* extra gems on top of a base OS X install to run puppetmasterd under webrick (the default getting started scenario) If you''ve been messing around with your Ruby install, you want to ensure on 10.5/6 that these symlinks are still there. nigelk$ ls -lad /usr/lib/ruby /usr/lib/ruby/site_ruby lrwxr-xr-x 1 root wheel 76 Feb 2 15:56 /usr/lib/ruby -> ../../System/Library/Frameworks/Ruby.framework/Versions/Current/usr/lib/ruby lrwxr-xr-x 1 root wheel 47 Feb 2 15:56 /usr/lib/ruby/site_ruby -> ../../../../../../../../../../Library/Ruby/Site There are a good number of Ruby installs around for OS X that mess up these symlinks. If you really want to just try getting started with Puppet, can I suggest MacPorts? We have the latest puppet and facter available as Ports, and it''s a completely self-contained setup, where you can uninstall the ports once you''re satisfied things work the way you expect. We do not have a good getting started guide for running puppetmasterd on OS X. I''d like to have one :)> > i''d really like to get this going but have spent most of my time > wading through the wiki and searching for answers to various errors. > thanks in advance for any tips. > > - nate > > -- > 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 -- 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.
thanks nigel and james. i''m actually reading notes passed along by another list member, watching the macworld 2008 presentation from nigel and jeff, and have the "pulling strings" book here for reference. i needed ruby 1.9.1 for a class i took but installed from source under /usr/local, so all the default ruby 1.8 stuff is completely separate. macports doesn''t really appeal to me; i''d rather have source or pkg installs to deal with. by "removing software," i meant removing just the 1.9.x specific gems which were the defaults and sticking with either the 1.8 gems or nigel''s packaged versions. i''m guessing that will all work. thanks for the pointers. -- 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.
Patrick
2010-Mar-02 02:10 UTC
Re: [Puppet Users] Re: puppet on os x: definitive setup notes?
On Mar 1, 2010, at 6:02 PM, foilpan wrote:> thanks nigel and james. i''m actually reading notes passed along by > another list member, watching the macworld 2008 presentation from > nigel and jeff, and have the "pulling strings" book here for > reference. > > i needed ruby 1.9.1 for a class i took but installed from source > under /usr/local, so all the default ruby 1.8 stuff is completely > separate. macports doesn''t really appeal to me; i''d rather have source > or pkg installs to deal with.Actually, Ports is almost the same as using a package install where the packages take much longer to install. (If you have a compiler installed) -- 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
2010-Mar-02 02:13 UTC
Re: [Puppet Users] Re: puppet on os x: definitive setup notes?
On Mon, Mar 1, 2010 at 6:02 PM, foilpan <foilpan@gmail.com> wrote:> thanks nigel and james. i''m actually reading notes passed along by > another list member, watching the macworld 2008 presentation from > nigel and jeff, and have the "pulling strings" book here for > reference. > > i needed ruby 1.9.1 for a class i took but installed from source > under /usr/local, so all the default ruby 1.8 stuff is completely > separate. macports doesn''t really appeal to me; i''d rather have source > or pkg installs to deal with.You know MacPorts is a source based package system? To be frank, I don''t understand the desire to install from source, it''s just more stuff you have to track for keeping up to date and secure. There are a lot of keen Rubyists helping maintain MacPorts versions, so you get a very recent build, but with patches so that it actually works better than the vanilla upstream installs. You might also want to have a look at MacRuby, http://www.macruby.org/ which has some excellent performance characteristics for a 1.9 install.> > by "removing software," i meant removing just the 1.9.x specific gems > which were the defaults and sticking with either the 1.8 gems or > nigel''s packaged versions. i''m guessing that will all work. > > thanks for the pointers. > > -- > 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 -- 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 Mar 1, 9:13 pm, Nigel Kersten <nig...@google.com> wrote:> You know MacPorts is a source based package system? To be frank, I > don''t understand the desire to install from source, it''s just more > stuff you have to track for keeping up to date and secure. > > There are a lot of keen Rubyists helping maintain MacPorts versions, > so you get a very recent build, but with patches so that it actually > works better than the vanilla upstream installs. > > You might also want to have a look at MacRuby,http://www.macruby.org/ > which has some excellent performance characteristics for a 1.9 > install.i''ll have to take a look at both. i''ve tended to install from source for such things out of habit, but either way is fine. macruby does seem like a very good option for testing. thanks again, all. -- 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.
Apparently Analagous Threads
- Mac OS X pkgs up.
- ANNOUNCE: Puppet 0.25.1 released!
- How are people using install.rb from the source distribution?
- Does the puppet module tool work with ruby1.9.2?
- Speed bumps on the way to successfully running puppetmasterd on Mac OSX Leopard, try one and two