Created
November 12, 2013 20:38
-
-
Save liamjbennett/7438246 to your computer and use it in GitHub Desktop.
long powershell in puppet
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
exec {'VeryLongExec': | |
provider => powershell, | |
command => template("${module}/verylongexec") | |
} | |
or | |
#This is good for debugging | |
file { 'C:/Temp/VeryLongExec.ps1': | |
ensure => 'present', | |
source => 'puppet:///modulename/VeryLongExec.ps1' | |
} | |
exec {'VeryLongExec': | |
provider => powershell, | |
command => 'C:/Temp/VeryLongExec.ps1' | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment