Joins a node to an Active Directory domain using PowerBroker Identity Services Open Edition (PBIS).
This is an active fork of https://github.com/ctf/puppet-pbis which is pretty good but needs some love. Last update was over a year ago so I am trying to take over. I personally use this.
node 'workstation' {
class { 'pbis':
ad_domain => 'ads.example.org',
bind_username => 'admin',
bind_password => 'password',
ou => 'ou=Computers,ou=Department,ou=Divison',
user_domain_prefix => 'ADS',
require_membership_of => 'ADS\\Linux_Users',
}
}
This module supports two ways of distributing the PBIS Open packages:
- using Puppet's built-in fileserver, and
- as
package
resources using an external repository.
The default is to use Puppet's built-in fileserver.
In either case, download the necessary packages from the BeyondTrust website. Extract the architecture-specific pbis-open
.rpm
or .deb
file from the self-extracting sh
archive.
Rename the pbis-open
package files according to the following convention:
pbis-open.amd64.deb
pbis-open.i386.deb
pbis-open.x86_64.rpm
pbis-open.i386.rpm
and place them in the module's files/
folder.
For scalability, or if you are using variable module paths, you may want to add the PBIS Open packages to a local apt
or yum
repository.
In that case, include the class with use_repository => true
.
node 'workstation' {
class { 'pbis':
...
use_repository => true,
}
}
The service name may not be 'lsass' on newer version of PBIS and may be 'lwsmd'. This is now configurable as below:
node 'workstation' {
class { 'pbis':
...
service_name => 'lwsmd',
}
}
This module requires the osfamily
fact, which depends on Facter 1.6.1+.
This module has been tested against Puppet 2.7.18+ and Facter 1.6.9+ on Debian 7 and Ubuntu 12.04.
Support for RedHat and Suse is included but has not been tested.
Please open a pull request with any changes or bugfixes.
Likewise Open was acquired by BeyondTrust in 2011 and rebranded as PowerBroker Identity Services Open Edition. The project page is at powerbrokeropen.org.
The original Likewise Open package is included in the Ubuntu repositories, but has not been updated in years.