class Pantry::Chef::SyncDataBags

Client syncs up it’s local list of data bags 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_data_bags.rb, line 12
def client_directory(local_root)
  local_root.join("chef", "data_bags")
end
server_directory(local_root) click to toggle source
# File lib/pantry/chef/sync_data_bags.rb, line 8
def server_directory(local_root)
  local_root.join("applications", client.application, "chef", "data_bags")
end