Try the lsbdistdescription fact. You'll need to install lsb-release to get it though.
On Wed, May 28, 2014 at 01:37:11AM -0700, AAB !! wrote: > Hi, > I want the puppet agent to check replace some file if the OS is debian > squeeze and if it is debian wheezy then these changes should not be > implemented. > Could someone help me ? > Regards > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [1][email protected]. > To view this discussion on the web visit > > [2]https://groups.google.com/d/msgid/puppet-users/da889e7c-a0dd-4627-ad2a-8b74ecf80aab%40googlegroups.com. > For more options, visit [3]https://groups.google.com/d/optout. > > References > > Visible links > 1. mailto:[email protected] > 2. > https://groups.google.com/d/msgid/puppet-users/da889e7c-a0dd-4627-ad2a-8b74ecf80aab%40googlegroups.com?utm_medium=email&utm_source=footer > 3. https://groups.google.com/d/optout -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/20140528101945.GA22755%40iniquitous.heresiarch.ca. For more options, visit https://groups.google.com/d/optout.
