Skip to content

Commit

Permalink
Addressing Issue echocat#91 with an anchor
Browse files Browse the repository at this point in the history
Signed-off-by: Ricardo Silva <[email protected]>
  • Loading branch information
rmsds committed Jul 5, 2017
1 parent d6150d8 commit 36022c6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions manifests/client.pp
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
Class["::nfs::client::${::nfs::params::osfamily}::install"] ->
Class["::nfs::client::${::nfs::params::osfamily}::configure"] ->
Class["::nfs::client::${::nfs::params::osfamily}::service"] ->
anchor { 'nfs_client_ready': } ->
Class['::nfs::client']

if !defined( Class["nfs::client::${::nfs::params::osfamily}"]) {
Expand Down
4 changes: 2 additions & 2 deletions manifests/client/mount.pp
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
atboot => $atboot,
require => [
Nfs::Mkdir[$_nfs4_mount],
Class['::nfs::client'],
Anchor['nfs_client_ready'],
],
}

Expand Down Expand Up @@ -77,7 +77,7 @@
atboot => $atboot,
require => [
Nfs::Mkdir[$_mount],
Class['::nfs::client'],
Anchor['nfs_client_ready'],
],
}

Expand Down

0 comments on commit 36022c6

Please sign in to comment.