X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;ds=sidebyside;f=modules%2Fsalsa%2Fmanifests%2Finit.pp;h=5b4934c801307eedf6b02762d4e6c60058760e14;hb=dcbeb6f9496a1e5ce833d3cf8b0f0b9be2d7d566;hp=519fdaee4d0e469f1019a131abf6bf00595362e5;hpb=9e1f74ad62a130347719115d4248d0dc1170d0c2;p=mirror%2Fdsa-puppet.git diff --git a/modules/salsa/manifests/init.pp b/modules/salsa/manifests/init.pp index 519fdaee4..5b4934c80 100644 --- a/modules/salsa/manifests/init.pp +++ b/modules/salsa/manifests/init.pp @@ -55,4 +55,22 @@ class salsa inherits salsa::params { file { "/var/lib/systemd/linger/git": ensure => present, } + file { "/etc/ssh/userkeys/git": + ensure => link, + target => "${salsa::home}/.ssh/authorized_keys", + } + # pages + file { "/etc/network/interfaces.d/pages.debian.net.conf": + content => @("EOF"), + iface eth0 inet static + address 209.87.16.45/24 + iface eth0 inet6 static + address 2607:f8f0:614:1::1274:45/64 + preferred-lifetime 0 + | EOF + notify => Exec['service networking reload'], + } + exec { 'service networking reload': + refreshonly => true, + } }