Switch to host naming

Servers concept will encompass custom cmd and labels. Host is just the IP address.
This commit is contained in:
David Heinemeier Hansson
2023-01-10 14:15:16 +01:00
parent 5ca6f32ee7
commit 78a5d08d3f
6 changed files with 25 additions and 42 deletions

View File

@@ -17,8 +17,9 @@ class Mrsk::Configuration
ensure_required_keys_present
end
def servers
ENV["SERVERS"] || config.servers
def hosts
ENV["HOSTS"] || config.servers
end
end
def version