Skip to content

Commit

Permalink
#9, use resource powershell instead of powershell_script
Browse files Browse the repository at this point in the history
  • Loading branch information
vkhatri committed Nov 21, 2015
1 parent e233e6e commit 23adff1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion recipes/config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@

service_action = node['filebeat']['disable_service'] ? [:disable, :stop] : [:enable, :start]

powershell_script 'install filebeat as service' do
powershell 'install filebeat as service' do
code "#{node['filebeat']['windows']['base_dir']}/#{node['filebeat']['windows']['version_string']}/install-service-filebeat.ps1"
only_if { node['platform'] == 'windows' }
end
Expand Down

0 comments on commit 23adff1

Please sign in to comment.