I like the idea of parametrized classes very much, and I would like to use them. Unfortunately Ubuntu Lucid ships with puppet 2.5.4, which doesn''t support it. Does anybody here can tell me, how can I get 2.6.x version of puppet and puppetmaster on Ubuntu? I tried to install puppet from sources, but I failed miserably: The internal installer does little more then copying the ruby scripts. It doesn''t create users, directories nor permissions necessary to run puppetmaster, and error messages that are generated on such failed install are cryptic. I am aware of http://packages.debian.org/lenny-backports/puppet, but itsn''t strictly Ubuntu and there are missing dependencies, so right now I can''t install it (I used to be able to do it few weeks ago, when they had puppet 2.6.2). I am also aware of https://launchpad.net/~mathiaz/+archive/puppet-backports but mathiaz doesn''t provide puppetmaster. Can anyone suggest me any hints on how to do it? Maybe there is someone, who actually managed to run puppetmaster on Ubuntu 10.4 and who would share how did he achieve it? Thank you in advance, Adam Ryczkowski -- 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.
Martijn Grendelman
2011-Jan-10 13:47 UTC
Re: [Puppet Users] Puppetmaster 2.6.x on Ubuntu Lucid
Hi, On 10-01-11 14:34, Adam Ryczkowski wrote:> I like the idea of parametrized classes very much, and I would like to > use them. Unfortunately Ubuntu Lucid ships with puppet 2.5.4, which > doesn''t support it. Does anybody here can tell me, how can I get 2.6.x > version of puppet and puppetmaster on Ubuntu? > > I tried to install puppet from sources, but I failed miserably: The > internal installer does little more then copying the ruby scripts. It > doesn''t create users, directories nor permissions necessary to run > puppetmaster, and error messages that are generated on such failed > install are cryptic. > > I am aware of http://packages.debian.org/lenny-backports/puppet, but > itsn''t strictly Ubuntu and there are missing dependencies, so right > now I can''t install it (I used to be able to do it few weeks ago, when > they had puppet 2.6.2). > > I am also aware of https://launchpad.net/~mathiaz/+archive/puppet-backports > but mathiaz doesn''t provide puppetmaster. > > Can anyone suggest me any hints on how to do it? Maybe there is > someone, who actually managed to run puppetmaster on Ubuntu 10.4 and > who would share how did he achieve it?We always create our own backport of the official Ubunutu packages from the latest release. http://packages.ubuntu.com/natty/puppet Just download/unpack the source and build it with your favourite build-tool (pbuilder or similar). It currently builds even on Hardy without modifications. Best regards, Martijn. -- 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.
Martijn Grendelman
2011-Jan-10 13:49 UTC
Re: [Puppet Users] Puppetmaster 2.6.x on Ubuntu Lucid
On 10-01-11 14:47, Martijn Grendelman wrote:> ... Ubunutu packages ...Damn. I STILL can''t type ''Ubuntu'' properly. Just use Debian, it''s easier :-) Regards, Martijn. -- 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.
Mark Stanislav
2011-Jan-10 14:26 UTC
Re: [Puppet Users] Puppetmaster 2.6.x on Ubuntu Lucid
Hi adam,> > I am also aware of https://launchpad.net/~mathiaz/+archive/puppet-backports > but mathiaz doesn''t provide puppetmaster.I am using his PPA for a deployment right now with success. In this context, using Apache + Passenger is the way to go for the Puppetmaster role. Take a look at http://projects.puppetlabs.com/projects/1/wiki/Using_Passenger -Mark> > Can anyone suggest me any hints on how to do it? Maybe there is > someone, who actually managed to run puppetmaster on Ubuntu 10.4 and > who would share how did he achieve it? > > Thank you in advance, > Adam Ryczkowski > > -- > 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. >-- 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.
here how i do it: 1. in file /etc/apt/preferences I made several adjustment but for puppet this is the relevant lines # Backport for puppetlabs Package: puppet puppet-common puppetmaster facter Pin: release a=lenny-backports Pin-Priority: 900 2. then created the /etc/apt/sources.list.d/backports.list with the following line deb http://backports.debian.org/debian-backports lenny-backports main contrib non-free 3. once these file has been adjusted/created then add key apt-key adv --keyserver hkp://subkeys.pgp.net --recv-keys 9AA38DCD55BE302B 4. then apt-get update 5. to check apt-cache policy puppetmaster good luck -ls On Jan 10, 5:34 am, Adam Ryczkowski <adam.ryczkow...@gmail.com> wrote:> I like the idea of parametrized classes very much, and I would like to > use them. Unfortunately Ubuntu Lucid ships with puppet 2.5.4, which > doesn''t support it. Does anybody here can tell me, how can I get 2.6.x > version of puppet and puppetmaster on Ubuntu? > > I tried to install puppet from sources, but I failed miserably: The > internal installer does little more then copying the ruby scripts. It > doesn''t create users, directories nor permissions necessary to run > puppetmaster, and error messages that are generated on such failed > install are cryptic. > > I am aware ofhttp://packages.debian.org/lenny-backports/puppet, but > itsn''t strictly Ubuntu and there are missing dependencies, so right > now I can''t install it (I used to be able to do it few weeks ago, when > they had puppet 2.6.2). > > I am also aware ofhttps://launchpad.net/~mathiaz/+archive/puppet-backports > but mathiaz doesn''t provide puppetmaster. > > Can anyone suggest me any hints on how to do it? Maybe there is > someone, who actually managed to run puppetmaster on Ubuntu 10.4 and > who would share how did he achieve it? > > Thank you in advance, > Adam Ryczkowski-- 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 Jan 11, 2011, at 8:52 AM, Luc Suryo wrote:> 1. in file /etc/apt/preferences I made several adjustment but for > puppet this is the relevant lines > > # Backport for puppetlabs > Package: puppet puppet-common puppetmaster facter > Pin: release a=lenny-backports > Pin-Priority: 900 > > > 2. then created the /etc/apt/sources.list.d/backports.list with the > following line > > deb http://backports.debian.org/debian-backports lenny-backports main > contrib non-freeYou said this, but I want to make this very clear. If you''re using puppet to deploy this, "Make sure that step 2 will not happen until step 1 is complete". Remember, it''s possible for file copies to fail if the server is overloaded or if you just have bad luck. -- 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.
these are manual step to be taken so one can install puppet from the backport repo so not sure what you ref. too ? the order of step 1, 2 and 3 does not matter but need to be done before 4 (apt-get update) On Jan 11, 2:25 pm, Patrick <kc7...@gmail.com> wrote:> On Jan 11, 2011, at 8:52 AM, Luc Suryo wrote: > > > 1. in file /etc/apt/preferences I made several adjustment but for > > puppet this is the relevant lines > > > # Backport for puppetlabs > > Package: puppet puppet-common puppetmaster facter > > Pin: release a=lenny-backports > > Pin-Priority: 900 > > > 2. then created the /etc/apt/sources.list.d/backports.list with the > > following line > > > debhttp://backports.debian.org/debian-backportslenny-backports main > > contrib non-free > > You said this, but I want to make this very clear. > > If you''re using puppet to deploy this, "Make sure that step 2 will not happen until step 1 is complete". Remember, it''s possible for file copies to fail if the server is overloaded or if you just have bad luck.-- 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.
Except that, knowing this list, someone will automate it with puppet. On Jan 12, 2011, at 8:14 AM, Luc Suryo wrote:> these are manual step to be taken so one can install puppet from the > backport repo > so not sure what you ref. too ? the order of step 1, 2 and 3 does not > matter but need to be done before 4 (apt-get update) > > > On Jan 11, 2:25 pm, Patrick <kc7...@gmail.com> wrote: >> On Jan 11, 2011, at 8:52 AM, Luc Suryo wrote: >> >>> 1. in file /etc/apt/preferences I made several adjustment but for >>> puppet this is the relevant lines >> >>> # Backport for puppetlabs >>> Package: puppet puppet-common puppetmaster facter >>> Pin: release a=lenny-backports >>> Pin-Priority: 900 >> >>> 2. then created the /etc/apt/sources.list.d/backports.list with the >>> following line >> >>> debhttp://backports.debian.org/debian-backportslenny-backports main >>> contrib non-free >> >> You said this, but I want to make this very clear. >> >> If you''re using puppet to deploy this, "Make sure that step 2 will not happen until step 1 is complete". Remember, it''s possible for file copies to fail if the server is overloaded or if you just have bad luck. > > -- > 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. >-- 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.
that would be a catch 22 :) the instruction was an answer to how to install puppet on a Lucid server, there is no puppet installed yet! So how will one automate ''with'' puppet while puppet is not installed? On Jan 12, 10:49 am, Patrick <kc7...@gmail.com> wrote:> Except that, knowing this list, someone will automate it with puppet. > > On Jan 12, 2011, at 8:14 AM, Luc Suryo wrote: > > > these are manual step to be taken so one can install puppet from the > > backport repo > > so not sure what you ref. too ? the order of step 1, 2 and 3 does not > > matter but need to be done before 4 (apt-get update) > > > On Jan 11, 2:25 pm, Patrick <kc7...@gmail.com> wrote: > >> On Jan 11, 2011, at 8:52 AM, Luc Suryo wrote: > > >>> 1. in file /etc/apt/preferences I made several adjustment but for > >>> puppet this is the relevant lines > > >>> # Backport for puppetlabs > >>> Package: puppet puppet-common puppetmaster facter > >>> Pin: release a=lenny-backports > >>> Pin-Priority: 900 > > >>> 2. then created the /etc/apt/sources.list.d/backports.list with the > >>> following line > > >>> debhttp://backports.debian.org/debian-backportslenny-backportsmain > >>> contrib non-free > > >> You said this, but I want to make this very clear. > > >> If you''re using puppet to deploy this, "Make sure that step 2 will not happen until step 1 is complete". Remember, it''s possible for file copies to fail if the server is overloaded or if you just have bad luck. > > > -- > > 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 athttp://groups.google.com/group/puppet-users?hl=en.-- 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.
Well, your instructions also can work for upgrading puppet with a few small changes. Might even work without changes. On Jan 12, 2011, at 2:54 PM, Luc Suryo wrote:> that would be a catch 22 :) > > the instruction was an answer to how to install puppet on a Lucid > server, there is no puppet installed yet! > > So how will one automate ''with'' puppet while puppet is not 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.
good point! :) On Jan 12, 3:20 pm, Patrick <kc7...@gmail.com> wrote:> Well, your instructions also can work for upgrading puppet with a few small changes. Might even work without changes. > > On Jan 12, 2011, at 2:54 PM, Luc Suryo wrote: > > > that would be a catch 22 :) > > > the instruction was an answer to how to install puppet on a Lucid > > server, there is no puppet installed yet! > > > So how will one automate ''with'' puppet while puppet is not 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.