|
68 | 68 |
|
69 | 69 | plugins.expects(:get_hook) |
70 | 70 | .twice |
71 | | - .with("puppet_agent", :puppet_library) |
| 71 | + .with("openvox_bootstrap", :puppet_library) |
72 | 72 | .returns(task_hook) |
73 | 73 |
|
74 | 74 | is_expected.to run.with_params(hostnames.join(',')) |
|
86 | 86 |
|
87 | 87 | plugins.expects(:get_hook) |
88 | 88 | .twice |
89 | | - .with("puppet_agent", :puppet_library) |
| 89 | + .with("openvox_bootstrap", :puppet_library) |
90 | 90 | .returns(task_hook) |
91 | 91 |
|
92 | 92 | is_expected.to run.with_params(hostnames, '_run_as' => 'root') |
|
104 | 104 |
|
105 | 105 | plugins.expects(:get_hook) |
106 | 106 | .twice |
107 | | - .with("puppet_agent", :puppet_library) |
| 107 | + .with("openvox_bootstrap", :puppet_library) |
108 | 108 | .returns(task_hook) |
109 | 109 |
|
110 | 110 | is_expected.to run.with_params(hostnames, '_noop' => true) |
|
124 | 124 |
|
125 | 125 | plugins.expects(:get_hook) |
126 | 126 | .twice |
127 | | - .with("puppet_agent", :puppet_library) |
| 127 | + .with("openvox_bootstrap", :puppet_library) |
128 | 128 | .returns(task_hook) |
129 | 129 |
|
130 | 130 | is_expected.to run.with_params(hostnames).and_raise_error( |
|
188 | 188 | .returns(facts) |
189 | 189 |
|
190 | 190 | plugins.expects(:get_hook) |
191 | | - .with('puppet_agent', :puppet_library) |
| 191 | + .with('openvox_bootstrap', :puppet_library) |
192 | 192 | .returns(task_hook) |
193 | 193 |
|
194 | 194 | is_expected.to run.with_params(hostname) |
|
286 | 286 | applicator.stubs(:custom_facts_task).returns(custom_facts_task) |
287 | 287 |
|
288 | 288 | plugins.expects(:get_hook) |
289 | | - .with("puppet_agent", :puppet_library) |
| 289 | + .with("openvox_bootstrap", :puppet_library) |
290 | 290 | .returns(task_hook) |
291 | 291 | end |
292 | 292 |
|
|
0 commit comments