-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinit-7.7.pp
56 lines (49 loc) · 1.16 KB
/
init-7.7.pp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
class{'git': }
# required to meet dependencies for bundling the gems
package{'libicu-dev':
ensure => 'present',
}
package{'libkrb5-dev':
ensure => 'present',
}
package{'cmake':
ensure => 'present',
}
class{'apache':
default_vhost => false,
log_formats => { common_forwarded => '%{X-Forwarded-For}i %l %u %t \"%r\" %>s %b'},
}
include apache::mod::passenger
include redis
class{'ruby':
version => '2.0.0',
set_system_default => true,
}
class{'ruby::dev':
bundler_package => 'bundler',
bundler_provider => 'gem',
}
include postgresql::server
class {'postgresql::lib::devel':
link_pg_config => false,
}
# Setting the gitlab_url used by gitlab shell to use localhost
# because the FQDN of a test VM is unlikly to be real.
class{'gitlab':
gitlab_url => 'http://localhost/',
gitlab_app_repo => 'https://github.com/gitlabhq/gitlabhq.git',
gitlab_app_rev => '7-7-stable',
gitlab_shell_repo => 'https://github.com/gitlabhq/gitlab-shell.git',
gitlab_shell_rev => 'v2.4.1',
require => [
Class[
'git',
'postgresql::lib::devel'
],
Package[
'libicu-dev',
'cmake',
'libkrb5-dev'
]
]
}