aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystem/nas
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/subsystem/nas')
-rw-r--r--manifests/subsystem/nas/share.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/subsystem/nas/share.pp b/manifests/subsystem/nas/share.pp
index aee32f2..a5cac93 100644
--- a/manifests/subsystem/nas/share.pp
+++ b/manifests/subsystem/nas/share.pp
@@ -102,7 +102,7 @@ define nodo::subsystem::nas::share(
#
$avahi = hiera('nodo::role::nas::avahi', false)
- if $avahi == true {
+ if $avahi == true and $nfs == true {
file { "/etc/avahi/services/nfs-${name}.service":
ensure => present,
owner => root,