Skip to content

Commit

Permalink
nfs::server::export needs strict dependenc to nfs::server:servcie class
Browse files Browse the repository at this point in the history
  • Loading branch information
tuxmea committed Jun 7, 2024
1 parent e79827c commit f830987
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
6 changes: 0 additions & 6 deletions metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,6 @@
"operatingsystemrelease": [
"13"
]
},
{
"operatingsystem": "Archlinux",
"operatingsystemrelease": [
"1.0"
]
}
],
"requirements": [
Expand Down
2 changes: 2 additions & 0 deletions spec/acceptance/class_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -118,11 +118,13 @@ class { '::nfs':
nfs::server::export { '/data_folder':
ensure => 'mounted',
clients => '*(rw,insecure,async,no_root_squash,no_subtree_check)',
before => Class['nfs::server::service'],
}
nfs::server::export { '/homeexport':
ensure => 'mounted',
clients => '*(rw,insecure,async,root_squash,no_subtree_check)',
mount => '/srv/home',
before => Class['nfs::server::service'],
}
PUPPETCODE

Expand Down

0 comments on commit f830987

Please sign in to comment.