Skip to content

Commit 2378a43

Browse files
committed
Merge pull request #91 from CPAN-API/gmc-dev
add github-meets-cpan to dev vm
2 parents b469ab2 + 6ad32ef commit 2378a43

File tree

4 files changed

+15
-9
lines changed

4 files changed

+15
-9
lines changed

hieradata/common.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,17 @@ metacpan::web::starman:
118118
socket_io:
119119
template: 'socket_io'
120120

121+
github-meets-cpan:
122+
git_source: 'https://github.com/CPAN-API/github-meets-cpan.git'
123+
git_revision: 'master'
124+
vhost_bare: true
125+
vhost_aliases:
126+
- 'gh.metacpan.org'
127+
- "gh.lo.metacpan.org"
128+
- "gh.%{hostname}.metacpan.org"
129+
starman_port: 5002
130+
starman_workers: 1
131+
121132

122133
metacpan::web::static:
123134

hieradata/env/dev.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@
22

33
classes:
44
- metacpan::role::developer
5+
- metacpan::system::mongodb
56

67
metacpan::tmp_dir: '/tmp/metacpan'

hieradata/env/production.yaml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -30,17 +30,8 @@ metacpan::web::starman:
3030
metacpan-api:
3131
git_enable: true
3232
starman_workers: 14
33-
3433
github-meets-cpan:
35-
git_source: 'https://github.com/CPAN-API/github-meets-cpan.git'
36-
git_revision: 'master'
3734
git_enable: true
38-
vhost_bare: true
39-
vhost_aliases:
40-
- 'gh.metacpan.org'
41-
- "gh.lo.metacpan.org"
42-
- "gh.%{hostname}.metacpan.org"
43-
starman_port: 5002
4435
starman_workers: 1
4536

4637
metacpan::web::static:

hieradata/nodes/metacpan-dev.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,8 @@ metacpan::fw_ports:
2828
metacpan_api:
2929
port: 5000
3030
source: '0.0.0.0/0'
31+
github-meets-cpan:
32+
port: 5002
33+
source: '0.0.0.0/0'
3134

3235
starman::config::plack_env: development

0 commit comments

Comments
 (0)