mirror of
https://github.com/saltstack-formulas/postgres-formula.git
synced 2025-04-17 10:10:31 +00:00
test(inspec): fix reference to suse
after gem train
update
* https://github.com/inspec/train/pull/505
This commit is contained in:
parent
766596e175
commit
677adbae16
2 changed files with 5 additions and 5 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue