
Change base methods for actions with packages and add tests for this actions Change-Id: Ib6af8933c18ea9670a388dca53f1c55a92180208
29 lines
715 B
YAML
29 lines
715 B
YAML
Namespaces:
|
|
=: io.murano.windows.Dummy
|
|
std: io.murano
|
|
sys: io.murano.system
|
|
|
|
Name: SecondaryController
|
|
|
|
Extends: Controller
|
|
|
|
Workflow:
|
|
initialize:
|
|
Body:
|
|
- $.super($.initialize())
|
|
- $.domain: $.find(ActiveDirectory).require()
|
|
|
|
deploy:
|
|
Body:
|
|
- $.super($.deploy())
|
|
- $.host.joinDomain($.domain)
|
|
- $resources: new(sys:Resources)
|
|
- $template: $resources.json('CreateSecondaryDC.template').bind(dict(
|
|
domain => $.domain.name,
|
|
recoveryPassword => $.recoveryPassword,
|
|
domainAccountName => $.domain.adminAccountName,
|
|
domainPassword => $.domain.adminPassword
|
|
))
|
|
- $.host.agent.call($template, $resources)
|
|
#
|