aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authordavid <david@f03ff2f1-f02d-0410-970d-b9634babeaa1>2007-07-14 09:42:37 +0000
committerdavid <david@f03ff2f1-f02d-0410-970d-b9634babeaa1>2007-07-14 09:42:37 +0000
commit888a4c1a064f2c415984ce47406417249a66344b (patch)
tree9f503c74f67876d40fbc347a72e2aff4d21eac70 /manifests
parent27aebdb0668088eb574c696ce6766eed89b0869f (diff)
downloadpuppet-apt-888a4c1a064f2c415984ce47406417249a66344b.tar.gz
puppet-apt-888a4c1a064f2c415984ce47406417249a66344b.tar.bz2
rename all $bas_dir variables
git-svn-id: http://club.black.co.at:82/svn/manifests/trunk@123 f03ff2f1-f02d-0410-970d-b9634babeaa1
Diffstat (limited to 'manifests')
-rw-r--r--manifests/init.pp10
1 files changed, 5 insertions, 5 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index fa8a7e3..53e2093 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -41,13 +41,13 @@ class apt {
before => File[apt_config];
}
- $base_dir = "/var/lib/puppet/modules/apt"
+ $apt_base_dir = "/var/lib/puppet/modules/apt"
file {
# remove my legacy files
[ "/etc/apt/backports.key", "/etc/apt/apt.conf.d/local-conf" ]:
ensure => removed;
# create new modules dir
- $base_dir: ensure => directory;
+ $apt_base_dir: ensure => directory;
# watch apt.conf.d
"/etc/apt/apt.conf.d": ensure => directory, checksum => mtime;
}
@@ -85,14 +85,14 @@ class apt {
# This key was downloaded from
# http://backports.org/debian/archive.key
# and is needed to bootstrap the backports trustpath
- file { "${base_dir}/backports.org.key":
+ file { "${apt_base_dir}/backports.org.key":
source => "puppet://$servername/apt/backports.org.key",
mode => 0444, owner => root, group => root,
before => File[apt_config],
}
- exec { "/usr/bin/apt-key add ${base_dir}/backports.org.key":
+ exec { "/usr/bin/apt-key add ${apt_base_dir}/backports.org.key":
refreshonly => true,
- subscribe => File["${base_dir}/backports.org.key"],
+ subscribe => File["${apt_base_dir}/backports.org.key"],
before => File[apt_config],
}
}