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,
|
Optional[String[1]] $ldap_tls_cacertfile = undef,
|
||||||
) inherits nslcd::params {
|
) inherits nslcd::params {
|
||||||
|
|
||||||
anchor { 'nslcd::begin': }
|
contain nslcd::install
|
||||||
-> class { 'nslcd::install': }
|
contain nslcd::config
|
||||||
-> class { 'nslcd::config': }
|
contain nslcd::service
|
||||||
~> class { 'nslcd::service': }
|
|
||||||
-> anchor { 'nslcd::end': }
|
Class['nslcd::install']
|
||||||
|
-> Class['nslcd::config']
|
||||||
|
~> Class['nslcd::service']
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user