Skip to content

Instantly share code, notes, and snippets.

@nuria
Created March 25, 2015 17:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nuria/2f5e33902122870e44e0 to your computer and use it in GitHub Desktop.
Save nuria/2f5e33902122870e44e0 to your computer and use it in GitHub Desktop.
/var/lib/git/operations/puppet/manifests/misc/limn1.pp
node 'limn1.eqiad.wmflabs' {
include webserver::apache
# make sure /var/log/apache2 is readable by wikidevs for debugging.
# This won't make the actual log files readable, only the directory.
# Individual log files can be created and made readable by
# classes that manage individual sites.
file { '/var/log/apache2':
ensure => 'directory',
owner => 'root',
group => 'wikidev',
mode => '0750',
require => Class['webserver::apache'],
}
include ::apache::mod::rewrite
include ::apache::mod::proxy
include ::apache::mod::proxy_http
misc::limn::instance { 'debugging': port => 8092, environment => 'production' }
misc::limn::instance { 'ee-dashboard': port => 8088, environment => 'production' }
misc::limn::instance { 'gp': port => 8087, environment => 'production', proxy_site_template => 'limn/vhost-limn-proxy-wp-zero-gone.conf.erb' }
misc::limn::instance { 'mobile-reportcard': port => 8089, environment => 'production' }
misc::limn::instance { 'flow-reportcard': port => 8090, environment => 'production' }
misc::limn::instance { 'edit-reportcard': port => 8091, environment => 'production' }
misc::limn::instance { 'language-reportcard': port => 8093, environment => 'production' }
misc::limn::instance { 'test-reportcard': port => 8001, environment => 'production' }
misc::limn::instance { 'multimedia-metrics': port => 8002, environment => 'production' }
misc::limn::instance { 'glam-metrics': port => 8003, environment => 'production' }
misc::limn::instance { 'edit-analysis': port => 8099, environment => 'production', proxy_site_template => 'limn/static.vhost.erb' }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment