From c56022776a0b8a1c5e0dd3425a60265f9d3cafbc Mon Sep 17 00:00:00 2001 From: "jhejda@wmpromus.com" Date: Thu, 23 May 2019 16:53:54 +0200 Subject: [PATCH] eyaml --- modules/iis_demo/manifests/uninstall_iis.pp | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/modules/iis_demo/manifests/uninstall_iis.pp b/modules/iis_demo/manifests/uninstall_iis.pp index 2779f74..bce4694 100644 --- a/modules/iis_demo/manifests/uninstall_iis.pp +++ b/modules/iis_demo/manifests/uninstall_iis.pp @@ -17,16 +17,15 @@ class iis_demo::uninstall_iis ( notify => Reboot['dsc_reboot'], } + reboot { 'dsc_reboot': + when => refreshed, + timeout => 10, + } + file { 'C:\\inetpub': ensure => directory, recurse => true, purge => true, force => true, } - - reboot { 'dsc_reboot': - when => refreshed, - timeout => 15, - } - }