summaryrefslogtreecommitdiff
path: root/manifests/repo.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/repo.pp')
-rw-r--r--manifests/repo.pp13
1 files changed, 13 insertions, 0 deletions
diff --git a/manifests/repo.pp b/manifests/repo.pp
index bb1b23e..209046a 100644
--- a/manifests/repo.pp
+++ b/manifests/repo.pp
@@ -8,5 +8,18 @@ class profiles::repo {
sig_level => 'Optional',
}
}
+ 'Debian': {
+ $cn = $facts['os']['distro']['codename']
+ $content = @("EOF")
+ # File managed by Puppet
+ # Local changes WILL be overwritten
+ deb [trusted=yes] https://repo.adrift.space/debian ${cn} main
+ deb-src [trusted=yes] https://repo.adrift.space/debian ${cn} main
+ | EOF
+ file { '/etc/apt/sources.list.d/adrift-space.list':
+ ensure => 'file',
+ content => $content,
+ }
+ }
}
}