summaryrefslogtreecommitdiff
path: root/manifests/common/debian.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/common/debian.pp')
-rw-r--r--manifests/common/debian.pp9
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
+ }
+}