aboutsummaryrefslogtreecommitdiff
path: root/manifests/params.pp
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2013-03-20 22:09:29 +0100
committerintrigeri <intrigeri@boum.org>2013-03-20 22:09:29 +0100
commit5ec8ffb4ef1bdb6194d306f4e24b063b83c09982 (patch)
treefc026e76bc862d9516d9ed71a93b41fc651f04a6 /manifests/params.pp
parentf0a107ffeecaf968a8abcd51220d5e42b4b36095 (diff)
downloadpuppet-apt-5ec8ffb4ef1bdb6194d306f4e24b063b83c09982.tar.gz
puppet-apt-5ec8ffb4ef1bdb6194d306f4e24b063b83c09982.tar.bz2
Move apt class parameters to a ::params class.
This brings no behaviour change yet, but will allow to set class parameters' default value depending on system facts.
Diffstat (limited to 'manifests/params.pp')
-rw-r--r--manifests/params.pp14
1 files changed, 14 insertions, 0 deletions
diff --git a/manifests/params.pp b/manifests/params.pp
new file mode 100644
index 0000000..f71570b
--- /dev/null
+++ b/manifests/params.pp
@@ -0,0 +1,14 @@
+class apt::params () {
+ $codename = $::lsbdistcodename
+ $use_volatile = false
+ $include_src = false
+ $use_next_release = false
+ $debian_url = 'http://http.debian.net/debian/'
+ $security_url = 'http://security.debian.org/'
+ $backports_url = 'http://backports.debian.org/debian-backports/'
+ $volatile_url = 'http://volatile.debian.org/debian-volatile/'
+ $ubuntu_url = 'http://archive.ubuntu.com/ubuntu'
+ $repos = 'auto'
+ $custom_preferences = ''
+ $disable_update = false
+}