Allow for python-daemon already defined
log_processor class may be applied to a server along with other classes also declaring python-daemon as a dependency. As puppet cannmot handle this, add a if defined check. Change-Id: I40dc68bd93f113912373cb10b376819d30eb3087
This commit is contained in:
parent
d7d9d50ee2
commit
08274f5f35
@ -17,8 +17,10 @@
|
||||
#
|
||||
class log_processor (
|
||||
) {
|
||||
package { 'python-daemon':
|
||||
ensure => present,
|
||||
if ! defined(Package['python-daemon']) {
|
||||
package { 'python-daemon':
|
||||
ensure => present,
|
||||
}
|
||||
}
|
||||
|
||||
package { 'python-zmq':
|
||||
|
Loading…
x
Reference in New Issue
Block a user