I was wondering about it, but I have complete mind-block. How should I upgrade puppet using puppet? regards, Stanislaw --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
One example for debian:
package { puppet:
ensure => latest,
}
package { puppetmaster:
ensure => latest,
}
Regards
Stasheck schrieb:> I was wondering about it, but I have complete mind-block. How should I
> upgrade puppet using puppet?
>
> regards,
> Stanislaw
> >
>
--
Phillip Scholz
Junior Linux System-Administrator
IT Shared Hosting Linux - SaaS, Karlsruhe
1&1 Internet AG
Brauerstraße 48
D-76135 Karlsruhe
Tel. +49-721-91374-4818
phillip.scholz@1und1.de
http://www.1und1.de/
Amtsgericht Montabaur HRB 6484
Vorstand: Henning Ahlert, Ralph Dommermuth,
Matthias Ehrlich, Andreas Gauger,
Thomas Gottschlich, Matthias Greve,
Robert Hoffmann, Markus Huhn,
Achim Weiss
Aufsichtsratsvorsitzender: Michael Scheeren
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---
OK, but I forgot to tell you - I am installing puppets from tarball, since many of my machines are Debian Sarge, and there''s no packet for it. Any other ideas? regards, Stanislaw On May 14, 4:41 pm, Phillip Scholz <phillip.sch...@1und1.de> wrote:> One example for debian: > > package { puppet: > ensure => latest, > } > > package { puppetmaster: > ensure => latest, > } > > Regards > > Stasheck schrieb: > > > I was wondering about it, but I have complete mind-block. How should I > > upgrade puppet using puppet? > > > regards, > > Stanislaw > > -- > Phillip Scholz > Junior Linux System-Administrator > IT Shared Hosting Linux - SaaS, Karlsruhe > > 1&1 Internet AG > Brauerstraße 48 > D-76135 Karlsruhe > > Tel. +49-721-91374-4818 > phillip.sch...@1und1.dehttp://www.1und1.de/ > > Amtsgericht Montabaur HRB 6484 > > Vorstand: Henning Ahlert, Ralph Dommermuth, > Matthias Ehrlich, Andreas Gauger, > Thomas Gottschlich, Matthias Greve, > Robert Hoffmann, Markus Huhn, > Achim Weiss > Aufsichtsratsvorsitzender: Michael Scheeren--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Backport to sarge? Stasheck wrote:> OK, but I forgot to tell you - I am installing puppets from tarball, > since many of my machines are Debian Sarge, and there''s no packet for > it. > > Any other ideas? > > regards, > Stanislaw > > On May 14, 4:41 pm, Phillip Scholz <phillip.sch...@1und1.de> wrote: >> One example for debian: >> >> package { puppet: >> ensure => latest, >> } >> >> package { puppetmaster: >> ensure => latest, >> } >> >> Regards >> >> Stasheck schrieb: >> >>> I was wondering about it, but I have complete mind-block. How should I >>> upgrade puppet using puppet? >>> regards, >>> Stanislaw >> -- >> Phillip Scholz >> Junior Linux System-Administrator >> IT Shared Hosting Linux - SaaS, Karlsruhe >> >> 1&1 Internet AG >> Brauerstraße 48 >> D-76135 Karlsruhe >> >> Tel. +49-721-91374-4818 >> phillip.sch...@1und1.dehttp://www.1und1.de/ >> >> Amtsgericht Montabaur HRB 6484 >> >> Vorstand: Henning Ahlert, Ralph Dommermuth, >> Matthias Ehrlich, Andreas Gauger, >> Thomas Gottschlich, Matthias Greve, >> Robert Hoffmann, Markus Huhn, >> Achim Weiss >> Aufsichtsratsvorsitzender: Michael Scheeren > >--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Sorry, that wasn''t very helpful of me. Take a look at http://reductivelabs.com/trac/puppet/wiki/DebianTestingPackages Regards, AJ AJ wrote:> Backport to sarge? > > Stasheck wrote: >> OK, but I forgot to tell you - I am installing puppets from tarball, >> since many of my machines are Debian Sarge, and there''s no packet for >> it. >> >> Any other ideas? >> >> regards, >> Stanislaw >> >> On May 14, 4:41 pm, Phillip Scholz <phillip.sch...@1und1.de> wrote: >>> One example for debian: >>> >>> package { puppet: >>> ensure => latest, >>> } >>> >>> package { puppetmaster: >>> ensure => latest, >>> } >>> >>> Regards >>> >>> Stasheck schrieb: >>> >>>> I was wondering about it, but I have complete mind-block. How should I >>>> upgrade puppet using puppet? >>>> regards, >>>> Stanislaw >>> -- >>> Phillip Scholz >>> Junior Linux System-Administrator >>> IT Shared Hosting Linux - SaaS, Karlsruhe >>> >>> 1&1 Internet AG >>> Brauerstraße 48 >>> D-76135 Karlsruhe >>> >>> Tel. +49-721-91374-4818 >>> phillip.sch...@1und1.dehttp://www.1und1.de/ >>> >>> Amtsgericht Montabaur HRB 6484 >>> >>> Vorstand: Henning Ahlert, Ralph Dommermuth, >>> Matthias Ehrlich, Andreas Gauger, >>> Thomas Gottschlich, Matthias Greve, >>> Robert Hoffmann, Markus Huhn, >>> Achim Weiss >>> Aufsichtsratsvorsitzender: Michael Scheeren >>> > > >--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
I do the building of packages myself because of this problem with debian. this is an example for the 0.24.4 release of puppet: ###snip## $ apt-get install fakeroot devscripts debhelper dpatch $ dget \ http://debian.inf.tu-dresden.de/debian/pool/main/p/puppet/puppet_0.24.4-3.dsc $ dpkg-source -x puppet_0.24.4-3.dsc $ cd puppet* [have a look at debian/control, perhaps there is something you need to modify - I don''t remember] $ dpkg-buildpackge -rfakeroot $ cd .. $ dpkg -i puppet*.deb ###snap### Phillip -- Phillip Scholz Junior Linux System-Administrator IT Shared Hosting Linux - SaaS, Karlsruhe 1&1 Internet AG Brauerstraße 48 D-76135 Karlsruhe Tel. +49-721-91374-4818 phillip.scholz@1und1.de http://www.1und1.de/ Amtsgericht Montabaur HRB 6484 Vorstand: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Andreas Gauger, Thomas Gottschlich, Matthias Greve, Robert Hoffmann, Markus Huhn, Achim Weiss Aufsichtsratsvorsitzender: Michael Scheeren
if you still want use tarbar puppet,you can download the package from
puppetmaster or ftp somthing to the puppet client host. then untar the
package,install it. ,at the early ,I use this method.
may be:
class puppet_upgrade {
exec "puppet_upgrade": command=>"wget -O
/usr/local/puppet-
version.tar.gz http://url"; # then install it"
}}
On May 16, 7:51 pm, Phillip Scholz <phillip.sch...@1und1.de>
wrote:> I do the building of packages myself because of this problem with debian.
>
> this is an example for the 0.24.4 release of puppet:
>
> ###snip##
>
> $ apt-get install fakeroot devscripts debhelper dpatch
>
> $ dget
\http://debian.inf.tu-dresden.de/debian/pool/main/p/puppet/puppet_0.24...
> $ dpkg-source -x puppet_0.24.4-3.dsc
> $ cd puppet*
> [have a look at debian/control, perhaps there is something you need to
> modify - I don''t remember]
> $ dpkg-buildpackge -rfakeroot
> $ cd ..
> $ dpkg -i puppet*.deb
>
> ###snap###
>
> Phillip
>
> --
> Phillip Scholz
> Junior Linux System-Administrator
> IT Shared Hosting Linux - SaaS, Karlsruhe
>
> 1&1 Internet AG
> Brauerstraße 48
> D-76135 Karlsruhe
>
> Tel. +49-721-91374-4818
> phillip.sch...@1und1.dehttp://www.1und1.de/
>
> Amtsgericht Montabaur HRB 6484
>
> Vorstand: Henning Ahlert, Ralph Dommermuth,
> Matthias Ehrlich, Andreas Gauger,
> Thomas Gottschlich, Matthias Greve,
> Robert Hoffmann, Markus Huhn,
> Achim Weiss
> Aufsichtsratsvorsitzender: Michael Scheeren
>
> signature.asc
> 1KDownload
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---
Also, take a look at http://reductivelabs.com/trac/puppet/wiki/BootstrappingWithPuppet I wrote it a while back to show it''s quite possible to go from an ancient version of Puppet (0.22) all the way up to the latest version with puppet and apt quite easily. huangmingyou wrote:> if you still want use tarbar puppet,you can download the package from > puppetmaster or ftp somthing to the puppet client host. then untar the > package,install it. ,at the early ,I use this method. > may be: > class puppet_upgrade { > exec "puppet_upgrade": command=>"wget -O /usr/local/puppet- > version.tar.gz http://url"; # then install it" > }} > > > On May 16, 7:51 pm, Phillip Scholz <phillip.sch...@1und1.de> wrote: >> I do the building of packages myself because of this problem with debian. >> >> this is an example for the 0.24.4 release of puppet: >> >> ###snip## >> >> $ apt-get install fakeroot devscripts debhelper dpatch >> >> $ dget \http://debian.inf.tu-dresden.de/debian/pool/main/p/puppet/puppet_0.24... >> $ dpkg-source -x puppet_0.24.4-3.dsc >> $ cd puppet* >> [have a look at debian/control, perhaps there is something you need to >> modify - I don''t remember] >> $ dpkg-buildpackge -rfakeroot >> $ cd .. >> $ dpkg -i puppet*.deb >> >> ###snap### >> >> Phillip >> >> -- >> Phillip Scholz >> Junior Linux System-Administrator >> IT Shared Hosting Linux - SaaS, Karlsruhe >> >> 1&1 Internet AG >> Brauerstraße 48 >> D-76135 Karlsruhe >> >> Tel. +49-721-91374-4818 >> phillip.sch...@1und1.dehttp://www.1und1.de/ >> >> Amtsgericht Montabaur HRB 6484 >> >> Vorstand: Henning Ahlert, Ralph Dommermuth, >> Matthias Ehrlich, Andreas Gauger, >> Thomas Gottschlich, Matthias Greve, >> Robert Hoffmann, Markus Huhn, >> Achim Weiss >> Aufsichtsratsvorsitzender: Michael Scheeren >> >> signature.asc >> 1KDownload > >--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Stanislaw:
We''ve considered the same issue when putting together our own puppet
installation. Something that we''re trying out is creating a custom
fact,
latestpuppetversion, that has a hard-coded version number. We then have
a manifest that checks $latestpuppetversion against $puppetversion and
creates a couple of execs if they are different. We''re hoping that this
gives us control over how and when we upgrade the puppet distribution on
our nodes, and making it a puppet-managed process should let us roll out
updates gradually if we like.
James Bellenger.
Stasheck wrote:
| OK, but I forgot to tell you - I am installing puppets from tarball,
| since many of my machines are Debian Sarge, and there''s no packet for
| it.
|
| Any other ideas?
|
| regards,
| Stanislaw
|
| On May 14, 4:41 pm, Phillip Scholz <phillip.sch...@1und1.de> wrote:
|> One example for debian:
|>
|> package { puppet:
|> ensure => latest,
|> }
|>
|> package { puppetmaster:
|> ensure => latest,
|> }
|>
|> Regards
|>
|> Stasheck schrieb:
|>
|>> I was wondering about it, but I have complete mind-block. How should I
|>> upgrade puppet using puppet?
|>> regards,
|>> Stanislaw
|> --
|> Phillip Scholz
|> Junior Linux System-Administrator
|> IT Shared Hosting Linux - SaaS, Karlsruhe
|>
|> 1&1 Internet AG
|> Brauerstraße 48
|> D-76135 Karlsruhe
|>
|> Tel. +49-721-91374-4818
|> phillip.sch...@1und1.dehttp://www.1und1.de/
|>
|> Amtsgericht Montabaur HRB 6484
|>
|> Vorstand: Henning Ahlert, Ralph Dommermuth,
|> Matthias Ehrlich, Andreas Gauger,
|> Thomas Gottschlich, Matthias Greve,
|> Robert Hoffmann, Markus Huhn,
|> Achim Weiss
|> Aufsichtsratsvorsitzender: Michael Scheeren
| |
|
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)
iD4DBQFIMaYw8TYLVDRcCYURApKCAKCCR0x2Qlo0ZmdeLoB9yewrO6ptkwCXe17h
u03PUgy74xTxV3hKeuEd1A==iRY7
-----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
-~----------~----~----~----~------~----~------~--~---