Hey all, Are there any patterns or recommendations on uninstalling or downgrading a puppet module (read as software) on a node? An example would be that we''re running with =>latest or a specific version of rpms and have decided that there is a bug or problem with the software and that we we want to go to a previous version. Obviously rpm supports a downgrade but that''s not really reliable and kind of hurts the brain. I was hoping that somebody as solved this with a burn-down type module that can bring a box down (while it''s being downgraded) and then re-install/configure to the correct version. The trick to this burn-down is can you support a way of only doing a partial burn-down (of just a module) so as not to disturb data, or would it have to be the whole box? I''m thinking exported resources could help here but I can''t quite see how. Thanks for any ideas or suggestions! -- 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, Apr 30, 2012 at 3:24 PM, Chris Hirsch <chris@base2technology.com> wrote:> Are there any patterns or recommendations on uninstalling or downgrading a > puppet module (read as software) on a node?I have a puppet-newrelic module for a pay-per-seat monitoring package that I uninstall when I''m done using it on a particular server. I patterned my class after the puppet ''package'' type, adding an ensure => present parameter to my class, which I set to absent when I''m done with it. I''m sure you could use conditionals to do what you need with ensure => <version>. -- 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.