Class: Pantry::Chef::SyncDataBags
- Inherits:
-
Pantry::Commands::SyncDirectory
- Object
- Pantry::Commands::SyncDirectory
- Pantry::Chef::SyncDataBags
- Defined in:
- lib/pantry/chef/sync_data_bags.rb
Overview
Client syncs up it’s local list of data bags with what the Server says the Client should have.
Instance Method Summary collapse
Instance Method Details
#client_directory(local_root) ⇒ Object
12 13 14 |
# 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) ⇒ Object
8 9 10 |
# 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 |