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