aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/server/ads.pp6
1 files changed, 3 insertions, 3 deletions
diff --git a/manifests/server/ads.pp b/manifests/server/ads.pp
index 16be9ad..cadfee0 100644
--- a/manifests/server/ads.pp
+++ b/manifests/server/ads.pp
@@ -106,7 +106,7 @@ class samba::server::ads($ensure = present,
require => [ Package[$krb5_user_package, $winbind_package, 'expect'],
Augeas['samba-realm', 'samba-security', 'samba-winbind enum users',
'samba-winbind enum groups', 'samba-winbind uid', 'samba-winbind gid',
- 'samba-winbind use default domain'] ],
+ 'samba-winbind use default domain'], Service['winbind'] ],
}
file {'configure_active_directory':
@@ -119,13 +119,13 @@ class samba::server::ads($ensure = present,
require => [ Package[$krb5_user_package, $winbind_package, 'expect'],
Augeas['samba-realm', 'samba-security', 'samba-winbind enum users',
'samba-winbind enum groups', 'samba-winbind uid', 'samba-winbind gid',
- 'samba-winbind use default domain'] ],
+ 'samba-winbind use default domain'], Service['winbind'] ],
}
exec {'join-active-directory':
# join the domain configured in samba.conf
command => '/sbin/configure_active_directory -j',
unless => '/sbin/verify_active_directory',
- require => [ File['configure_active_directory', 'verify_active_directory'], Class['samba::server::winbind'] ],
+ require => [ File['configure_active_directory', 'verify_active_directory'], Service['winbind'] ],
}
}