Re: [Puppet Users] Package fails to install while the remainder of the manifest is processed and applied.

2014-04-22 Thread Adam Breaux
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ó: >

[Puppet Users] Package fails to install while the remainder of the manifest is processed and applied.

2014-04-22 Thread Adam Breaux
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