README.md in environmate-0.1.0 vs README.md in environmate-0.1.1
- old
+ new
@@ -17,11 +17,11 @@
$ /opt/puppetlabs/puppet/bin/gem install environmate
## Usage
-Environmate comes with puma included and no additional setup
+Environmate comes with a webserver included and no additional setup
is required. Simply run environmate from the console:
$ /opt/puppetlabs/puppet/bin/environmate --help
## Environment Management
@@ -103,18 +103,18 @@
- '~/.environmate.yml'
Additionally you can provide a configuration file when starting the environmate
service:
- $ /opt/puppetlabs/puppet/bin/environmate --config /path/to/my/conf.yml
+ $ /opt/puppetlabs/puppet/bin/environmate --config /path/to/my/conf.yml --rack_env production
Here is a complete example config:
production:
environment_path: '/etc/puppetlabs/code/environments'
- lockfile_path: '/var/run/lock/puppet_deploy_lock'
+ lockfile_path: '/var/run/lock/environmate_deploy'
lockfile_options:
timeout: 300
logfile: '/var/log/environmate.log'
loglevel: 'INFO'
@@ -122,10 +122,11 @@
master_repository: 'http://gitlab.exmple.com/puppet/control'
master_branch: 'origin/master'
master_path: '/etc/puppetlabs/code/environmate_master'
dynamic_environments_prefix: 'env/'
+ install_modules_command: 'librarian-puppet install --destructive'
static_environments:
nonprod:
token: 'abc123'
prod:
@@ -138,11 +139,11 @@
- bob@example.com: 'bob@jabber.example.com'
- alice@example.com: 'alice@jabber.example.com'
server_settings:
:Port: 4443
- :Bind: '0.0.0.0'
+ :Host: '0.0.0.0'
:SSLEnable: true
:SSLCertificate: '/path/to/your/cert.pem'
:SSLPrivateKey: '/path/to/your/key.pem'
## Internals
@@ -164,14 +165,14 @@
## Debugging
To easily debug environmate you can start it manually with the foreground flag to get all
the log output to the console. This way you don't have to adjust the config:
- $ /opt/puppetlabs/puppet/bin/environmate --foreground --verbosity DEBUG
+ $ /opt/puppetlabs/puppet/bin/environmate --foreground --verbosity DEBUG --rack_env production
If you want to see stacktraces add the trace flag:
- $ /opt/puppetlabs/puppet/bin/environmate --foreground --verbosity DEBUG --trace
+ $ /opt/puppetlabs/puppet/bin/environmate --foreground --verbosity DEBUG --rack_env production --trace
## Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/puzzle/environmate.
This project is intended to be a safe, welcoming space for collaboration, and contributors are