]> git.openstreetmap.org Git - chef.git/blob - roles/git.rb
Give stereo git commit permission
[chef.git] / roles / git.rb
1 name "git"
2 description "Role applied to all git servers"
3
4 default_attributes(
5   :accounts => {
6     :users => {
7       :bretth => {
8         :status => :user,
9         :shell => "/usr/bin/git-shell"
10       },
11       :lonvia => {
12         :status => :user,
13         :shell => "/usr/bin/git-shell"
14       },
15       :yellowbkpk => {
16         :status => :user,
17         :shell => "/usr/bin/git-shell"
18       },
19       :stereo => {
20         :status => :user,
21         :shell => "/usr/bin/git-shell"
22       },
23       :git => {
24         :status => :role,
25         :members => [:tomh, :grant, :matt, :lonvia, :yellowbkpk, :stereo]
26       }
27     }
28   },
29   :git => {
30     :host => "git.openstreetmap.org",
31     :aliases => ["git.osm.org"]
32   }
33 )
34
35 run_list(
36   "recipe[git::server]",
37   "recipe[git::web]"
38 )