--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To post to this group, send email to puppet...@googlegroups.com.
To unsubscribe from this group, send email to puppet-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
If the rpm/deb script attempts to restart the service, that will stop
puppet in the middle of the execution of the pkg manager itself.
(Unless there's special handling of this case implemented somewhere in
the toolchain -- see sshd).
Seems safer to download the package file and schedule through
something that decouples the pkg manager from the puppet client
process.
m
--
martin....@gmail.com
mar...@laptop.org -- School Server Architect
- ask interesting questions
- don't get distracted with shiny stuff - working code first
- http://wiki.laptop.org/go/User:Martinlanghoff
I don't think it's a matter of working on it on the server side of puppet.
> Perhaps having the puppet (and facter) gem reside in a puppet://files/
> URL
rpm, dpkg or gems, it doesn't really change the risk, nor the
complication. You need something that says:
- stop the service
- run command X (with no calls to elements of the package itself) --
rollback if it fails
- start the service
Hard to do right.
cheers,
> On Oct 8, 1:18 pm, Disconnect <dc.disconn...@gmail.com> wrote:
>> We just use packages:
>> package { "puppet": ensure => latest }
>
> Seconded, mostly. We target specific versions, and test in a lab
> first, but self upgrades work. We've gone through up, and down, grades
> of multiple versions of .24, .25, and 2.6. In every case that I can
> recall we just let puppet update itself without incident.
What packages do you do this with? The three I've heard people ask about the most are gems, rpms, and debs.
I've noticed that deb seems to work fine in this scenario. I'm seeing
problems with RPMs in SUSE environments, because the restart using init
script doesn't seem to work (sometimes?).
Regards,
Felix
Thanks for posting the code snippet.
We haven't been building RPMs for internal use; so, I certainly could
work on that. I think we might be able to do a filesystem tree copy
-- for example, track the files that get installed on the master
server, then copy those to the files repository under puppet,
replicate from there.
For that matter, I still think it would be useful if puppet's default
install script would include a switch for "master" and "client" so
that you don't get the entire distribution installed when it doesn't
need to be.
I'm finding that as (being a newbie) I rollout Puppet and these new
releases come about, it's becoming more necessary that I find some
cogent means to update puppet through the clients. Doing this
manually just simply sucks and wastes time ;-)
My process of rolling out ruby is pretty much the same, only I compile
it locally then distribute the object/compiled code and install from
there on the hosts.
Thanks...
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To post to this group, send email to puppet...@googlegroups.com.
To unsubscribe from this group, send email to puppet-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.