Class: Pupcap::Action::Apply
- Inherits:
-
Base
- Object
- Base
- Pupcap::Action::Apply
- Defined in:
- lib/pupcap/action/apply.rb
Instance Method Summary collapse
-
#initialize ⇒ Apply
constructor
A new instance of Apply.
- #start ⇒ Object
Constructor Details
#initialize ⇒ Apply
Returns a new instance of Apply.
5 6 7 |
# File 'lib/pupcap/action/apply.rb', line 5 def initialize check_puppetfile! end |
Instance Method Details
#start ⇒ Object
9 10 11 12 |
# File 'lib/pupcap/action/apply.rb', line 9 def start cap = create_cap_for([:file]) cap_load_and_run_task(cap, "apply") end |