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