dev/provisioning/modules/puppi/manifests/project/README
author ymh <ymh.work@gmail.com>
Fri, 15 Jan 2016 15:35:00 +0100
changeset 28 b0b56e0f8c7f
permissions -rwxr-xr-x
Add contributor edition - added viaf resolver - improve contributors list display - add update of document objects - propagate update to back office - update back office - add bo-client to back office - setup language initializer - add options mechanism - add language information in language list - add lexvo resolver service + api - add language and lexvo resolver to js app - correct env template - refresh bootstrap - download google font - add version information - update dev virtual machine to centos7 - add a readme + clean folders - add local .env file to start commands

In this directory you find some examples of deploy procedures
for general purposes deploys (single wars, single files, tarballs, list
of files from a list...) described in a single define.

They are made in order to be generic enough to adapt to different 
environments and scenarious but you might need to design your
own deployment process.

In order to do that you can create a new define that includes:
- All the variables, required or optional, you may want
- One puppi:project statement 
- All the puppi::deploy statements you need (each one runs a command)
- All the puppi::rollback statements you need
- One or more puppi::report statements for reporting

The examples provided here make use of the scripts provided in
puppi/files/scripts and tend to split the deploy procedures in many 
different, reusable, scripts (one gets the source file(s), another 
archives the current content, another one actually copies the files
to deploy and so on) but you can use just a single new script or 
whatever combination you might prefer.

The default puppi scripts and the general ordering of commands
execution in these sample deploy defines follow this scheme:
Priority - Kind of operations
1x - Pre Deploy checks 
2x - Files retrieving and preparation
3x - Operations to accomplish before the deploy (Archiving, Services stopping..)
40 - Deploy.sh - The script that actually copied the files on deploy dir
4x - Operations to accomplish after the deploy (Services start...)
8x - Post Deploy checks