Class: Pantry::Chef::SyncRoles
- Inherits:
-
Pantry::Commands::SyncDirectory
- Object
- Pantry::Commands::SyncDirectory
- Pantry::Chef::SyncRoles
- Defined in:
- lib/pantry/chef/sync_roles.rb
Overview
Client syncs up it’s local list of Chef Roles 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_roles.rb', line 12 def client_directory(local_root) local_root.join("chef", "roles") end |
#server_directory(local_root) ⇒ Object
8 9 10 |
# File 'lib/pantry/chef/sync_roles.rb', line 8 def server_directory(local_root) local_root.join("applications", client.application, "chef", "roles") end |