eyaml
This commit is contained in:
parent
e73b0a87ad
commit
4242a9541d
@ -7,9 +7,24 @@
|
|||||||
###
|
###
|
||||||
|
|
||||||
class iis_demo::uninstall_iis (
|
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_windowsfeature { 'IIS':
|
||||||
dsc_ensure => 'absent',
|
dsc_ensure => 'absent',
|
||||||
dsc_name => 'Web-Server',
|
dsc_name => 'Web-Server',
|
||||||
|
Loading…
Reference in New Issue
Block a user