On 10/26/2012 2:19 AM, Gavin Williams wrote:
Morning all

Not sure on the best place to raise this, so thought I'd start here...

I'm starting to work with Puppet and Oracle Linux 6.1.
Unfortunately I'm finding a lot of existing modules aren't working with
OL 6.1, because they're coded to expect an operatingsystem fact of oel.
However at OL 6, the operatingsystem fact is now OracleLinux.

You may want to create pull requests for the modules referencing the tickets John mentioned and convert oel to a more inclusive regex. Or just make the changes locally to your repo.

  $file = $::operatingsystem ? {
    /(?i:oel|oraclelinux)/ => '/some/file',
    /(?i:debian|ubuntu)/   => '/some/other/file',
    default                => '/file',
  }

etc etc.

Ramin

--
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to