Installs and configures CouchDB (http://couchdb.apache.org) from source and its dependencies.
Note
See the full Salt Formulas installation and usage instructions.
Install the couchdb
package and enable the service. This executes all states listed below.
Installs the dependencies for couchdb from source.
Retrieves the source of couch-db. The version
can be set through the pillar.
The target of extraction can also be defined through the pillar with tmp_dir
Calls the ./configure
command unless it has already previously been run for that version.
Calls the make
&& make install
unless the source has already been installed to the standard folders.
Installs the proper user, the {{user}} variable can be set in the pillar.
Sets up the service and makes sure it is running.
- (c) by AISLER, 2014, http://www.aisler.net
- We use saltstack everyday to make hardware less hard!