class Pantry::Chef::SyncEnvironments

Client syncs up it’s local list of Chef Environments with what the Server says the Client should have.

Public Instance Methods

client_directory(local_root) click to toggle source
# File lib/pantry/chef/sync_environments.rb, line 12
def client_directory(local_root)
  local_root.join("chef", "environments")
end
server_directory(local_root) click to toggle source
# File lib/pantry/chef/sync_environments.rb, line 8
def server_directory(local_root)
  local_root.join("applications", client.application, "chef", "environments")
end