Fixed depencies in domain joining (smbd must be running).
This commit is contained in:
parent
514d69111f
commit
fa2eef5391
1 changed files with 1 additions and 2 deletions
|
@ -86,8 +86,7 @@ class samba::domainmember {
|
|||
environment => "SECRET=${samba_join_pass}",
|
||||
path => "/bin:/usr/bin:/sbin:/usr/sbin",
|
||||
onlyif => "rpcclient localhost -c 'srvinfo' -U root%'' 2>&1 | grep 'NT_STATUS_CANT_ACCESS_DOMAIN_INFO'",
|
||||
require => [ Package["samba"],
|
||||
File["/etc/samba/smb.conf"], ],
|
||||
require => Service["smb"],
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue