Adam Breaux
2014-Apr-22 16:30 UTC
[Puppet Users] Package fails to install while the remainder of the manifest is processed and applied.
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',
group => 'root',
mode => '0750',
}
group { 'varnish':
ensure => present,
gid => 241,
}
user { 'varnish':
ensure => present,
gid => 241,
home => '/var/lib/varnish',
shell => '/sbin/nologin',
managehome => true,
uid => 241,
}
}
The user is created, the folder settings are applied but the package NEVER
installs. It generates no errors either.
--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/38fbf242-389a-4c07-a358-3c567da98411%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.