Hi folks, I''d like to say puppet. If the standart config file, delivered by dpkg, is changed and has also not the same md5sum as the file I want to deliver with puppet. Do nothing :) OK guys.. that was not my idea! I say everything has to be changed in puppet and not by hand. Or Maybe there is a way to use facter for it?! Thank''s for your recommendations! Jonesi -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/n2Gl5nwHdY8J. 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.
Davide Ferrari
2012-Aug-29 14:10 UTC
Re: [Puppet Users] Don''t touch non-default config files
On 29/08/12 15:10, Jones wrote:> > I''d like to say puppet. > If the standart config file, delivered by dpkg, is changed and has > also not the same md5sum as > the file I want to deliver with puppet. Do nothing :) > > OK guys.. that was not my idea! I say everything has to be changed in > puppet and not by hand.Just for the sake of curiosity: why don''t you just prepare your puppet conf to be like the default conf for that package? It''s easier and saner IMO. -- Davide Ferrari Senior System Administrator Trovit Search http://www.trovit.com -- 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.
Johannes Reichhardt
2012-Aug-29 14:57 UTC
Re: [Puppet Users] Don''t touch non-default config files
If it''s default it should use the puppet version... but if someone changed it puppet should do nothing. That''s the little issue :/ Am 29.08.2012 16:21 schrieb "Davide Ferrari" <davide@trovit.com>:> > On 29/08/12 15:10, Jones wrote: >> >> >> I''d like to say puppet. >> If the standart config file, delivered by dpkg, is changed and has alsonot the same md5sum as>> the file I want to deliver with puppet. Do nothing :) >> >> OK guys.. that was not my idea! I say everything has to be changed inpuppet and not by hand.> > > Just for the sake of curiosity: why don''t you just prepare your puppetconf to be like the default conf for that package? It''s easier and saner IMO.> > -- > Davide Ferrari > Senior System Administrator > Trovit Search http://www.trovit.com > > > -- > 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 topuppet-users+unsubscribe@googlegroups.com.> For more options, visit this group athttp://groups.google.com/group/puppet-users?hl=en.>-- 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.
Davide Ferrari
2012-Aug-29 15:03 UTC
Re: [Puppet Users] Don''t touch non-default config files
On 29/08/12 16:57, Johannes Reichhardt wrote:> If it''s default it should use the puppet version... but if someone > changed it puppet should do nothing.That''s the wrong approach. if you are managing a resource through puppet, then ALL changes go through puppet, otherwise it''s a mess, and then puppet it''s not what you want. You probably want some system deploy application like FAI and then manual resource management. -- Davide Ferrari Senior System Administrator Trovit Search http://www.trovit.com -- 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.
jcbollinger
2012-Aug-29 19:06 UTC
Re: [Puppet Users] Don''t touch non-default config files
On Wednesday, August 29, 2012 9:57:13 AM UTC-5, Jones wrote:> > If it''s default it should use the puppet version... but if someone changed > it puppet should do nothing. > That''s the little issue :/ >It sounds like you want Puppet to manage the file content under some circumstances, but not under others. If that''s so, then how do you expect Puppet to discern which case applies? How would you determine that manually? John -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/Ua3LwUasd-MJ. 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.