Class: Pantry::Chef::UploadDataBag
- Inherits:
-
Pantry::Commands::UploadFile
- Object
- Pantry::Commands::UploadFile
- Pantry::Chef::UploadDataBag
- Defined in:
- lib/pantry/chef/upload_data_bag.rb
Overview
Upload a data bag file to the server
Instance Method Summary collapse
Instance Method Details
#prepare_message(options) ⇒ Object
28 29 30 31 32 |
# File 'lib/pantry/chef/upload_data_bag.rb', line 28 def () [:type] ||= File.basename(File.dirname(file_to_upload)) Pantry.ui.say("Uploading data bag #{File.basename(file_to_upload)}...") super end |
#required_options ⇒ Object
20 21 22 |
# File 'lib/pantry/chef/upload_data_bag.rb', line 20 def %i(application) end |