A Puppet fact for the OU location of a server in Active Directory
Drop the fact code wherever you place your facts (e.g. site/profile/facts.d). This will generate a fact named activedirectory_meta with the following JSON fo...
Drop the fact code wherever you place your facts (e.g. site/profile/facts.d). This will generate a fact named activedirectory_meta with the following JSON fo...
Execute PowerShell on remote systems via a Puppet Task triggered via the Puppet API.
Not the greatest script, but it gets the job done when you need to make a certificate request with SANs.
The following assumes you requested a certificate from a Microsoft CA. The requested certificate was downloaded as base 64 and saved to D:\install_files\cert...
The following discusses how to add a certificate to the Puppet Enterprise Console.