diff options
| author | alex <alex@pdp7.net> | 2026-03-13 20:27:23 +0100 |
|---|---|---|
| committer | alex <alex@pdp7.net> | 2026-03-13 20:27:23 +0100 |
| commit | 03ccfd43b84379107e8377b19691428269d74c05 (patch) | |
| tree | 90e68000abacfe10af92652b31f79e82d74ebe3b | |
| parent | 6938e1b459a0f323172167b8c9a2b2cbaa116b50 (diff) | |
Mount filer
| -rw-r--r-- | personal_infra/puppet/site/stb.mad.int.pdp7.net.pp | 26 |
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:*] |
