How does one add an AD group to a local group in Puppet 3.6.*

asked 2016-12-13 06:37:01 -0600

btoohey gravatar image

updated 2016-12-13 06:38:29 -0600

The group resource can't be used to define the AD group because group has no groups attribute.

The group resource can't be used to define the local group (using the groups attribute to add the AD group) because the auth_membership attribute is not valid until Puppet 4.*. Without that attribute, I cannot add a single entity to a local group without defining every member of the group (unless I am misreading the documentation.)

Am I left to cover this with an exec?

edit retag flag offensive close merge delete


Or upgrade to PP 4.x. I recommend an upgrade, if you're planning to use PP for another couple of years. [dirty approach: copy the source code implementing `auth_membership` from PP 4.x into your PP 3.6.x (it's _very_ likely that it won't work)]

Kai Burghardt gravatar imageKai Burghardt ( 2016-12-13 08:25:33 -0600 )edit