Last active
April 14, 2020 19:26
-
-
Save michaeltlombardi/2c5cd1914dd67cc49eec4a4b49fb2224 to your computer and use it in GitHub Desktop.
Example Puppet Manifest using the PowerShellGet DSC Resources
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
dsc_psrepository {'Add team module repo': | |
dsc_name => 'foo', | |
dsc_ensure => present, | |
# This location is nonsense, can be any valid folder on your | |
# machine or in a share, any location the SourceLocation param | |
# for the DSC resource will accept. | |
dsc_sourcelocation => 'C:\Program Files', | |
dsc_installationpolicy => untrusted, | |
} | |
dsc_psrepository {'Trust public gallery': | |
dsc_name => 'PSGallery', | |
dsc_ensure => present, | |
dsc_installationpolicy => foo, | |
} | |
dsc_psmodule {'Make Ruby manageable via uru': | |
dsc_name => 'RubyInstaller', | |
dsc_ensure => present, | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment