Exception: DreamOps::ChefSoloFailedError
- Inherits:
-
DreamOpsError
- Object
- StandardError
- DreamOpsError
- DreamOps::ChefSoloFailedError
- Defined in:
- lib/dream-ops/errors.rb,
lib/dream-ops/errors.rb
Instance Method Summary collapse
-
#initialize(target, log_path) ⇒ ChefSoloFailedError
constructor
A new instance of ChefSoloFailedError.
- #to_s ⇒ Object
Methods inherited from DreamOpsError
Constructor Details
#initialize(target, log_path) ⇒ ChefSoloFailedError
Returns a new instance of ChefSoloFailedError.
88 89 90 91 |
# File 'lib/dream-ops/errors.rb', line 88 def initialize(target, wget_url) @target = target @wget_url = wget_url end |
Instance Method Details
#to_s ⇒ Object
93 94 95 96 97 98 99 |
# File 'lib/dream-ops/errors.rb', line 93 def to_s [ "Target \"#{@target}\" failed installing chef-solo via CINC from:", "", @wget_url, ].join("\n") end |