Skip to content

Instantly share code, notes, and snippets.

@vinyar
Last active December 23, 2015 22:49
Show Gist options
  • Save vinyar/6705367 to your computer and use it in GitHub Desktop.
Save vinyar/6705367 to your computer and use it in GitHub Desktop.
pre-refactor iis_demo recipe full
powershell_script "Install IIS" do
code "add-windowsfeature Web-Server"
action :run
end
service "w3svc" do
action [ :enable, :start ]
end
cookbook_file 'c:\inetpub\wwwroot\Default.htm' do
source "Default.htm"
rights :read, "Everyone"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment