This commit is contained in:
jhejda@wmpromus.com 2019-05-23 17:25:19 +02:00
parent e73b0a87ad
commit 4242a9541d

View File

@ -7,9 +7,24 @@
###
class iis_demo::uninstall_iis (
String $app_pool_name = 'TestAppPool',
String $iis_site_name = 'TestIisSite',
String $iis_webapp_name = 'TestWebSite',
) {
iis_application { "${iis_site_name}\\${iis_webapp_name}":
ensure => 'absent',
}
iis_site { $iis_site_name:
ensure => 'absent',
}
iis_application_pool { $app_pool_name:
ensure => 'absent',
}
dsc_windowsfeature { 'IIS':
dsc_ensure => 'absent',
dsc_name => 'Web-Server',