Skip to content
This repository has been archived by the owner on Jan 12, 2023. It is now read-only.

Add option to adjoin for arguements #5

Open
amswain opened this issue Dec 13, 2014 · 0 comments
Open

Add option to adjoin for arguements #5

amswain opened this issue Dec 13, 2014 · 0 comments
Assignees

Comments

@amswain
Copy link

amswain commented Dec 13, 2014

Currently adjoin does not allow the setting of an OU for machines that join the domain.

I suggest adding a parameter to your class called adjoin_args that can allow passing of different flags to the adjoin command:

init.pp: $adjoin_args = $centrify::params::adjoin_args,
params.pp: $adjoin_args = ''
service.pp: $adjoin_args = $centrify::adjoin_args
service.pp: command => "adjoin -w -u ${adjoin_user} -s ${adjoin_server} -p ${adjoin_password} ${adjoin_domain} ${adjoin_args}",

This way you can create:
$adjoin_args = '-c OU=Servers,OU=Linux,DC=example,DC=com' and put the machine accounts in AD in whichever ou you like.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants