Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions hieradata/common.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,17 @@ metacpan::web::starman:
socket_io:
template: 'socket_io'

github-meets-cpan:
git_source: 'https://github.com/CPAN-API/github-meets-cpan.git'
git_revision: 'master'
vhost_bare: true
vhost_aliases:
- 'gh.metacpan.org'
- "gh.lo.metacpan.org"
- "gh.%{hostname}.metacpan.org"
starman_port: 5002
starman_workers: 1


metacpan::web::static:

Expand Down
1 change: 1 addition & 0 deletions hieradata/env/dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@

classes:
- metacpan::role::developer
- metacpan::system::mongodb

metacpan::tmp_dir: '/tmp/metacpan'
9 changes: 0 additions & 9 deletions hieradata/env/production.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,17 +30,8 @@ metacpan::web::starman:
metacpan-api:
git_enable: true
starman_workers: 14

github-meets-cpan:
git_source: 'https://github.com/CPAN-API/github-meets-cpan.git'
git_revision: 'master'
git_enable: true
vhost_bare: true
vhost_aliases:
- 'gh.metacpan.org'
- "gh.lo.metacpan.org"
- "gh.%{hostname}.metacpan.org"
starman_port: 5002
starman_workers: 1

metacpan::web::static:
Expand Down
3 changes: 3 additions & 0 deletions hieradata/nodes/metacpan-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,8 @@ metacpan::fw_ports:
metacpan_api:
port: 5000
source: '0.0.0.0/0'
github-meets-cpan:
port: 5002
source: '0.0.0.0/0'

starman::config::plack_env: development