]> git.openstreetmap.org Git - chef.git/blob - roles/chef-repository.rb
Add one more host
[chef.git] / roles / chef-repository.rb
1 name "chef-repository"
2 description "Role applied to all chef repositories"
3
4 default_attributes(
5   :accounts => {
6     :users => {
7       :jochen => {
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       :chefrepo => {
20         :status => :role,
21         :members => [
22           :tomh, :grant, :matt, :jburgess, :lonvia, :yellowbkpk, :bretth, :jochen
23         ]
24       }
25     }
26   },
27   :chef => {
28     :repository => "/var/lib/git/chef.git"
29   }
30 )
31
32 run_list(
33   "recipe[chef::repository]"
34 )