aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2010-08-09 14:37:54 +0200
committermh <mh@immerda.ch>2010-08-09 14:37:54 +0200
commit604cef0cc93725118d34f16e9133d0cc81b12c79 (patch)
treef5651e39fb669378a54952fa5b4b5fb398dc9031
parentd1f120fd2d0f2285b862acca77f2367aaaf2f1bc (diff)
downloadpuppet-apt-604cef0cc93725118d34f16e9133d0cc81b12c79.tar.gz
puppet-apt-604cef0cc93725118d34f16e9133d0cc81b12c79.tar.bz2
fix relation
-rw-r--r--manifests/init.pp8
1 files changed, 4 insertions, 4 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 5ec798e..d1f5cfe 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -59,10 +59,10 @@ class apt {
subscribe => [ File["/etc/apt/sources.list"],
File["/etc/apt/preferences"],
File["/etc/apt/apt.conf.d"],
- File[apt_config] ];
+ Config_file[apt_config] ];
"/usr/bin/apt-get update && /usr/bin/apt-get autoclean #hourly":
require => [ File["/etc/apt/sources.list"],
- File["/etc/apt/preferences"], File[apt_config] ],
+ File["/etc/apt/preferences"], Config_file[apt_config] ],
loglevel => info,
# Another Semaphor for all packages to reference
alias => apt_updated;
@@ -103,7 +103,7 @@ class apt {
alias => "backports_key",
refreshonly => true,
subscribe => File["${apt_base_dir}/backports.org.key"],
- before => [ File[apt_config], Package["debian-backports-keyring"] ]
+ before => [ Config_file[apt_config], Package["debian-backports-keyring"] ]
}
}
}
@@ -122,7 +122,7 @@ class apt {
alias => "custom_keys",
subscribe => File["${apt_base_dir}/keys.d"],
refreshonly => true,
- before => File[apt_config];
+ before => Config_file[apt_config];
}
}
}