From 548180049b51b95f403e072907c3d4a71b6dc697 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Wed, 2 Oct 2013 19:14:57 +0100 Subject: [PATCH] Configure a private git server for chef, restricted to chef clients --- roles/ironbelly.rb | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/roles/ironbelly.rb b/roles/ironbelly.rb index 427e9ce9c..c831c995c 100644 --- a/roles/ironbelly.rb +++ b/roles/ironbelly.rb @@ -5,6 +5,10 @@ default_attributes( :apt => { :sources => [ "ubuntugis-unstable" ] }, + :git => { + :allowed_nodes => "*:*", + :backup => "chef-git" + }, :networking => { :interfaces => { :internal_ipv4 => { @@ -90,5 +94,6 @@ run_list( "role[stats]", "role[planet]", "recipe[rsyncd]", - "recipe[openvpn]" + "recipe[openvpn]", + "recipe[git::server]" ) -- 2.39.5