Add a method that returns the PostgreSQL service
This commit is contained in:
parent
82f1e9863b
commit
20cbc678bc
@ -29,5 +29,11 @@ class Chef
|
|||||||
server_node['ipaddress']
|
server_node['ipaddress']
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def postgresql_service_name
|
||||||
|
postgresql_version = "12"
|
||||||
|
|
||||||
|
"postgresql@#{postgresql_version}-main"
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user