This commit is contained in:
jhejda@wmpromus.com 2019-05-23 16:20:44 +02:00
parent 769a1c9698
commit 3dac2c08be

View File

@ -14,11 +14,19 @@ class iis_demo::uninstall_iis (
dsc_ensure => 'absent',
dsc_name => 'Web-Server',
#require => Package['powershell'],
#notify => Reboot['reboot_iis'],
notify => Reboot['reboot_uninstall_iis'],
}
reboot { 'reboot_uninstall_iis':
when => refreshed,
timeout => 15,
}
file { 'C:\\inetpub':
ensure => absent,
ensure => directory,
recurse => true,
purge => true,
force => true,
}
}