25 lines
431 B
Plaintext
25 lines
431 B
Plaintext
FormatVersion: 2.0.0
|
|
Version: 1.0.0
|
|
Name: Setup etcd Master
|
|
|
|
Parameters:
|
|
name: $name
|
|
ip: $ip
|
|
|
|
Body: |
|
|
return setup('{0} {1}'.format(args.name, args.ip)).stdout
|
|
|
|
Scripts:
|
|
setup:
|
|
Type: Application
|
|
Version: 1.0.0
|
|
EntryPoint: master-etcd-setup.sh
|
|
Files:
|
|
- default_scripts/etcd-master
|
|
- init_conf/etcd.conf
|
|
- initd_scripts/etcd
|
|
|
|
Options:
|
|
captureStdout: true
|
|
captureStderr: true
|