aboutsummaryrefslogtreecommitdiff
path: root/personal_infra
diff options
context:
space:
mode:
Diffstat (limited to 'personal_infra')
-rw-r--r--personal_infra/puppet/site/stb.mad.int.pdp7.net.pp26
1 files changed, 26 insertions, 0 deletions
diff --git a/personal_infra/puppet/site/stb.mad.int.pdp7.net.pp b/personal_infra/puppet/site/stb.mad.int.pdp7.net.pp
index 5ddab4b0..a2d4c8bf 100644
--- a/personal_infra/puppet/site/stb.mad.int.pdp7.net.pp
+++ b/personal_infra/puppet/site/stb.mad.int.pdp7.net.pp
@@ -15,6 +15,32 @@ node 'stb.mad.int.pdp7.net' {
package {['kodi', 'lightdm']:}
+ file {'/srv/filer':
+ ensure => directory,
+ }
+
+ package {'nfs-common':}
+ ->
+ file {'/etc/systemd/system/srv-filer.mount':
+ content => @(EOT)
+ [Mount]
+ What=dixie.bcn.int.pdp7.net:/srv/filer
+ Where=/srv/filer
+ Type=nfs
+
+ [Install]
+ WantedBy=multi-user.target
+ | EOT
+ }
+ ~>
+ exec {'/usr/bin/systemctl daemon-reload':}
+ ->
+ service {'srv-filer.mount':
+ ensure => running,
+ enable => true,
+ require => File['/srv/filer'],
+ }
+
file {'/etc/lightdm/lightdm.conf':
content => @(EOT)
[Seat:*]