working on the dsc-lite to deploy iis

This commit is contained in:
christopher.lawrence 2020-02-12 16:49:04 +00:00
parent d9622d258f
commit 2214da1ef3
2 changed files with 7 additions and 5 deletions

View File

@ -23,7 +23,6 @@ mod 'puppetlabs-chocolatey', '5.0.2'
mod 'puppetlabs-wsus_client', '3.1.0'
mod 'puppetlabs-accounts', '6.1.0'
mod 'puppetlabs-dism', '1.3.1'
mod 'puppetlabs-dsc', '1.9.4'
mod 'puppetlabs-dsc_lite', '3.0.1'
mod 'puppetlabs-acl', '3.1.0'
mod 'puppetlabs-iis', '7.0.0'

View File

@ -2,9 +2,12 @@ class profile::custom_windows::deploy_iis (
) {
dsc_windowsfeature {'IIS':
dsc_ensure => 'present',
dsc_name => 'Web-Server',
dsc {'iis':
resource_name => 'WindowsFeature',
module => 'PSDesiredStateConfiguration',
properties => {
ensure => 'present',
name => 'Web-Server',
}
}
}