I have a script which is having multiple file and exec resources. My question is can i add some attribute in each of these resources to take time(like sleep) before next resource is executed? I want puppet to fully complete a task before moving to another.
exec { 'Enable ASP NET 2.0' : command => 'C:\Windows\System32\inetsrv\appcmd.exe set app "DefaultWebSite/ShipGuestLog" "/applicationpool:ASP.NET v2.0" ',
} file { 'C:\inetpub\wwwroot\ShipGuestLog\Web.config' : ensure => file, source => 'puppet:///modules/guestlog/Web.config',
↧