Skip to content

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

  1. Pull the last version of your punchplatform

    $ cd $PUNCHPLATFORM_CONF_DIR
    $ git pull
    
  2. Check the current deployment

    $ punchplatform-deployer.sh --deploy -Kk --check --diff -t operator
    

    You must not have changes.

  3. Add new operators in punchplatform-deployment.settings

    "punchplatform_operator" : {
        "configuration_name_dir_from_home" : "pp-conf",
        "operators_username" : ["admin1","admin2","new_operator"],
        "servers" : {
            "node01" : {}
        }
    },
    
  4. Deploy

    $ punchplatform-deployer.sh --deploy -Kk -t operator
    
  5. Commit you change

    $ git add <files>
    $ git push