aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/init.pp7
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,
+ }
}
}