Skip to content

Blindpete/azure-puppet-lab

Repository files navigation

azure-puppet-lab

Lab for learning puppet.

Prerequisites

build + deploy

$rg = 'uks-puppet-lab-rg'
$TemplateParameterObject = @{
    accessIP = (curl ifconfig.me/ip -s)
    adminPassword = (Invoke-RestMethod -Uri 'https://passwordwolf.com:443/api/?length=32&repeat=1').password
    adminPublicKey = (cat $env:USERPROFILE\.ssh\id_rsa.pub)
}

bicep.exe build .\main.bicep

$splat = @{
    name = 'puppet-lab'
    TemplateParameterObject = $TemplateParameterObject 
    TemplateFile = './main.json' 
    ResourceGroupName =  $rg
}
New-AzResourceGroupDeployment @splat

About

Lab for learning puppet.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages