Use the contain function instead of anchors
This commit is contained in:
parent
19f388222d
commit
390d5a40e4
@ -30,10 +30,12 @@ class nslcd (
|
||||
Optional[String[1]] $ldap_tls_cacertfile = undef,
|
||||
) inherits nslcd::params {
|
||||
|
||||
anchor { 'nslcd::begin': }
|
||||
-> class { 'nslcd::install': }
|
||||
-> class { 'nslcd::config': }
|
||||
~> class { 'nslcd::service': }
|
||||
-> anchor { 'nslcd::end': }
|
||||
contain nslcd::install
|
||||
contain nslcd::config
|
||||
contain nslcd::service
|
||||
|
||||
Class['nslcd::install']
|
||||
-> Class['nslcd::config']
|
||||
~> Class['nslcd::service']
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user