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.

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/4b01fd75-6755-447a-aef4-38820a3a480a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to