On 06/27/2013 11:22 AM, David Jarosch wrote:
if the $operatingsystemrelease is bigger/equal then 6.0.0 but smaller then 7.0.0 then provide source.list.debian6 if else $operatingsystemrelease is bigger/equal 7.0.0 then provide source.list.debian7 else do nothing
Maybe you can use something like this: case $::operatingsystemrelease { default: {} /^6.*/: { file { 'bla': source => 'bla6', } } /^7.*/: { file { 'bla': source => 'bla7', } } } -- Jakov Sosic www.srce.unizg.hr -- 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 puppet-users+unsubscr...@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users. For more options, visit https://groups.google.com/groups/opt_out.