Good day,
I am trying to get the module shoneslab/winad working in our environment.
I was able to modify (hack) the module so it actually creates a new group as it should (using my user context, adding a param for service account and password is my next trial) but every time it runs it wants to modify the group.
The report shows this for description, group_scope and group_category. The example is below
desc changed '"Windows AD Group Managed by Puppet"' to 'Windows AD Group Managed by Puppet'
I looked through his code and believe this is where the trouble is caused.
winad/lib/puppet/provider/winad_group/powershell.rb
Line 52-56
def desc
"\"" + @resource[:desc].to_s + "\""
end
def desc=(value)
end
It is like it only checks against the parameters you pass it but when it returns the string it appends double quotes inside the single quotes.
Any suggestions of guidance is greatly appreciated as i feel like i am just spinning my wheels going no where.