commands to synchronize the configuration workspace of lmc user and retrieve the synchronization status of the current configuration directory


punchplatform-synchronize.sh ( –get | –pull )


punchplatform-synchronization.sh is a tool to manage revision status of a punchplatform configuration directory of the host.

The following options are available:

Retrieves version information of PUNCHPLATFORM_CONF_DIR of punchplatform : user, hostname, hash of the last commit and ‘up-to-date’ boolean. If a the command failed, then we put FAILED as result. If the version tool (example : git) is not available then last commit hash and up-to-date are not provided. Return a Json string.
If the version tool is configured then we launch a pull request on PUNCHPLATFORM_CONF_DIR. Return the return code of version tool command.


The punchplatform-synchronization.sh utility exits 0 on success, and >0 if an error occurs.


The following required environment variable affect the execution of punchplatform-synchronization.sh:

  • PUNCHPLATFORM_CONF_DIR : The PunchPlatform_CONFDIR must point to the directory holding the punchplatform.properties file.


punchplatform-channel.sh(8) punch(8), punchplatform-env(8) or online documentation in punchplatform setup “doc” directory.