]> git.openstreetmap.org Git - chef.git/blobdiff - roles/chef-repository.rb
Add roles from the private repository
[chef.git] / roles / chef-repository.rb
diff --git a/roles/chef-repository.rb b/roles/chef-repository.rb
new file mode 100644 (file)
index 0000000..9e1815f
--- /dev/null
@@ -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]"
+)