Created
December 16, 2015 12:40
-
-
Save ggeldenhuis/ebf756997bc8f6336a29 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This goes into the second-stage.ps1.erb file that can be found in the razor task directory. | |
# At this stage of the install you dealing with temporary drive letters. | |
# Creating file to ensure we include assured facts in Puppet Cert | |
New-Item -ItemType directory -Path "$($osDrive)\ProgramData\PuppetLabs\puppet\etc" | |
$csrattributes = "---`r`nextension_requests:`r`n `"1.3.6.1.4.1.34380.1.1.100`": Farnborough`r`n" | |
$csrattributes | out-file -Encoding ascii "$($osDrive)\ProgramData\PuppetLabs\puppet\etc\csr_attributes.yaml" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment