Hi. How do you handle CentOS updates/upgrades with puppet? Is there only way to count all the packages and put them in manifests like: package: ensure=>latest, I am evaluating puppet, and currently I have problem with upgrading from CentOS 5.x->5.x+1. ty. -- 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.
Slightly off-topic but still important imho: Read Q24 in the CentOS FAQ: http://wiki.centos.org/FAQ/General. Officially major version upgrades are not supported, but more importantly, they are not recommended. cheers, Walter On Mon, Mar 12, 2012 at 17:46, Jakov Sosic <jsosic@srce.hr> wrote:> Hi. > > How do you handle CentOS updates/upgrades with puppet? Is there only way to > count all the packages and put them in manifests like: > > package: ensure=>latest, > > > I am evaluating puppet, and currently I have problem with upgrading from > CentOS 5.x->5.x+1. > > ty. > > > -- > 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. >-- Walter Heck -- follow @walterheck on twitter to see what I''m up to! -- Check out my new startup: Server Monitoring as a Service @ http://tribily.com Follow @tribily on Twitter and/or ''Like'' our Facebook page at http://www.facebook.com/tribily -- 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 03/12/2012 11:07 AM, Walter Heck wrote:> Slightly off-topic but still important imho: Read Q24 in the CentOS > FAQ: http://wiki.centos.org/FAQ/General. Officially major version > upgrades are not supported, but more importantly, they are not > recommended.Hi. I know that major version upgrades are not recomended (for example 4->5 or 5->6). But I am asking about minor upgrades, note the 5.x -> 5.x+1 formula in original question. -- 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 12.3.2012 11:07, Walter Heck wrote:> Slightly off-topic but still important imho: Read Q24 in the CentOS > FAQ: http://wiki.centos.org/FAQ/General. Officially major version > upgrades are not supported, but more importantly, they are not > recommended.Yes, but I think Jakov was talking about minor version upgrades, e.g. upgrade from 5.7 to 5.8 and such updates are supported of course. A major upgrade would be from 5.x to 6.x> On Mon, Mar 12, 2012 at 17:46, Jakov Sosic <jsosic@srce.hr> wrote: >> How do you handle CentOS updates/upgrades with puppet? Is there only way to >> count all the packages and put them in manifests like: >> >> package: ensure=>latest, >> >> >> I am evaluating puppet, and currently I have problem with upgrading from >> CentOS 5.x->5.x+1.-- Kind Regards, Markus Falb
On Mar 12, 4:46 am, Jakov Sosic <jso...@srce.hr> wrote:> Hi. > > How do you handle CentOS updates/upgrades with puppet? Is there only way > to count all the packages and put them in manifests like: > > package: ensure=>latest, > > I am evaluating puppet, and currently I have problem with upgrading from > CentOS 5.x->5.x+1.If your yum repositories are configured to point at the generic URLs for your CentOS major version (and Puppet can ensure that), then you could put this in your manifests to keep all installed packages up to date: exec { ''update-all-packages'': command => ''/usr/bin/yum update'' } Really, however, performing a singular action such as an operating system update is not what Puppet is designed to do. Any way you try to do it with Puppet has its problems, including the above Exec. This sort of job more appropriate for MCollective or a similar tool. John -- 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 Mon, Mar 12, 2012 at 20:37, Jakov Sosic <jsosic@srce.hr> wrote:> I know that major version upgrades are not recomended (for example 4->5 or > 5->6). But I am asking about minor upgrades, note the 5.x -> 5.x+1 formula > in original question.My bad, I read that as (5.x)+1 instead of as 5.(x+1) ;) -- Walter Heck -- follow @walterheck on twitter to see what I''m up to! -- Check out my new startup: Server Monitoring as a Service @ http://tribily.com Follow @tribily on Twitter and/or ''Like'' our Facebook page at http://www.facebook.com/tribily -- 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.