&#39;verify_active_directory&#39;:
    # this script returns 0 if join is intact
    path    =&gt; &#39;/sbin/verify_active_directory&#39;,
    owner   =&gt; root,
    group   =&gt; root,
    mode    =&gt; &#39;0750&#39;,
    content =&gt; template(&quot;${module_name}/verify_active_directory.erb&quot;),
    require =&gt; [ Package[$krb5_user_package, $winbind_package, &#39;expect&#39;],
      Augeas[&#39;samba-realm&#39;, &#39;samba-security&#39;, &#39;samba-winbind enum users&#39;,
        &#39;samba-winb