Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
23 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
import apache2, core, graphite, haproxy, memcached, mongodb, mysql, nginx, \ | ||
openresty, postgres, puppetdb, puppetdashboard, puppetmaster, rabbitmq, \ | ||
solr, sentry, redis, uwsgi | ||
import apache2, core, graphite, graylog2, haproxy, memcached, mongodb, mysql, \ | ||
nginx, openresty, postgres, puppetdb, puppetdashboard, puppetmaster, \ | ||
rabbitmq, solr, sentry, redis, uwsgi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#!/usr/bin/env python | ||
# Copyright (c) 2013 Evan Hazlett | ||
# | ||
import base | ||
|
||
def get_script(): | ||
""" | ||
Returns the base cloud-init provisioning script for Graylog2 | ||
""" | ||
tmpl = base.get_script() | ||
tmpl += """ | ||
install_core_packages | ||
install_puppet | ||
cd $MODULE_DIR | ||
puppet apply -e "include graylog2" --modulepath modules | ||
""" | ||
return tmpl |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters