Skip to content

Instantly share code, notes, and snippets.


Pall Valmundsson pall-valmundsson

View GitHub Profile
pall-valmundsson / adjoin.pp
Created Mar 23, 2016
Example of a puppet profile to automatically join a RHEL/CentOS system to Active Directory
View adjoin.pp
class profile::adjoin(
$http_service_principal = false
) {
if !defined(Class['::profile::kerberos']) {
fail('::profile::kerberos needs to be defined for profile::adjoin to work')
$active_directory_domain = 'EXAMPLE.COM'
$join_account = 'puppet-adjoin'