File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 28
28
import libioc .errors
29
29
import libioc .helpers
30
30
import libioc .Provisioning .ix
31
+ import libioc .Provisioning .puppet
31
32
32
33
33
34
class Prototype :
Original file line number Diff line number Diff line change @@ -148,27 +148,27 @@ def provision(
148
148
ioc set \
149
149
provisioning.method=puppet \
150
150
provisioning.source=http://example.com/my/puppet-env \
151
- provisioning.source. name=my-puppet-env \
151
+ provisioning.name=my-puppet-env \
152
152
myjail
153
153
154
154
"""
155
155
events = libioc .events
156
156
jailProvisioningEvent = events .JailProvisioning (
157
157
jail = self .jail ,
158
- event_scope = event_scope
158
+ scope = event_scope
159
159
)
160
160
yield jailProvisioningEvent .begin ()
161
161
_scope = jailProvisioningEvent .scope
162
162
jailProvisioningAssetDownloadEvent = events .JailProvisioningAssetDownload (
163
163
jail = self .jail ,
164
- event_scope = _scope
164
+ scope = _scope
165
165
)
166
166
167
167
# download / mount provisioning assets
168
168
try :
169
169
yield jailProvisioningAssetDownloadEvent .begin ()
170
170
pluginDefinition = ControlRepoDefinition (
171
- name = self .source . name ,
171
+ name = self .name ,
172
172
url = self .source ,
173
173
logger = self .jail .logger
174
174
)
You can’t perform that action at this time.
0 commit comments