Open pburkholder opened 7 years ago
1 - pinged Matt McElreath about Chef v. DSC https://twitter.com/pburkholder/status/774275050463780864
Checking Runbook and DSC Galleries - https://azure.microsoft.com/en-us/documentation/articles/automation-runbook-gallery/
Some interesting PowerShell workflows:
https://www.powershellgallery.com/packages?q=Tags%3A%22DSC%22 - community / Microsoft provided resources on provided
Some examples:
http://stackoverflow.com/questions/31562451/installing-jre-using-powershell-dsc-hangs
xRemoteFile javaInstaller {
DestinationPath = (Join-Path $localDscFileDir "Java\jreInstaller.exe")
Uri = "http://javadl.oracle.com/webapps/download/AutoDL?BundleId=211999"
}
Package java8
{
Ensure = 'Present'
Name = 'Java 8'
Path = (Join-Path $localDscFileDir "Java\jreInstaller.exe")
Arguments = '/s REBOOT=0 SPONSORS=0 REMOVEOUTOFDATEJRES=1 INSTALL_SILENT=1 AUTO_UPDATE=0 EULA=0 /l*v "C:\DscFiles\Java\jreInstaller.exe.log"' #From https://powershell.org/forums/topic/issue-installing-java-32-bit-using-package-resource/#post-39206
ProductId = '26A24AE4-039D-4CA4-87B4-2F64180101F0'
DependsOn = @("[xRemoteFile]javaInstaller")
}
Old title: Experiment with Java/Jenkins install and Azure automation