Commit 0aa3c43d authored by Yoway Buorn's avatar Yoway Buorn
Browse files

fixed syntax error and minor typos. added Windows 2008r2

parent e6a63e8c
......@@ -6,10 +6,17 @@ provisioner:
name: chef_zero
platforms:
- name: centos-7.1
- name: centos-6.7
- name: centos-7.1
- name: debian-8.1
- name: ubuntu-14.04
- name: windows-2008r2
driver:
box: opentable/win-2008r2-standard-amd64-nocm
transport:
name: winrm
password: vagrant
username: vagrant
- name: windows-2012r2
driver:
box: opentable/win-2012r2-standard-amd64-nocm
......@@ -28,6 +35,7 @@ suites:
SUMO_ACCESS_ID: <%= ENV['SUMO_ACCESS_ID'] %>
SUMO_ACCESS_KEY: <%= ENV['SUMO_ACCESS_KEY'] %>
excludes:
- windows-2008r2
- windows-2012r2
- name: windows
data_bags_path: test/integration/data_bags
......@@ -38,8 +46,10 @@ suites:
SUMO_ACCESS_ID: <%= ENV['SUMO_ACCESS_ID'] %>
SUMO_ACCESS_KEY: <%= ENV['SUMO_ACCESS_KEY'] %>
excludes:
- centos-7.1
- centos-6.7
- centos-7.1
- debian-8.1
- ubuntu-14.04
- name: installer-resource
run_list:
- recipe[installer-resource]
......@@ -55,8 +65,7 @@ suites:
SUMO_ACCESS_ID: <%= ENV['SUMO_ACCESS_ID'] %>
SUMO_ACCESS_KEY: <%= ENV['SUMO_ACCESS_KEY'] %>
excludes:
- ubuntu-14.04
- centos-7.1
- centos-6.7
- centos-7.1
- debian-8.1
- ubuntu-14.04
......@@ -32,7 +32,7 @@
#
Chef::Log.info "Starting Installation."
Chef::Log.info " Creating Sumo Logic director at #{node['sumologic']['installDir']}"
Chef::Log.info " Creating Sumo Logic directory at #{node['sumologic']['installDir']}"
case node['platform_family']
when 'rhel', 'amazon', 'linux'
......@@ -41,4 +41,4 @@ when 'debian'
include_recipe 'sumologic-collector::debian'
when 'windows'
include_recipe 'sumologic-collector::windows'
end
......@@ -34,7 +34,7 @@ include_recipe 'sumologic-collector::sumojson'
# TODO: : Support windows
return unless node['platform'] != 'windows'
Chef::Log.info " Creating Sumo Logic director at #{node['sumologic']['installDir']}"
Chef::Log.info " Creating Sumo Logic directory at #{node['sumologic']['installDir']}"
directory node['sumologic']['installDir'] do
owner 'root'
......
......@@ -35,7 +35,7 @@
if ::Win32::Service.exists? "sumo-collector"
Chef::Log.info "Sumo Logic Collector found."
Chef::Log.info "Checking for Sumo Logic Collector Updates and will "\
"reinstall director at #{node['sumologic']['installDir']}"
"reinstall directory at #{node['sumologic']['installDir']}"
# We only want to deploy sumo when there's a new version available
# to preserve idempotency .
......@@ -65,7 +65,7 @@ else
include_recipe 'sumologic-collector::sumojson'
end
Chef::Log.info "Installing Sumo Logic director at #{node['sumologic']['installDir']}"
Chef::Log.info "Installing Sumo Logic directory at #{node['sumologic']['installDir']}"
# We only want to deploy sumo when there's a new version available
# to preserve idempotency .
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment