X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/98365f1da1424a74d5e1a562f0885608fadb88e7..a7d96c8358a00088b485fadb5966eb4b231d2ff1:/roles/chef-repository.rb diff --git a/roles/chef-repository.rb b/roles/chef-repository.rb new file mode 100644 index 000000000..9e1815f13 --- /dev/null +++ b/roles/chef-repository.rb @@ -0,0 +1,28 @@ +name "chef-repository" +description "Role applied to all chef repositories" + +default_attributes( + :accounts => { + :users => { + :lonvia => { + :status => :user, + :shell => "/usr/bin/git-shell" + }, + :yellowbkpk => { + :status => :user, + :shell => "/usr/bin/git-shell" + }, + :chefrepo => { + :status => :role, + :members => [ :tomh, :grant, :matt, :lonvia, :yellowbkpk ] + } + } + }, + :chef => { + :repository => "/var/lib/git/chef.git" + } +) + +run_list( + "recipe[chef::repository]" +)