aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2009-10-30 22:19:07 +0100
committermh <mh@immerda.ch>2009-10-30 22:19:07 +0100
commit848dff40a3b77ad5fe19d6e634bdfd0fa93d5cb4 (patch)
tree8ea3fa7c1c53446f488af43dab3ba306a1db3519
parent17be8ac18445cd2dd0db693aead10e5afc74fe19 (diff)
downloadpuppet-apt-848dff40a3b77ad5fe19d6e634bdfd0fa93d5cb4.tar.gz
puppet-apt-848dff40a3b77ad5fe19d6e634bdfd0fa93d5cb4.tar.bz2
fixing requirements
-rw-r--r--manifests/init.pp7
1 files changed, 5 insertions, 2 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index eaf6bb8..1d0bc38 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -11,7 +11,10 @@ class apt {
default => $apt_clean,
}
- package { apt: ensure => installed }
+ package { apt:
+ ensure => installed,
+ require => undef,
+ }
case $custom_sources_list {
'': {
@@ -21,7 +24,7 @@ class apt {
include lsb
config_file { "/etc/apt/sources.list":
content => $custom_sources_list,
- require => Exec['lsb'];
+ require => Package['lsb'];
}
}
}