summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2022-03-10 23:06:12 +0100
committerHugo Hörnquist <hugo@lysator.liu.se>2022-03-10 23:06:12 +0100
commitb1bdc025fbc1c5cb6f5ac2aa10cf276ed34d0a80 (patch)
treef5c9144150b9d0f38cc21156e3b8a6b6b2824a3b
parentDebian common auto fix puppets apt.list. (diff)
downloadprofiles-b1bdc025fbc1c5cb6f5ac2aa10cf276ed34d0a80.tar.gz
profiles-b1bdc025fbc1c5cb6f5ac2aa10cf276ed34d0a80.tar.xz
Fix profiles::common::debian using $name.
-rw-r--r--manifests/common/debian.pp6
1 files changed, 3 insertions, 3 deletions
diff --git a/manifests/common/debian.pp b/manifests/common/debian.pp
index 0f00454..1915d50 100644
--- a/manifests/common/debian.pp
+++ b/manifests/common/debian.pp
@@ -1,9 +1,9 @@
class profiles::common::debian {
- $name = $facts['os']['distro']['codename']
+ $codename = $facts['os']['distro']['codename']
file { '/etc/apt/sources.list.d/puppet7.list':
content => @("EOF")
- # Puppet 7 ${name} Repository
- deb http://apt.puppetlabs.com ${name} puppet7
+ # Puppet 7 ${codename} Repository
+ deb http://apt.puppetlabs.com ${codename} puppet7
| EOF
}
}