aboutsummaryrefslogtreecommitdiff
path: root/manifests/server/ads.pp
diff options
context:
space:
mode:
authorLebedev Vadim <abraham1901@gmail.com>2013-03-31 20:50:57 +0400
committerAdam Jahn <ajjahn@gmail.com>2014-01-10 18:34:59 -0500
commit7d0c9a893efae039252e754ed7750b4bcdf25f9a (patch)
tree54777e4dfa2ffa76741db7bb324780b8f150b96e /manifests/server/ads.pp
parentf10991d9154853d64b0772477fe33969f6fb732a (diff)
downloadpuppet-samba-7d0c9a893efae039252e754ed7750b4bcdf25f9a.tar.gz
puppet-samba-7d0c9a893efae039252e754ed7750b4bcdf25f9a.tar.bz2
Dependencies were corrected
Diffstat (limited to 'manifests/server/ads.pp')
-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'] ],
}
}