summaryrefslogtreecommitdiff
path: root/manifests/apticron.pp
diff options
context:
space:
mode:
authorJerome Charaoui <jcharaoui@cmaisonneuve.qc.ca>2015-05-11 10:49:27 -0400
committerJerome Charaoui <jcharaoui@cmaisonneuve.qc.ca>2015-05-11 12:01:35 -0400
commitd007a403330c553d925b1b4888d93962a5f83f99 (patch)
tree005b4ef8a8fc558a6cb143b3252e8694eada215c /manifests/apticron.pp
parent87bfb868d7625100086a26a81743f5adbabbb988 (diff)
Replace debian_*() parser functions with facts
* Removes dependency on lsb-release and/or Facter >1.7 (values are based on $::lsbdistcodename, when available) * Simplifies maintenance: only lib/facter/util/* require updates as new releases are made Caveats: * apt::codename is removed; to override debian_* facts, set the FACTER_debian_codename environment variable for puppet * If tracking unstable, make sure lsb-release is installed, as other methods can't tell between testing and unstable
Diffstat (limited to 'manifests/apticron.pp')
-rw-r--r--manifests/apticron.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/apticron.pp b/manifests/apticron.pp
index 54d7b71..9c94f9c 100644
--- a/manifests/apticron.pp
+++ b/manifests/apticron.pp
@@ -1,6 +1,6 @@
class apt::apticron(
$ensure_version = 'installed',
- $config = "apt/${::operatingsystem}/apticron_${::lsbdistcodename}.erb",
+ $config = "apt/${::operatingsystem}/apticron_${::debian_codename}.erb",
$email = 'root',
$diff_only = '1',
$listchanges_profile = 'apticron',