Skip to content

Commit

Permalink
test(inspec): fix reference to suse after gem train update
Browse files Browse the repository at this point in the history
  • Loading branch information
myii committed Aug 28, 2019
1 parent 766596e commit 677adba
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions test/integration/default/controls/command_spec.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Overide by OS
# Overide by Platform
pg_port = '5432'
if os[:family] == 'debian' or os[:name] == 'suse'
if platform[:family] == 'debian' or platform[:family] == 'suse'
pg_port = '5433'
end

Expand Down
6 changes: 3 additions & 3 deletions test/integration/default/controls/services_spec.rb
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Overide by OS
# Overide by Platform
service_name = 'postgresql'
pg_port = 5432
if os[:name] == 'centos' and os[:release].start_with?('6')
if platform[:name] == 'centos' and platform[:release].start_with?('6')
service_name = 'postgresql-9.6'
elsif os[:family] == 'debian' or os[:name] == 'suse'
elsif platform[:family] == 'debian' or platform[:family] == 'suse'
pg_port = 5433
end

Expand Down

0 comments on commit 677adba

Please sign in to comment.