]> git.openstreetmap.org Git - chef.git/blobdiff - roles/ironbelly.rb
Add support for upgrading the chef server
[chef.git] / roles / ironbelly.rb
index c22a3c6c4694cdf6a4e562b41fe053212477e453..7c90c9c87ed9d569e2b87134fd375d83edb74573 100644 (file)
@@ -5,6 +5,12 @@ default_attributes(
   :apt => {
     :sources => [ "ubuntugis-unstable" ]
   },
+  :git => {
+    :allowed_nodes => "*:*",
+    :user => "chefrepo",
+    :group => "chefrepo",
+    :backup => "chef-git"
+  },
   :networking => {
     :interfaces => {
       :internal_ipv4 => {
@@ -72,7 +78,8 @@ default_attributes(
           "2001:630:12:500::/64", # ic external
           "127.0.0.0/8",          # localhost
           "::1"                   # localhost
-        ]
+        ],
+        :nodes_allow => "roles:tilecache"
       }
     }
   }
@@ -89,5 +96,6 @@ run_list(
   "role[stats]",
   "role[planet]",
   "recipe[rsyncd]",
-  "recipe[openvpn]"
+  "recipe[openvpn]",
+  "recipe[git::server]"
 )