Skip to content

Instantly share code, notes, and snippets.

@Sauraus
Last active January 22, 2016 18:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Sauraus/4af63540c40819cd08b7 to your computer and use it in GitHub Desktop.
Save Sauraus/4af63540c40819cd08b7 to your computer and use it in GitHub Desktop.
wrong number of arguments (2 for 0..1)
include_recipe 'unity::editor'
include_recipe value_for_platform_family(
windows: 'my-jenkins::windows',
mac_os_x: 'my-jenkins::mac_os_x'
)
windows_package 'Visual Studio 2015 Tools for Unity' do
source 'http://my_server/software/microsoft/visualstudio/2015/vstu2015.msi'
checksum 'b326526c02c0142d0a2e7d6fe4f448a96bbebd5b4f8f333dd181d3ada911fbfa'
installer_type :msi
action :install
# only_if { platform_family?('windows') }
end if platform_family?('windows')
windows_service 'Audiosrv' do
startup_type :automatic
action :configure_startup, :start
only_if { node['platform_version'].eql?('6.3.9600') } # This is 2012R2 SRV
end if platform_family?('windows')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment