Class: CookbookJob
- Inherits:
-
Guard::Chef::Base
- Object
- Guard::Chef::Base
- CookbookJob
- Defined in:
- lib/guard/chef/cookbook_job.rb
Instance Attribute Summary
Attributes inherited from Guard::Chef::Base
Instance Method Summary collapse
Methods inherited from Guard::Chef::Base
accepts?, #initialize, #kind, #update
Constructor Details
This class inherits a constructor from Guard::Chef::Base
Instance Method Details
#command ⇒ Object
3 4 5 |
# File 'lib/guard/chef/cookbook_job.rb', line 3 def command "knife cookbook upload -VV '#{name}'" end |
#sentinel_re ⇒ Object
7 8 9 |
# File 'lib/guard/chef/cookbook_job.rb', line 7 def sentinel_re /(?:upload complete|uploaded \d+ cookbook)/i end |