summaryrefslogtreecommitdiff
path: root/manifests/mounts.pp
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2022-02-06 13:58:19 +0100
committerHugo Hörnquist <hugo@lysator.liu.se>2022-02-09 18:06:59 +0100
commit7c09ecbf9074b3f1d77faea0425a773af5bbb2eb (patch)
tree7a4515a56818e0277164b0321cbf630227d213ca /manifests/mounts.pp
parentRaspberry builder extra packages. (diff)
downloadprofiles-7c09ecbf9074b3f1d77faea0425a773af5bbb2eb.tar.gz
profiles-7c09ecbf9074b3f1d77faea0425a773af5bbb2eb.tar.xz
Mounts profile add nfs dependency.
Diffstat (limited to 'manifests/mounts.pp')
-rw-r--r--manifests/mounts.pp9
1 files changed, 9 insertions, 0 deletions
diff --git a/manifests/mounts.pp b/manifests/mounts.pp
index e849531..893352f 100644
--- a/manifests/mounts.pp
+++ b/manifests/mounts.pp
@@ -4,6 +4,15 @@ class profiles::mounts {
ensure => directory,
}
+ case $facts['os']['family'] {
+ 'Archlinux': {
+ ensure_packages(['nfs-utils'])
+ }
+ 'Debian': {
+ ensure_packages(['nfs-common'])
+ }
+ }
+
systemd_mount { '/usr/net':
what => 'elrond:/files',
where => '/usr/net',