Tuesday, April 22, 2014 12:42:42 PM UTC-4, Jose Luis Ledesma wrote:
>
> Could be that the selector is not returning what you expect?
>
> Btw i think that its easier to use $::osfamily
>
> Regards,
> El 22/04/2014 18:35, "Adam Breaux" >
> escribió:
>
Here's the relevant code (init.pp):
class varnish {
$required = $::operatingsystem ? {
/(?i-mx:centos|fedora|redhat|scientific)/ => [ 'varnish',
'varnish-libs' ],
}
package { $required: ensure => 'latest' }
file { '/etc/varnish':
ensure => directory,
owner => 'root',
grou