Skip to content

Commit 50cf67e

Browse files
committed
implement ad join improvements suggested in kakwa#69
1 parent 52b6af1 commit 50cf67e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: manifests/classic.pp

+2-1
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,7 @@
214214
}
215215
Package['SambaClassicWinBind'] -> Package['SambaClassic']
216216
}
217+
Samba::Option <| |> -> Exec['Join Domain'] -> Service['SambaSmb']
217218

218219
service{ 'SambaSmb':
219220
ensure => 'running',
@@ -336,7 +337,7 @@
336337
unless => 'net ads testjoin',
337338
command => "echo '${adminpassword}'| net ads join -U '${adminuser}' ${ou}",
338339
notify => Service['SambaWinBind'],
339-
require => [ Package['SambaClassic'], Service['SambaSmb'] ],
340+
require => [ Package['SambaClassic'] ],
340341
}
341342
}
342343
}

0 commit comments

Comments
 (0)