summaryrefslogtreecommitdiff
path: root/manifests/init.pp
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2009-10-30 22:04:48 +0100
committermh <mh@immerda.ch>2009-10-30 22:04:48 +0100
commit17be8ac18445cd2dd0db693aead10e5afc74fe19 (patch)
tree2cf00a458bb9b274ff8bb9fc72b599aad09eec15 /manifests/init.pp
parent61142025e7cf0a12473fce9b31c887cfc90f429d (diff)
switch to new lsb way
Diffstat (limited to 'manifests/init.pp')
-rw-r--r--manifests/init.pp6
1 files changed, 2 insertions, 4 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index c2dd547..eaf6bb8 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -13,17 +13,15 @@ class apt {
package { apt: ensure => installed }
- # a few templates need lsbdistcodename
- include assert_lsbdistcodename
-
case $custom_sources_list {
'': {
include apt::default_sources_list
}
default: {
+ include lsb
config_file { "/etc/apt/sources.list":
content => $custom_sources_list,
- require => Exec[assert_lsbdistcodename];
+ require => Exec['lsb'];
}
}
}