diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2022-03-06 23:39:00 +0100 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2022-03-06 23:39:00 +0100 |
commit | bf0394007e6df56be322ac9e95bc61d00c21ddd2 (patch) | |
tree | 1e054d2969840c5fa87356f1caaaf69f88e7f92b /manifests | |
parent | common auto pull os family common. (diff) | |
download | profiles-bf0394007e6df56be322ac9e95bc61d00c21ddd2.tar.gz profiles-bf0394007e6df56be322ac9e95bc61d00c21ddd2.tar.xz |
Debian common auto fix puppets apt.list.
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/common/debian.pp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/manifests/common/debian.pp b/manifests/common/debian.pp new file mode 100644 index 0000000..0f00454 --- /dev/null +++ b/manifests/common/debian.pp @@ -0,0 +1,9 @@ +class profiles::common::debian { + $name = $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 + | EOF + } +} |