We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
suse
train
1 parent 766596e commit 677adbaCopy full SHA for 677adba
test/integration/default/controls/command_spec.rb
@@ -1,6 +1,6 @@
1
-# Overide by OS
+# Overide by Platform
2
pg_port = '5432'
3
-if os[:family] == 'debian' or os[:name] == 'suse'
+if platform[:family] == 'debian' or platform[:family] == 'suse'
4
pg_port = '5433'
5
end
6
test/integration/default/controls/services_spec.rb
@@ -1,9 +1,9 @@
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'
7
pg_port = 5433
8
9
0 commit comments