This module will install the adcli package and Join Active Directory using adcli.
This module will run 'adcli join domain' on the target node which creates a computer account in the domain for the local machine, and sets up a keytab.
Example:
class {'::adcli':
ad_domain => 'ad.example.com',
ad_join_username => 'username',
ad_join_password => 'secret',
ad_join_ou => 'ou=container,dc=example,dc=com'
}
ad_domain
Defines the Active Directory domain to join
Type: string
Default: undef
ad_join_username
Defines the Active Directory username to use during domain join operations.
Type: string
Default: undef
$ad_join_password
Defines the Active Directory password to use during domain join operations. hiera-eyaml should be used for secure storage of this password.
Type: string
Default: undef
$ad_join_ou
Defines the Active Directory organizational unit to use during domain join operations.
Type: string
Default: undef
Tested on:
- RHEL & CentOS 6,7
- This Puppet module and TravisCI layout is based on sgnl05-sssd by Gjermund Jensvoll