diff options
author | drebs <drebs@riseup.net> | 2014-09-01 14:49:00 -0300 |
---|---|---|
committer | drebs <drebs@riseup.net> | 2014-09-01 14:49:00 -0300 |
commit | ce9e9dc49da4c8320141b20d333e393e88dc3d8b (patch) | |
tree | 3aeef289332667ce6713fd8a285e2000de7b7868 | |
parent | fddea1d8fe92c6f2cb4d40127887ddad6f1286c9 (diff) | |
download | puppet-dyndns-master.tar.gz puppet-dyndns-master.tar.bz2 |
-rw-r--r-- | manifests/init.pp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index c2db3c5..0a98d49 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -15,8 +15,11 @@ class dyndns { ensure => absent, } - package { 'wget': - ensure => present, + # Might be defined elsewhere + if !defined(Package['wget']) { + package { 'wget': + ensure => installed, + } } } |