HOWTO add a new punchplatform operator
Why do that¶
You may need to add new operators to a punchplatform.
Prerequisites¶
- To have an access to the deployment servers stylesheets
What to do¶
-
Pull the last version of your punchplatform
$ cd $PUNCHPLATFORM_CONF_DIR $ git pull
-
Check the current deployment
$ punchplatform-deployer.sh --deploy -Kk --check --diff -t operator
You must not have changes.
-
Add new operators in punchplatform-deployment.settings
"punchplatform_operator" : { "configuration_name_dir_from_home" : "pp-conf", "operators_username" : ["admin1","admin2","new_operator"], "servers" : { "node01" : {} } },
-
Deploy
$ punchplatform-deployer.sh --deploy -Kk -t operator
-
Commit you change
$ git add <files> $ git push