hi ,all how to update the puppet from 0.22.4 to 0.23.2 . just install it ? is there have some thing need to be be careful ? when update the server and client,all just install the new version ? please help me ,because I use the puppet in product servers,so I need be careful. :D -- Huang Mingyou
--On Friday, September 21, 2007 5:42 PM +0800 huang mingyou <therods@gmail.com> wrote:> hi ,all > how to update the puppet from 0.22.4 to 0.23.2 . just install it ? > is there have some thing need to be be careful ? when update the > server and client,all just install the new version ? > please help me ,because I use the puppet in product servers,so I need > be careful. :DYes, it should be fine just to upgrade. But if you use the Debian packages, and your certs are under /etc/puppet/ssl, they may be moved to /var/lib/puppet/ssl, and you''ll want to make sure your configuration looks for them there. Or you can design and distribute a puppet.conf (since puppetd.conf and puppetmasterd.conf are deprecated in 0.23.2) which specifies where the ssl dir is, in which case, the package won''t move it. Other than that little issue, I haven''t found any quirks between 0.22.4 and 0.23.2.
oh,yes,it''s very simple. I have anoter question about how can I use the puppet server distribult the new version install package to all the puppet clients and it will be upgrade by puppet self ? On 22/09/2007, Digant C Kasundra <digant@stanford.edu> wrote:> --On Friday, September 21, 2007 5:42 PM +0800 huang mingyou > <therods@gmail.com> wrote: > > > hi ,all > > how to update the puppet from 0.22.4 to 0.23.2 . just install it ? > > is there have some thing need to be be careful ? when update the > > server and client,all just install the new version ? > > please help me ,because I use the puppet in product servers,so I need > > be careful. :D > > Yes, it should be fine just to upgrade. But if you use the Debian > packages, and your certs are under /etc/puppet/ssl, they may be moved to > /var/lib/puppet/ssl, and you''ll want to make sure your configuration looks > for them there. Or you can design and distribute a puppet.conf (since > puppetd.conf and puppetmasterd.conf are deprecated in 0.23.2) which > specifies where the ssl dir is, in which case, the package won''t move it. > Other than that little issue, I haven''t found any quirks between 0.22.4 and > 0.23.2. > > > _______________________________________________ > Puppet-users mailing list > Puppet-users@madstop.com > https://mail.madstop.com/mailman/listinfo/puppet-users >-- Huang Mingyou
I use a this code do auto upgrade:
exec{
"upgrade puppet":
command => "cd /usr/local;tar zxf
src/puppet-0.23.2.tgz;cd puppet-0.23.2;ruby install.rb",
unless => "test -d /usr/local/puppet-0.23.2";
}
file{
"/usr/local/src/puppet-0.23.2.tgz":
before => exec["upgrade puppet"],
source =>
"puppet://$fileserver/dbp/puppet-0.23.2.tgz";
}
looks like it''s all ok.
On 22/09/2007, huang mingyou <therods@gmail.com>
wrote:> oh,yes,it''s very simple. I have anoter question about how can I
use
> the puppet server distribult the new version install package to all
> the puppet clients and it will be upgrade by puppet self ?
>
> On 22/09/2007, Digant C Kasundra <digant@stanford.edu> wrote:
> > --On Friday, September 21, 2007 5:42 PM +0800 huang mingyou
> > <therods@gmail.com> wrote:
> >
> > > hi ,all
> > > how to update the puppet from 0.22.4 to 0.23.2 . just install
it ?
> > > is there have some thing need to be be careful ? when update the
> > > server and client,all just install the new version ?
> > > please help me ,because I use the puppet in product servers,so I
need
> > > be careful. :D
> >
> > Yes, it should be fine just to upgrade. But if you use the Debian
> > packages, and your certs are under /etc/puppet/ssl, they may be moved
to
> > /var/lib/puppet/ssl, and you''ll want to make sure your
configuration looks
> > for them there. Or you can design and distribute a puppet.conf (since
> > puppetd.conf and puppetmasterd.conf are deprecated in 0.23.2) which
> > specifies where the ssl dir is, in which case, the package
won''t move it.
> > Other than that little issue, I haven''t found any quirks
between 0.22.4 and
> > 0.23.2.
> >
> >
> > _______________________________________________
> > Puppet-users mailing list
> > Puppet-users@madstop.com
> > https://mail.madstop.com/mailman/listinfo/puppet-users
> >
>
>
> --
> Huang Mingyou
>
--
Huang Mingyou