# Installs the p4webapi include: - perforce.web-services.p4webapi.upstart # We actually launch the p4_web_services_auth: cmd.run: - name: source /usr/local/rvm/scripts/rvm; rvm 2.2.2@p4webapi-gemset do rake install - user: webservices - unless: source /usr/local/rvm/scripts/rvm; rvm 2.2.2@p4webapi-gemset do gem list | grep p4_web_services_auth # Start the service up after making sure everything is installed p4webapi: service: - running - watch: - file: /etc/init/p4webapi.conf - file: /opt/perforce/web-services/conf/p4webapi.god require: - sls: perforce.web-services.p4webapi.upstart - file: /etc/init/p4webapi.conf - file: /opt/perforce/web-services/conf/p4webapi.god - file: /var/log/perforce/web-services - file: /var/run/perforce/web-services - pkg: p4_web_services_auth p4util install: cmd.run: - name: source /usr/local/rvm/scripts/rvm; rvm 2.2.2@p4webapi-gemset do gem install p4util - user: webservices - unless: source /usr/local/rvm/scripts/rvm; rvm 2.2.2@p4webapi-gemset do gem list | grep p4util require: - sls: perforce.web-services.p4webapi.upstart seed data: cmd.run: - name: /usr/local/rvm/wrappers/ruby-2.2.2@p4webapi-gemset/p4util init -p :1666 ../../p4init - user: webservices # TODO not sure how to do this. require: - pkg: p4util install
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#3 | 13512 | tjuricek |
Add 'test-ubuntu12' environment that sets up projects based on "production" packages. Packages are installed from source files that should have been created by the last 'build-ubuntu12' environment. Since the package building process "dirties" up the environment it's better to use a clean system to test package installation. |
||
#2 | 13496 | tjuricek |
Complete and seed the setup of the p4webapi in a development mode. This works against the local development tree for dev environments. |
||
#1 | 13494 | tjuricek | Reorganize salt tree to have a single set of states (probably) organized with different basic minion configurations. |