Thank you both for your reply. The scenario i have is as follows. I need to create/destroy/modify active directory group.
There is a winad module, once i was able to get it working to create the group it was doing it under my user context. To have it run properly i would need to supply it a credential. Unless i am missing it i would need to execute powershell with username and password pass it to get-credential and populate a variable. Then take a variable pass that to -credential and it would create the group as i need or destroy. I am grateful for any help suggestions. Thank you again. Jason On Tuesday, April 10, 2018 at 12:41:27 PM UTC-5, Jason McMahan wrote: > > Good day, > I wanted to toss this out there to see if anyone has tried this. > > Could i perform a hiera lookup from within a custom puppet provider? > > > My thinking is to lookup an encrypted password, then use the lookup to > decrypt and pass the username and password to a powershell that i need to > execute within that provider. > > Thoughts? > -- 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/0561815c-1560-41be-ba96-5bfae8019b3a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.