provisioner: setup.yaml updated with new provisioner format
setup.yaml updated with new provisioner format.
#
motr:
+
post_install:
- script: /usr/sbin/m0provision
- args:
- - post_install
+ cmd: motr_setup post_install
+ args: --config $URL
+
init:
- script: /usr/sbin/m0provision
- args:
- - init
+ cmd: motr_setup init
+ args: --config $URL
+
config:
- script: /usr/sbin/m0provision
- args:
- - post_install
+ cmd: motr_setup config
+ args: --config $URL
+
test:
- script: /usr/sbin/m0provision
- args:
- - test
+ cmd: motr_setup test
+ args: --config $URL
+
reset:
- script: /usr/sbin/m0provision
- args:
+ cmd: motr_setup reset
+ args: --config $URL
+
+ cleanup:
+ cmd: motr_setup cleanup
+ args: --config $URL
backup:
- files:
- - /etc/sysconfig/motr
+ cmd: motr_setup backup
+ args: --location $END-POINT
+
+ restore:
+ cmd: motr_setup restore
+ args: --location $END-POINT
- post_update:
- script: /usr/sbin/m0provision
- args:
+ upgrade:
+ cmd: motr_setup upgrade
+ args: --config $URL
support_bundle:
- /opt/seagate/cortx/motr/libexec/m0reportbug-bundler
