OSDN Git Service

refactor roles.
authorwhitestar <whitestar@gaea.test>
Mon, 1 Jul 2013 10:25:15 +0000 (19:25 +0900)
committerwhitestar <whitestar@gaea.test>
Mon, 1 Jul 2013 10:25:15 +0000 (19:25 +0900)
32 files changed:
cookbooks/node_commons/recipes/apt.rb
cookbooks/node_commons/recipes/yum-epel.rb
role-spaghetti.dot [new file with mode: 0644]
role-spaghetti.png [new file with mode: 0644]
roles/apt.rb
roles/chef_utils.rb
roles/grid-adm.rb
roles/grid-gpm.rb
roles/grid-ns.rb
roles/grid-realm.rb
roles/grid.rb [new file with mode: 0644]
roles/hadoop.rb
roles/hbase.rb
roles/krb5-client.rb
roles/ldap-client-grid.rb
roles/nameservice-client.rb
roles/nameservice-master.rb
roles/nameservice-slave.rb
roles/node_commons.rb
roles/pig.rb
roles/pleiades-dn.rb
roles/pleiades-gm.rb
roles/pleiades-gw.rb
roles/pleiades-hm.rb
roles/pleiades-jt.rb
roles/pleiades-nm.rb
roles/pleiades-nn.rb
roles/pleiades-pxy.rb
roles/pleiades-wf.rb
roles/protobuf-compiler.rb
roles/yum-epel.rb
roles/zookeeper.rb

index e6f5948..18f7e6b 100644 (file)
 #
 
 if node[:platform_family] == 'debian' then
-  resource_name = 'included_recipe_apt'
-
-  begin
-    resources(:ruby_block => resource_name)
-  rescue 
-    include_recipe 'apt::default'
-
-    # marker resource
-    ruby_block resource_name do
-      block do
-        Chef::Log::info("include_recipe 'apt::default' done.")
-      end
-    end
-  end
+  # "If a recipe is included more than once in a recipe, only the first
+  # inclusion will be processed and any subsequent inclusion will be ignored."
+  # from http://docs.opscode.com/essentials_cookbook_recipes_in_recipes.html
+  include_recipe 'apt::default'
 end
 
index 7e1d7bf..608d727 100644 (file)
 #
 
 if node[:platform_family] == 'rhel' then
-  resource_name = 'included_recipe_yum_epel'
-
-  begin
-    resources(:ruby_block => resource_name)
-  rescue
-    include_recipe 'yum::epel'
-
-    # marker resource
-    ruby_block resource_name do
-      block do
-        Chef::Log::info("include_recipe 'yum::epel' done.")
-      end
-    end
-  end
+  # "If a recipe is included more than once in a recipe, only the first
+  # inclusion will be processed and any subsequent inclusion will be ignored."
+  # from http://docs.opscode.com/essentials_cookbook_recipes_in_recipes.html
+  include_recipe 'yum::epel'
 end
 
diff --git a/role-spaghetti.dot b/role-spaghetti.dot
new file mode 100644 (file)
index 0000000..07b8437
--- /dev/null
@@ -0,0 +1,340 @@
+digraph RoleDependencies {
+       graph [fontname=Verdana, fontsize=20, label="\n\n\nChef Role Dependencies\n", rankdir=LR, overlap=false, compound=true];
+       node [label="\N", shape=box, style=rounded, color=red];
+       graph [lp="944,51",
+               bb="0,0,1888,2851.4"];
+       "pleiades-gm_role" [label="pleiades-gm", pos="405,472", width="1.3611", height="0.5"];
+       node_commons_role [label=node_commons, pos="1442,1592", width="1.6944", height="0.5"];
+       "nameservice-client-grid_role" [label="nameservice-client-grid", pos="714,2188", width="2.4444", height="0.5"];
+       "ganglia-gmond_role" [label="ganglia-gmond", pos="1013,792", width="1.6389", height="0.5"];
+       "ganglia-gmetad_role" [label="ganglia-gmetad", pos="1013,228", width="1.6944", height="0.5"];
+       "ganglia-web_role" [label="ganglia-web", pos="714,396", width="1.3889", height="0.5"];
+       "pleiades-jt_role" [label="pleiades-jt", pos="50,1398", width="1.1944", height="0.5"];
+       "grid-realm_role" [label="grid-realm", pos="1232,2256", width="1.1944", height="0.5"];
+       "pleiades-node_role" [label="pleiades-node", pos="194,2150", width="1.5278", height="0.5"];
+       "grid-zk-colo00_role" [label="grid-zk-colo00", pos="194,1006", width="1.5833", height="0.5"];
+       "zookeeper-colo00-with-security_role" [label="zookeeper-colo00-with-security", pos="405,1723", width="3.25", height="0.5"];
+       "chef-workstation_role" [label="chef-workstation", pos="714,2356", width="1.8333", height="0.5"];
+       chef_utils_role [label=chef_utils, pos="1013,2356", width="1.1389", height="0.5"];
+       "pleiades-hm_role" [label="pleiades-hm", pos="50,2463", width="1.3611", height="0.5"];
+       "nameservice-slave-grid_role" [label="nameservice-slave-grid", pos="714,2635", width="2.4167", height="0.5"];
+       "nameservice-slave_role" [label="nameservice-slave", pos="1013,2708", width="1.9722", height="0.5"];
+       hbase_role [label=hbase, pos="1013,1392", width="0.77778", height="0.5"];
+       java_role [label=java, pos="1442,1006", width="0.75", height="0.5"];
+       grid_role [label=grid, pos="1442,1226", width="0.75", height="0.5"];
+       hadoop_role [label=hadoop, pos="1232,884", width="0.91667", height="0.5"];
+       hbase [label=hbase, shape=component, color=blue, pos="1232,1378", width="0.77778", height="0.5"];
+       "pleiades-dn_role" [label="pleiades-dn", pos="50,2127", width="1.3056", height="0.5"];
+       chef_utils [label=chef_utils, shape=component, color=blue, pos="1232,2364", width="1.1389", height="0.5"];
+       "ldap-client_role" [label="ldap-client", pos="1232,2562", width="1.2222", height="0.5"];
+       "openldap::client" [label="openldap::client", shape=component, color=blue, pos="1442,2562", width="1.7222", height="0.5"];
+       "grid-adm_role" [label="grid-adm", pos="405,2260", width="1.0556", height="0.5"];
+       "hbase-pseudo-distributed_role" [label="hbase-pseudo-distributed", pos="714,1452", width="2.6389", height="0.5"];
+       "zookeeper-standalone-with-security_role" [label="zookeeper-standalone-with-security", pos="714,1852", width="3.6667", height="0.5"];
+       "nameservice-master_role" [label="nameservice-master", pos="1013,2004", width="2.1667", height="0.5"];
+       "zookeeper-standalone_role" [label="zookeeper-standalone", pos="1013,1798", width="2.3333", height="0.5"];
+       jce_policy_role [label=jce_policy, pos="1013,2058", width="1.1389", height="0.5"];
+       "zookeeper-colo00_role" [label="zookeeper-colo00", pos="1013,1538", width="1.8889", height="0.5"];
+       zookeeper_role [label=zookeeper, pos="1232,1432", width="1.2222", height="0.5"];
+       jce_policy [label=jce_policy, shape=component, color=blue, pos="1232,2058", width="1.1389", height="0.5"];
+       "hadoop-pseudo-distributed_role" [label="hadoop-pseudo-distributed", pos="1013,922", width="2.7778", height="0.5"];
+       "pleiades-nm_role" [label="pleiades-nm", pos="714,1306", width="1.3611", height="0.5"];
+       "krb5-client_role" [label="krb5-client", pos="1232,2310", width="1.25", height="0.5"];
+       "krb5::client" [label="krb5::client", shape=component, color=blue, pos="1442,2310", width="1.3056", height="0.5"];
+       "yum-epel_role" [label="yum-epel", pos="1232,228", width="1.1111", height="0.5"];
+       "ganglia::gmetad" [label="ganglia::gmetad", shape=component, color=blue, pos="1232,174", width="1.75", height="0.5"];
+       mocker_role [label=mocker, pos="714,1052", width="0.91667", height="0.5"];
+       drillbook [label=drillbook, shape=component, color=blue, pos="1013,1052", width="1.0278", height="0.5"];
+       "ganglia-gmond-ucast-localhost_role" [label="ganglia-gmond-ucast-localhost", pos="714,884", width="3.1389", height="0.5"];
+       java [label=java, shape=component, color=blue, pos="1637,1006", width="0.75", height="0.5"];
+       apt_role [label=apt, pos="1637,1619", width="0.75", height="0.5"];
+       node_commons [label=node_commons, shape=component, color=blue, pos="1637,1565", width="1.6944", height="0.5"];
+       "hbase-pseudo-distributed-with-security_role" [label="hbase-pseudo-distributed-with-security", pos="714,1744", width="3.9722", height="0.5"];
+       pig_role [label=pig, pos="1013,331", width="0.75", height="0.5"];
+       pig [label=pig, shape=component, color=blue, pos="1232,320", width="0.75", height="0.5"];
+       "pleiades-gw_role" [label="pleiades-gw", pos="50,518", width="1.3611", height="0.5"];
+       "hadoop-pleiades-with-security_role" [label="hadoop-pleiades-with-security", pos="405,2150", width="3.1111", height="0.5"];
+       grid [label=grid, shape=component, color=blue, pos="1637,1226", width="0.75", height="0.5"];
+       "krb5::kdc" [label="krb5::kdc", shape=component, color=blue, pos="1232,2708", width="1.1111", height="0.5"];
+       "hadoop-pseudo-distributed-with-security_role" [label="hadoop-pseudo-distributed-with-security", pos="714,1690", width="4.1111", height="0.5"];
+       "hbase-pleiades-with-security_role" [label="hbase-pleiades-with-security", pos="405,2204", width="2.9722", height="0.5"];
+       "ganglia-gmetad-localhost_role" [label="ganglia-gmetad-localhost", pos="714,564", width="2.6111", height="0.5"];
+       "nameservice-client_role" [label="nameservice-client", pos="1013,2600", width="2.0278", height="0.5"];
+       "openldap::nss-ldapd" [label="openldap::nss-ldapd", shape=component, color=blue, pos="1232,2508", width="2.1111", height="0.5"];
+       "ganglia::gmond" [label="ganglia::gmond", shape=component, color=blue, pos="1232,792", width="1.6944", height="0.5"];
+       "nameservice-master-grid_role" [label="nameservice-master-grid", pos="714,1906", width="2.5833", height="0.5"];
+       "protobuf-compiler_role" [label="protobuf-compiler", pos="1013,147", width="1.8889", height="0.5"];
+       "protobuf-compiler" [label="protobuf-compiler", shape=component, color=blue, pos="1232,120", width="1.8889", height="0.5"];
+       "grid-gm_role" [label="grid-gm", pos="405,396", width="0.94444", height="0.5"];
+       "hadoop-pleiades_role" [label="hadoop-pleiades", pos="1013,1160", width="1.7778", height="0.5"];
+       nagios_role [label=nagios, pos="714,1106", width="0.83333", height="0.5"];
+       nagios [label=nagios, shape=component, color=blue, pos="1013,1106", width="0.83333", height="0.5"];
+       "zookeeper-pseudo-replicated_role" [label="zookeeper-pseudo-replicated", pos="1013,1706", width="2.9722", height="0.5"];
+       "test-on-localhost_role" [label="test-on-localhost", pos="405,1473", width="1.8333", height="0.5"];
+       "zookeeper-pseudo-replicated-with-security_role" [label="zookeeper-pseudo-replicated-with-security", pos="714,1798", width="4.3056", height="0.5"];
+       "hbase-pleiades_role" [label="hbase-pleiades", pos="714,1506", width="1.6389", height="0.5"];
+       "ldap-client-grid_role" [label="ldap-client-grid", pos="1013,2654", width="1.6389", height="0.5"];
+       "grid::cacert_deploy" [label="grid::cacert_deploy", shape=component, color=blue, pos="1232,2616", width="2.0278", height="0.5"];
+       zookeeper [label=zookeeper, shape=component, color=blue, pos="1442,1432", width="1.2222", height="0.5"];
+       "pleiades-nn_role" [label="pleiades-nn", pos="50,2333", width="1.3056", height="0.5"];
+       "node_commons::apt" [label="node_commons::apt", shape=component, color=blue, pos="1811,1619", width="2.1389", height="0.5"];
+       "krb5-client-grid_role" [label="krb5-client-grid", pos="1013,2264", width="1.6944", height="0.5"];
+       hadoop [label=hadoop, shape=component, color=blue, pos="1442,884", width="0.91667", height="0.5"];
+       "grid-ns_role" [label="grid-ns", pos="714,1598", width="0.88889", height="0.5"];
+       yum [label=yum, shape=component, color=blue, pos="1442,255", width="0.75", height="0.5"];
+       "node_commons::yum-epel" [label="node_commons::yum-epel", shape=component, color=blue, pos="1442,201", width="2.6944", height="0.5"];
+       "pleiades-pxy_role" [label="pleiades-pxy", pos="714,1360", width="1.4167", height="0.5"];
+       "krb5::admin" [label="krb5::admin", shape=component, color=blue, pos="1232,1958", width="1.3611", height="0.5"];
+       "grid-gpm_role" [label="grid-gpm", pos="714,1198", width="1.0556", height="0.5"];
+       "pleiades-wf_role" [label="pleiades-wf", pos="714,1252", width="1.3056", height="0.5"];
+       "ganglia::web" [label="ganglia::web", shape=component, color=blue, pos="1013,423", width="1.4444", height="0.5"];
+       "pleiades-gm_role" -> node_commons_role [pos="e,1422.9,1573.9 454.16,469.94 633.81,462.91 1247.4,443.55 1308,504 1383.2,579 1309,1358.8 1344,1459 1358.8,1501.4 1392.3,1541.8 \
+1415.9,1566.7"];
+       "pleiades-gm_role" -> "nameservice-client-grid_role" [pos="e,698.45,2169.7 407.5,490.21 420.86,587.83 484.48,1059.1 522,1446 542.95,1662 491.5,1726.4 558,1933 587.58,2024.9 656.53,2117.9 \
+692.03,2161.8"];
+       "pleiades-gm_role" -> "ganglia-gmond_role" [pos="e,996.38,773.62 423.08,490.16 450.09,516.28 503.66,564.24 558,591 686.53,654.28 742.67,606.34 870,672 917.39,696.44 962.94,739.03\
+ 989.43,766.35"];
+       "pleiades-gm_role" -> "ganglia-gmetad_role" [pos="e,951.31,239.99 454.02,458.65 476.42,450.84 502.29,439.25 522,423 544.25,404.65 535.12,386.57 558,369 687.53,269.53 748.57,294.45\
+ 906,251 917.38,247.86 929.53,244.89 941.42,242.19"];
+       "pleiades-gm_role" -> "ganglia-web_role" [pos="e,663.33,408.46 454.3,459.87 508.42,446.56 595.34,425.19 653.53,410.87"];
+       "pleiades-jt_role" -> node_commons_role [pos="e,1423.3,1573.8 50.817,1379.6 54.521,1305.4 72.411,1030.9 136,979 186.48,937.83 1262.9,968.01 1308,1015 1376.6,1086.4 1309.3,1366.3\
+ 1344,1459 1359.8,1501.1 1393,1541.5 1416.3,1566.5"];
+       "pleiades-jt_role" -> "grid-realm_role" [pos="e,1188.4,2264.3 50.326,1416.1 52.438,1519.7 66.367,2036.9 136,2177 205.36,2316.6 249.14,2402 405,2402 405,2402 405,2402 714,2402\
+ 804.32,2402 1047.3,2436.6 1120,2383 1158,2354.9 1122.5,2316.3 1156,2283 1162.5,2276.5 1170.6,2271.6 1179.1,2267.9"];
+       "pleiades-jt_role" -> "ganglia-gmond_role" [pos="e,990.39,773.98 50.859,1379.9 55.981,1275.8 84.055,755.86 136,710 258.28,602.05 712.38,668.02 870,710 912.1,721.22 954.71,748.09\
+ 982.32,768.04"];
+       "pleiades-jt_role" -> "pleiades-node_role" [pos="e,173.91,2131.8 50.921,1416.2 55.957,1511.7 81.935,1955.2 136,2080 143.17,2096.6 155.49,2112.3 166.95,2124.6"];
+       "grid-zk-colo00_role" -> node_commons_role [pos="e,1423.5,1573.7 251.71,1006 347.67,1006 546.08,1006 714,1006 714,1006 714,1006 1013,1006 1157.2,1006 1230.8,1019.2 1308,1141 1384.2\
+,1261.1 1292.1,1326.6 1344,1459 1360.4,1500.7 1393.2,1541 1416.3,1566.1"];
+       "grid-zk-colo00_role" -> "ganglia-gmond_role" [pos="e,953.89,801.31 229.38,987.99 293.26,956.28 432.88,890.65 558,857 693.17,820.64 731.49,834.2 870,814 894.03,810.5 920.31,806.5 943.71\
+,802.88"];
+       "grid-zk-colo00_role" -> "zookeeper-colo00-with-security_role" [pos="e,393.02,1704.8 195.54,1024.4 201.45,1090.5 225.61,1321.1 288,1500 314.1,1574.8 361.91,1655.5 387.59,1696.2"];
+       "chef-workstation_role" -> chef_utils_role [pos="e,971.79,2356 780.73,2356 835.36,2356 911.53,2356 961.53,2356"];
+       "pleiades-hm_role" -> node_commons_role [pos="e,1438.9,1610.1 56.906,2481.2 86.313,2555.3 208.65,2830 405,2830 405,2830 405,2830 1013,2830 1144.8,2830 1216.4,2893.8 1308,2799\
+ 1347.9,2757.7 1338,2340.2 1344,2283 1371.3,2024.5 1421.7,1714.1 1437.3,1620.2"];
+       "pleiades-hm_role" -> "grid-realm_role" [pos="e,1188.2,2263.1 99.769,2477 111.58,2479.9 124.18,2482.8 136,2485 254.35,2506.9 284.65,2516 405,2516 405,2516 405,2516 714,2516 804.48\
+,2516 1052.9,2545.7 1120,2485 1187.6,2423.8 1097.1,2352.6 1156,2283 1162,2275.9 1170.1,2270.6 1178.7,2266.7"];
+       "pleiades-hm_role" -> "ganglia-gmond_role" [pos="e,953.89,792.32 61.741,2444.9 73.933,2425 92.283,2391.7 100,2360 136.34,2210.9 65.857,1115.5 136,979 174.71,903.65 210.49,898.19\
+ 288,864 399.66,814.75 436.78,828.09 558,814 694.15,798.17 854.51,793.69 943.88,792.45"];
+       "pleiades-hm_role" -> "pleiades-node_role" [pos="e,186.14,2168.1 59.023,2444.8 69.17,2424.3 86.053,2389.9 100,2360 130.35,2294.9 164.43,2217.7 182.03,2177.5"];
+       "nameservice-slave-grid_role" -> "grid-realm_role" [pos="e,1188.5,2262.8 764.47,2617 802.92,2603.6 857.36,2585.7 906,2573 999.87,2548.5 1053.3,2600.4 1120,2530 1196.3,2449.5 1085.6,2368.8\
+ 1156,2283 1162,2275.7 1170.1,2270.4 1178.8,2266.5"];
+       "nameservice-slave-grid_role" -> "nameservice-slave_role" [pos="e,941.49,2690.5 787.91,2653 831.48,2663.7 886.67,2677.2 931.5,2688.1"];
+       hbase_role -> java_role [pos="e,1421.9,1024.1 1033.1,1373.9 1102.8,1311.2 1333.9,1103.3 1414.2,1031"];
+       hbase_role -> grid_role [pos="e,1415,1236.5 1041.8,1380.9 1117.5,1351.6 1322,1272.4 1405.6,1240.1"];
+       hbase_role -> hadoop_role [pos="e,1223.2,902.18 1024,1373.9 1045.1,1339 1091.4,1259 1120,1187 1141.7,1132.5 1136.3,1115.3 1156,1060 1175.1,1006.3 1202.6,945.79 \
+1218.8,911.53"];
+       hbase_role -> hbase [pos="e,1203.4,1379.8 1041.6,1390.2 1080.4,1387.7 1149.7,1383.3 1193.2,1380.5"];
+       "pleiades-dn_role" -> node_commons_role [pos="e,1439.8,1610.2 97.595,2122 165.66,2115.2 294.76,2104 405,2104 405,2104 405,2104 1013,2104 1078.7,2104 1257.1,2126.6 1308,2085 1382.1\
+,2024.5 1426.5,1716 1438.6,1620.3"];
+       "pleiades-dn_role" -> "grid-realm_role" [pos="e,1188.4,2263.7 55.119,2145.2 72.799,2207.9 130.52,2411.5 136,2416 182.47,2454 344.98,2440 405,2440 405,2440 405,2440 714,2440 804.38\
+,2440 1049.9,2473 1120,2416 1167.5,2377.4 1114.4,2327.9 1156,2283 1162.3,2276.2 1170.4,2271.1 1179,2267.3"];
+       "pleiades-dn_role" -> "ganglia-gmond_role" [pos="e,966.8,773.94 51.393,2108.8 57.532,2028.5 82.638,1697.2 100,1425 104.53,1354 86.566,837.12 136,786 249.54,668.59 708.49,723.71 \
+870,748 899.38,752.42 931.06,761.67 957.11,770.56"];
+       "pleiades-dn_role" -> "pleiades-node_role" [pos="e,138.25,2141.1 97.55,2134.6 107.42,2136.2 117.99,2137.9 128.38,2139.5"];
+       chef_utils_role -> chef_utils [pos="e,1191,2362.5 1054.2,2357.5 1090,2358.8 1142,2360.7 1180.5,2362.1"];
+       "ldap-client_role" -> "openldap::client" [pos="e,1379.3,2562 1276,2562 1302.9,2562 1338,2562 1369,2562"];
+       "grid-adm_role" -> node_commons_role [pos="e,1439,1610.1 406.02,2278.3 410.64,2342.1 435.07,2557 558,2662 621.66,2716.4 1246.5,2791.8 1308,2735 1345,2700.8 1338.5,2333.1 1344\
+,2283 1372.6,2024.7 1422.1,1714.1 1437.4,1620.2"];
+       "grid-adm_role" -> "nameservice-client-grid_role" [pos="e,636.7,2206 443.51,2251 489.1,2240.4 566.45,2222.4 626.79,2208.3"];
+       "grid-adm_role" -> "ganglia-gmond_role" [pos="e,971.64,810.08 443.66,2261.6 470.06,2260.4 503.49,2253.8 522,2231 596.18,2139.4 478.38,1257.9 558,1171 652.38,1068 770.59,1231.1\
+ 870,1133 955.21,1048.9 843.43,968.09 906,866 919.37,844.18 941.87,827.18 962.8,815"];
+       "grid-adm_role" -> "chef-workstation_role" [pos="e,656,2338 443.51,2272 494.19,2287.7 584.1,2315.6 646.27,2335"];
+       "hbase-pseudo-distributed_role" -> node_commons_role [pos="e,1418.9,1573.8 809.74,1449.1 929.39,1448.2 1139,1456.1 1308,1512 1345.9,1524.5 1384.6,1549.1 1410.6,1567.8"];
+       "hbase-pseudo-distributed_role" -> hbase_role [pos="e,984.3,1397.8 803.71,1434 860.6,1422.6 931.32,1408.4 974.27,1399.8"];
+       "zookeeper-standalone-with-security_role" -> "nameservice-master_role" [pos="e,934.81,1989.9 846.54,1864.5 854.95,1868.4 862.88,1873.2 870,1879 904.28,1907.1 873.45,1941.9 906,1972 911.81,1977.4 918.48,1981.8\
+ 925.59,1985.6"];
+       "zookeeper-standalone-with-security_role" -> "zookeeper-standalone_role" [pos="e,928.73,1814.1 819.35,1834 836.29,1831 853.64,1828 870,1825 885.75,1822.2 902.46,1819.1 918.7,1816"];
+       "zookeeper-standalone-with-security_role" -> jce_policy_role [pos="e,971.88,2057.5 846.75,1863.1 855.21,1867.3 863.09,1872.5 870,1879 920.57,1926.6 857.27,1981.6 906,2031 920.54,2045.8 941.9,2052.9\
+ 961.71,2056.2"];
+       "zookeeper-colo00_role" -> node_commons_role [pos="e,1380.9,1584.3 1081.9,1546.7 1161.2,1556.7 1290.7,1573 1370.9,1583"];
+       "zookeeper-colo00_role" -> zookeeper_role [pos="e,1194.5,1450.2 1050.6,1519.8 1088,1501.7 1145.2,1474 1185.4,1454.5"];
+       jce_policy_role -> jce_policy [pos="e,1191,2058 1054.2,2058 1090,2058 1142,2058 1180.5,2058"];
+       "hadoop-pseudo-distributed_role" -> node_commons_role [pos="e,1423.2,1573.8 1113.2,919.63 1188,920.21 1281.7,926.69 1308,954 1386.1,1035 1305.1,1353.4 1344,1459 1359.5,1501.2 1392.8,1541.6\
+ 1416.3,1566.6"];
+       "hadoop-pseudo-distributed_role" -> hadoop_role [pos="e,1198.4,889.84 1113.2,904.61 1139.7,900.02 1166.8,895.31 1188.5,891.55"];
+       "pleiades-nm_role" -> node_commons_role [pos="e,1424.8,1573.7 763.6,1299.3 890.86,1283.4 1224.8,1249 1308,1315 1359.7,1356 1315.9,1399.3 1344,1459 1363.2,1499.7 1395.7,1540.5\
+ 1418,1566"];
+       "pleiades-nm_role" -> "grid-realm_role" [pos="e,1222.1,2237.6 763.7,1300.1 798.72,1298.9 843.86,1304 870,1333 948.33,1419.8 827.86,1771 906,1858 970.55,1929.9 1051.3,1828.1 1120\
+,1896 1180.8,1956.1 1130.5,2003.4 1156,2085 1172.4,2137.5 1200.4,2195.3 1217.4,2228.5"];
+       "pleiades-nm_role" -> "ganglia-gmond_role" [pos="e,967.71,810.07 763.55,1311.8 798.49,1312.9 843.6,1307.7 870,1279 932.91,1210.5 858.28,941.83 906,862 918.15,841.68 938.75,826.14\
+ 958.65,814.92"];
+       "krb5-client_role" -> node_commons_role [pos="e,1440.9,1610.2 1277.6,2302.2 1289,2298.2 1300.1,2292.1 1308,2283 1396.3,2180.4 1432.1,1737.6 1440.2,1620.5"];
+       "krb5-client_role" -> "krb5::client" [pos="e,1394.3,2310 1277.6,2310 1308.8,2310 1350.6,2310 1384.2,2310"];
+       "ganglia-gmetad_role" -> "yum-epel_role" [pos="e,1191.9,228 1074.6,228 1108.3,228 1149.7,228 1181.5,228"];
+       "ganglia-gmetad_role" -> "ganglia::gmetad" [pos="e,1168.2,189.73 1074.6,212.81 1100.6,206.4 1131.1,198.87 1158.3,192.16"];
+       mocker_role -> drillbook [pos="e,975.5,1052 747.14,1052 800.18,1052 904.35,1052 965.36,1052"];
+       "ganglia-gmond-ucast-localhost_role" -> "ganglia-gmond_role" [pos="e,953.72,805.49 827.19,867.23 841.93,863.19 856.57,858.19 870,852 888.41,843.52 887.98,833.28 906,824 917.81,817.91 930.97,812.79\
+ 943.9,808.56"];
+       java_role -> java [pos="e,1609.8,1006 1469.1,1006 1503.1,1006 1561.4,1006 1599.6,1006"];
+       node_commons_role -> apt_role [pos="e,1610,1615.3 1503.2,1600.5 1535,1604.9 1572.8,1610.1 1600.1,1613.9"];
+       node_commons_role -> node_commons [pos="e,1575.7,1573.5 1503.2,1583.5 1523,1580.8 1545.3,1577.7 1565.8,1574.9"];
+       "hbase-pseudo-distributed-with-security_role" -> node_commons_role [pos="e,1427.4,1610.3 843.64,1762 968.36,1773.6 1159.4,1775.8 1308,1709 1354.4,1688.1 1396.6,1645.7 1420.7,1618.1"];
+       "hbase-pseudo-distributed-with-security_role" -> "nameservice-master_role" [pos="e,934.77,1991.8 857.69,1760.9 862.07,1763.9 866.2,1767.2 870,1771 934.36,1835 845.57,1904.3 906,1972 911.49,1978.2 918.11,1983.1\
+ 925.34,1987.2"];
+       "hbase-pseudo-distributed-with-security_role" -> hbase_role [pos="e,990.55,1410 857.71,1727.1 862.09,1724.2 866.21,1720.8 870,1717 935.77,1651.3 865.35,1594.6 906,1511 924.31,1473.4 958.14,1438.8\
+ 982.87,1416.7"];
+       "hbase-pseudo-distributed-with-security_role" -> jce_policy_role [pos="e,971.77,2058.2 857.55,1760.5 862,1763.5 866.18,1767 870,1771 951.08,1854.9 828.15,1944.1 906,2031 920,2046.6 941.6,2053.8 961.74\
+,2056.9"];
+       pig_role -> node_commons_role [pos="e,1422.9,1573.9 1040.1,336.9 1062.2,342.22 1093.9,351.05 1120,363 1137.3,370.91 1138.7,378.27 1156,386 1220,414.52 1264.6,372.98\
+ 1308,428 1379,517.98 1306.3,1350.7 1344,1459 1358.8,1501.5 1392.2,1541.8 1415.9,1566.7"];
+       pig_role -> java_role [pos="e,1415,988.57 1040.3,322.31 1105.9,302.22 1269.8,256.94 1308,293 1358,340.2 1315.4,848.47 1344,911 1357.5,940.42 1384.5,965.48 1406.7\
+,982.47"];
+       pig_role -> grid_role [pos="e,1429.5,1207.9 1040.1,334.51 1109.7,343.8 1290.4,369.66 1308,390 1354.9,444.05 1325.4,963.9 1344,1033 1361.1,1096.6 1400.7,1163.5\
+ 1424,1199.4"];
+       pig_role -> hadoop_role [pos="e,1200.8,865.8 1040.1,339.45 1065.4,348.89 1101.9,366.81 1120,396 1219.4,556.37 1069.9,651.13 1156,819 1164.3,835.27 1178.7,849.16\
+ 1192.7,859.86"];
+       pig_role -> pig [pos="e,1204.7,321.37 1040.3,329.63 1079.2,327.68 1150.6,324.09 1194.5,321.89"];
+       "pleiades-gw_role" -> node_commons_role [pos="e,1423,1573.9 99.099,518 167.61,518 295.76,518 405,518 405,518 405,518 1013,518 1184,518 1231.7,611.99 1308,765 1376.9,903.19 1292\
+,1313.6 1344,1459 1359.1,1501.3 1392.5,1541.7 1416.1,1566.6"];
+       "pleiades-gw_role" -> "grid-realm_role" [pos="e,1188.3,2271.2 52.094,536.04 73.527,720.41 253.02,2256.2 288,2287 357.39,2348.1 1028.6,2304.9 1120,2291 1131.7,2289.2 1155.7,2281.9\
+ 1178.6,2274.4"];
+       "pleiades-gw_role" -> "ganglia-gmond_role" [pos="e,1007.5,773.89 70.018,499.83 108.68,466.1 197.8,394.9 288,369 536.62,297.6 659.84,218.2 870,369 886.94,381.16 976.46,671.8 1004.6\
+,764.13"];
+       "pleiades-gw_role" -> "pleiades-node_role" [pos="e,173.14,2131.7 51.108,536.01 56.63,625.94 81.65,1035.5 100,1371 104.31,1449.8 107.38,2006.5 136,2080 142.5,2096.7 154.63,2112.3\
+ 166.12,2124.6"];
+       "pleiades-gw_role" -> pig_role [pos="e,985.76,321.14 52.604,499.74 59.055,461.94 79.554,375.42 136,336 406.13,147.37 846.2,274.05 975.91,317.77"];
+       "zookeeper-colo00-with-security_role" -> "nameservice-client-grid_role" [pos="e,676.4,2169.8 408.99,1741.2 421.98,1797.1 467.55,1969.3 558,2080 587.94,2116.6 633.41,2146.2 667.54,2165"];
+       "zookeeper-colo00-with-security_role" -> "zookeeper-colo00_role" [pos="e,944.14,1537.2 416.64,1704.8 439.22,1671.4 492.57,1600.8 558,1571 622.92,1541.4 821.74,1537.1 933.9,1537.2"];
+       "zookeeper-colo00-with-security_role" -> jce_policy_role [pos="e,971.78,2055.8 412.99,1741 431.96,1781.8 483.76,1881.3 558,1933 684.95,2021.3 872.08,2047.4 961.61,2054.9"];
+       "hadoop-pleiades-with-security_role" -> node_commons_role [pos="e,1440.2,1610.1 517.2,2153.4 745.54,2159.3 1247.8,2166.5 1308,2118 1387.6,2053.8 1428.6,1720.2 1439.2,1620.3"];
+       "hadoop-pleiades-with-security_role" -> "nameservice-client-grid_role" [pos="e,625.38,2177.1 517.43,2163.8 549.51,2167.8 584.2,2172 615.39,2175.9"];
+       "hadoop-pleiades-with-security_role" -> hadoop_role [pos="e,1198.5,872.04 412.07,2131.6 433.29,2075.5 496.55,1900.9 522,1750 535.41,1670.5 510.15,1089.9 558,1025 645.58,906.15 750.12,997.16\
+ 870,911 890.8,896.05 882.92,877.1 906,866 998.62,821.48 1123.6,849.05 1188.6,868.93"];
+       "hadoop-pleiades-with-security_role" -> jce_policy_role [pos="e,971.91,2064.2 517.23,2133 649.78,2113 864.56,2080.5 962.01,2065.7"];
+       grid_role -> grid [pos="e,1609.8,1226 1469.1,1226 1503.1,1226 1561.4,1226 1599.6,1226"];
+       "nameservice-slave_role" -> node_commons_role [pos="e,1439.2,1610.1 1084.7,2694.4 1169.5,2677.9 1300.5,2651.4 1308,2643 1361.4,2582.9 1334.4,2362.8 1344,2283 1375.2,2025 1422.9,1714.2\
+ 1437.6,1620.2"];
+       "nameservice-slave_role" -> "krb5-client_role" [pos="e,1186.2,2317.2 1084.5,2702.6 1098,2698.4 1110.8,2691.6 1120,2681 1220.7,2564.8 1060.9,2457.8 1156,2337 1161.5,2330 1168.9,2324.9\
+ 1176.9,2321"];
+       "nameservice-slave_role" -> "krb5::kdc" [pos="e,1191.8,2708 1084.7,2708 1116.4,2708 1152.8,2708 1181.6,2708"];
+       "hadoop-pseudo-distributed-with-security_role" -> node_commons_role [pos="e,1404.2,1610.1 862.74,1680.8 1024.5,1670.3 1265.8,1653.6 1308,1644 1337.8,1637.2 1369.7,1625 1394.9,1614.2"];
+       "hadoop-pseudo-distributed-with-security_role" -> "nameservice-master_role" [pos="e,934.75,1992.2 859.85,1708.1 863.45,1710.8 866.84,1713.7 870,1717 949.66,1799.2 831.37,1885.2 906,1972 911.54,1978.4 918.33,1983.6\
+ 925.76,1987.8"];
+       "hadoop-pseudo-distributed-with-security_role" -> hadoop_role [pos="e,1198.4,879.71 803.29,1672 828.9,1662.3 854.14,1647.6 870,1625 916.7,1558.6 848.13,951.98 906,895 944.72,856.88 1108.5,869.73 1188.2\
+,878.55"];
+       "hadoop-pseudo-distributed-with-security_role" -> jce_policy_role [pos="e,971.88,2058.4 859.96,1708 863.53,1710.7 866.89,1713.7 870,1717 966.44,1819.1 813.49,1925.3 906,2031 919.87,2046.8 941.56,2054.1\
+ 961.79,2057.1"];
+       "hbase-pleiades-with-security_role" -> node_commons_role [pos="e,1440.2,1610.1 471.12,2222 497.88,2228.4 529.19,2234.8 558,2238 695.84,2253.1 732.08,2252.3 870,2238 968.92,2227.7 1236.6,2215.3\
+ 1308,2146 1385.3,2071 1428.1,1722.6 1439.1,1620.3"];
+       "hbase-pleiades-with-security_role" -> "nameservice-client-grid_role" [pos="e,625.15,2192.6 512.64,2198.4 545.94,2196.7 582.46,2194.8 615.14,2193.1"];
+       "hbase-pleiades-with-security_role" -> hbase_role [pos="e,984.35,1391.9 512.67,2186 516.06,2183.4 519.19,2180.4 522,2177 575.63,2112.8 499.58,1484.9 558,1425 586.78,1395.5 869.44,1392.2\
+ 974.2,1391.9"];
+       "hbase-pleiades-with-security_role" -> jce_policy_role [pos="e,993.18,2076.3 512.71,2218.1 630.29,2231.5 809.84,2245.5 870,2215 894.11,2202.8 888.44,2186.5 906,2166 931.46,2136.2 963.39,2104.6\
+ 985.71,2083.4"];
+       "ganglia-gmetad-localhost_role" -> "ganglia-gmetad_role" [pos="e,976.18,246 741.9,545.97 776.84,521.98 836.19,476.35 870,423 899.58,376.33 873.74,348.86 906,304 921.84,281.97 946.1,263.99 967.52\
+,251.06"];
+       "nameservice-client_role" -> node_commons_role [pos="e,1439.9,1610.3 1086.1,2585.4 1098.4,2580.4 1110.3,2573.8 1120,2565 1150,2537.6 1129.2,2511.5 1156,2481 1207.8,2422 1263.6,2455.7\
+ 1308,2391 1352.9,2325.6 1422.7,1754.8 1438.7,1620.3"];
+       "nameservice-client_role" -> "krb5-client_role" [pos="e,1186.1,2317.6 1086.2,2590.1 1099,2585.3 1111.1,2578.2 1120,2568 1188.3,2489.7 1089.7,2417 1156,2337 1161.5,2330.3 1168.8,2325.3\
+ 1176.7,2321.5"];
+       "nameservice-client_role" -> "ldap-client_role" [pos="e,1187.9,2569.7 1086.2,2587.3 1116.2,2582.1 1150.4,2576.2 1178,2571.4"];
+       "nameservice-client_role" -> "openldap::nss-ldapd" [pos="e,1173.2,2526.2 1086.2,2582.9 1097.9,2578.9 1109.5,2573.9 1120,2568 1138.9,2557.3 1137.4,2546.2 1156,2535 1158.6,2533.4 1161.3,2531.9\
+ 1164.1,2530.5"];
+       "ganglia-gmond_role" -> "yum-epel_role" [pos="e,1202.6,246.24 1019.2,773.98 1036.4,723.32 1086.1,575.21 1120,450 1138.7,380.9 1118.9,354.24 1156,293 1165.6,277.11 1180.5,263.14\
+ 1194.5,252.28"];
+       "ganglia-gmond_role" -> "ganglia::gmond" [pos="e,1170.8,792 1072.3,792 1099.5,792 1131.9,792 1160.5,792"];
+       "nameservice-master-grid_role" -> "grid-realm_role" [pos="e,1188.3,2244.6 785.41,1924.1 815.09,1934.8 847.73,1951.3 870,1976 904.17,2013.9 873,2046.1 906,2085 979.04,2171.1 1106.5,2219.8\
+ 1178.5,2241.7"];
+       "nameservice-master-grid_role" -> "nameservice-master_role" [pos="e,936.62,1986 807.63,1916.5 828.91,1921.2 850.87,1928 870,1938 889.53,1948.2 886.94,1961 906,1972 912.67,1975.9 919.85,1979.3 927.21\
+,1982.3"];
+       "protobuf-compiler_role" -> "yum-epel_role" [pos="e,1191.7,213.85 1060.3,165.11 1088.1,175.71 1124,189.27 1156,201 1164.4,204.08 1173.4,207.31 1182,210.41"];
+       "protobuf-compiler_role" -> "protobuf-compiler" [pos="e,1163.2,128.49 1081.7,138.53 1104.3,135.74 1129.6,132.62 1153,129.74"];
+       "grid-gm_role" -> node_commons_role [pos="e,1422.9,1573.9 439.71,388.09 470.57,381.48 517.02,372.59 558,369 682.56,358.09 1002.9,352.27 1120,396 1138.2,402.81 1138.5,412.47\
+ 1156,421 1219.6,451.98 1265,411.86 1308,468 1375,555.47 1307.7,1355 1344,1459 1358.8,1501.5 1392.2,1541.8 1415.9,1566.7"];
+       "grid-gm_role" -> "nameservice-client-grid_role" [pos="e,698.08,2169.8 439.53,400.32 466.9,405.75 503.49,417.9 522,445 568.64,513.29 534.62,1853.7 558,1933 585.29,2025.6 655.28,2118.3\
+ 691.52,2162"];
+       "grid-gm_role" -> "ganglia-gmond_role" [pos="e,1008,773.77 439.66,403 535.48,422.88 801.37,481.84 870,537 946.22,598.26 988.71,711.74 1005.1,764.14"];
+       "grid-gm_role" -> "ganglia-gmetad_role" [pos="e,951.24,220.16 418.62,377.8 442.77,347.12 496.42,285.92 558,260 684.63,206.7 848.6,210.95 941.14,219.22"];
+       "grid-gm_role" -> "ganglia-web_role" [pos="e,663.34,396 439.55,396 491.16,396 589.16,396 653.01,396"];
+       "hadoop-pleiades_role" -> node_commons_role [pos="e,1423.6,1573.7 1077.2,1151.9 1153.7,1143.9 1275.4,1136.5 1308,1166 1356.7,1210 1319.8,1398 1344,1459 1360.6,1500.6 1393.4,1540.9\
+ 1416.4,1566.1"];
+       "hadoop-pleiades_role" -> hadoop_role [pos="e,1224,902.37 1077.1,1153.6 1092.5,1149.6 1107.9,1143.2 1120,1133 1124.6,1129.2 1191.8,976.07 1219.8,911.88"];
+       nagios_role -> nagios [pos="e,982.23,1106 744.59,1106 798.65,1106 911.08,1106 971.86,1106"];
+       "zookeeper-pseudo-replicated_role" -> node_commons_role [pos="e,1422,1610.3 1120.1,1710.2 1177.3,1709.3 1248.1,1702.9 1308,1682 1348.6,1667.8 1388.6,1638.3 1414.2,1616.9"];
+       "zookeeper-pseudo-replicated_role" -> zookeeper_role [pos="e,1217.4,1450.3 1027.7,1687.6 1065.7,1640.1 1167,1513.4 1211,1458.2"];
+       "test-on-localhost_role" -> mocker_role [pos="e,680.92,1048.9 406.02,1454.9 410.63,1391.8 435.06,1179.6 558,1079 589.42,1053.3 636.52,1048.3 670.75,1048.6"];
+       "test-on-localhost_role" -> node_commons_role [pos="e,1380.8,1600.8 416.1,1491.1 438.16,1525 491.19,1597.5 558,1625 704.23,1685.3 1187.4,1627.2 1370.7,1602.2"];
+       "test-on-localhost_role" -> chef_utils_role [pos="e,971.86,2341.2 417.24,1491.2 441.45,1528 495.43,1615 522,1696 555.21,1797.2 491.12,1850.1 558,1933 651.16,2048.5 776.92,1936.4 \
+870,2052 937.37,2135.7 846.49,2201.6 906,2291 919.58,2311.4 941.97,2326.5 962.77,2336.9"];
+       "test-on-localhost_role" -> "nameservice-client_role" [pos="e,1001.7,2581.9 417.48,1491.1 442.13,1527.8 496.85,1614.5 522,1696 562.91,1828.5 478.24,1892.5 558,2006 647.04,2132.7 778.13,2036.4\
+ 870,2161 929.31,2241.5 875.56,2287.8 906,2383 929.08,2455.2 972.78,2533.4 996.57,2573.3"];
+       "test-on-localhost_role" -> "ganglia-gmond-ucast-localhost_role" [pos="e,641.41,902.04 408.23,1455 423.27,1372.7 488.64,1033.4 558,954 577.39,931.8 605.2,916.29 631.99,905.62"];
+       "test-on-localhost_role" -> "ganglia-gmetad-localhost_role" [pos="e,619.27,565.36 405.49,1454.7 408.93,1340.4 433.12,724.64 558,596 571.84,581.75 590.2,572.97 609.45,567.73"];
+       "test-on-localhost_role" -> "ganglia-web_role" [pos="e,683.71,414.18 406.34,1454.7 415.1,1338.5 466.51,704.9 558,537 585.65,486.25 638.76,444.35 675.27,419.76"];
+       "test-on-localhost_role" -> nagios_role [pos="e,683.34,1104.5 407.48,1455 416.29,1398.4 451.45,1222.8 558,1138 590.64,1112 639,1105.5 673.21,1104.6"];
+       "test-on-localhost_role" -> "hadoop-pseudo-distributed-with-security_role" [pos="e,587.68,1672 414.42,1491.2 434.96,1529 487.62,1615.7 558,1658 564.35,1661.8 571.09,1665.2 578.05,1668.2"];
+       "test-on-localhost_role" -> "zookeeper-pseudo-replicated-with-security_role" [pos="e,571.89,1779.9 414.78,1491.1 435.15,1528.9 483.45,1619.2 522,1696 538.59,1729 528.51,1748.7 558,1771 559.64,1772.2 561.33,1773.4\
+ 563.04,1774.6"];
+       "test-on-localhost_role" -> "hbase-pseudo-distributed-with-security_role" [pos="e,573.47,1725.8 410.55,1491.1 425.75,1537.2 472.68,1659.7 558,1717 560.15,1718.4 562.35,1719.8 564.59,1721.1"];
+       "test-on-localhost_role" -> pig_role [pos="e,985.59,340.23 405.55,1454.8 408.66,1376.9 428.98,1065.5 558,857 653.89,702.05 778.87,748.8 870,591 914.07,514.68 855.97,468.55\
+ 906,396 922.92,371.47 952.41,354.57 976.15,344.16"];
+       "hbase-pleiades_role" -> node_commons_role [pos="e,1382.9,1573.9 773.08,1502.9 852.32,1499.6 997.29,1496.7 1120,1511 1205,1520.9 1225.1,1531.7 1308,1553 1329.3,1558.5 1352.3,1565\
+ 1373.1,1571"];
+       "hbase-pleiades_role" -> hbase_role [pos="e,989.64,1410.1 773.16,1501 802.91,1497.2 839.12,1490.6 870,1479 911.18,1463.5 953.65,1436 981.49,1416"];
+       "ldap-client-grid_role" -> "grid::cacert_deploy" [pos="e,1158.8,2628.7 1072.6,2643.7 1096,2639.6 1123.4,2634.8 1148.8,2630.4"];
+       "ldap-client-grid_role" -> "ldap-client_role" [pos="e,1187.7,2573.8 1072.5,2645.2 1088.7,2641.2 1105.6,2635.4 1120,2627 1140.1,2615.2 1136.5,2601.7 1156,2589 1162.8,2584.5 1170.5,2580.7\
+ 1178.3,2577.5"];
+       "ldap-client-grid_role" -> "openldap::nss-ldapd" [pos="e,1167.4,2526.2 1072.8,2649.2 1089.6,2645.3 1106.9,2638.5 1120,2627 1152.9,2598 1124.5,2565.6 1156,2535 1157,2534.1 1158,2533.2 \
+1159,2532.3"];
+       "zookeeper-pseudo-replicated-with-security_role" -> "nameservice-master_role" [pos="e,934.97,1991.3 858.76,1816.1 862.72,1818.8 866.48,1821.7 870,1825 919.17,1870.9 859.65,1923.3 906,1972 911.64,1977.9 918.32,1982.8\
+ 925.56,1986.7"];
+       "zookeeper-pseudo-replicated-with-security_role" -> "zookeeper-pseudo-replicated_role" [pos="e,979.86,1724 836.07,1780 847.63,1777.3 859.1,1774.4 870,1771 905.12,1760.2 942.89,1742.7 970.79,1728.6"];
+       "zookeeper-pseudo-replicated-with-security_role" -> jce_policy_role [pos="e,971.75,2058 859.38,1816 863.14,1818.7 866.69,1821.7 870,1825 935.77,1890.7 842.76,1962.9 906,2031 920.22,2046.3 941.74,2053.5 \
+961.77,2056.7"];
+       "zookeeper-standalone_role" -> node_commons_role [pos="e,1434.1,1610.2 1097.1,1805.9 1159.2,1807.8 1243.8,1802 1308,1766 1368.2,1732.2 1410.3,1659.2 1429.8,1619.3"];
+       "zookeeper-standalone_role" -> zookeeper_role [pos="e,1229.5,1450.3 1056.6,1779.9 1078.2,1769 1103.2,1753.4 1120,1733 1189.4,1649 1218.1,1517.9 1227.8,1460.5"];
+       zookeeper_role -> java_role [pos="e,1430.5,1024.1 1276.2,1424.8 1288.1,1420.8 1299.9,1414.6 1308,1405 1368,1334 1314.6,1287.2 1344,1199 1364.8,1136.6 1402.9,1069.4\
+ 1425,1033.1"];
+       zookeeper_role -> grid_role [pos="e,1433.2,1244 1276.4,1421.1 1287.4,1417.2 1298.6,1411.9 1308,1405 1364.2,1363.6 1407.5,1292.1 1428.4,1253.2"];
+       zookeeper_role -> zookeeper [pos="e,1397.7,1432 1276,1432 1308.4,1432 1352.6,1432 1387.3,1432"];
+       "pleiades-nn_role" -> node_commons_role [pos="e,1439,1610.1 59.224,2351.3 102.9,2436.6 291.54,2792 405,2792 405,2792 405,2792 1013,2792 1144.9,2792 1216.4,2853.9 1308,2759 1344.8\
+,2720.8 1338.3,2335.7 1344,2283 1372.1,2024.6 1421.9,1714.1 1437.3,1620.2"];
+       "pleiades-nn_role" -> "grid-realm_role" [pos="e,1188.4,2263.2 57.012,2351.2 68.724,2378.8 95.093,2430.5 136,2454 240.11,2513.7 284.97,2478 405,2478 405,2478 405,2478 714,2478\
+ 804.38,2478 1051.5,2513 1120,2454 1178.8,2403.3 1104.9,2341.5 1156,2283 1162.2,2276 1170.3,2270.7 1178.9,2266.9"];
+       "pleiades-nn_role" -> "ganglia-gmond_role" [pos="e,953.88,788.96 56.703,2314.8 68.107,2282.8 90.928,2214.1 100,2154 111.03,2080.9 85.399,877.88 136,824 191.91,764.47 788.35,784.29\
+ 870,786 894.02,786.5 920.3,787.48 943.7,788.51"];
+       "pleiades-nn_role" -> "pleiades-node_role" [pos="e,179.72,2168.1 64.334,2314.8 89.995,2282.2 143.86,2213.7 173.45,2176.1"];
+       apt_role -> "node_commons::apt" [pos="e,1733.7,1619 1664.2,1619 1680.4,1619 1701.9,1619 1723.4,1619"];
+       "nameservice-client-grid_role" -> "krb5-client-grid_role" [pos="e,951.75,2248.4 784.86,2206 832.26,2218.1 894.4,2233.9 941.86,2245.9"];
+       "nameservice-client-grid_role" -> "ldap-client-grid_role" [pos="e,953.26,2651.5 745,2206.2 781.67,2229.5 841.37,2273.7 870,2329 931.37,2447.5 817.84,2526.9 906,2627 915.72,2638 929.24,2644.9 943.39\
+,2649.1"];
+       hadoop_role -> java_role [pos="e,1418.2,987.94 1265.6,896.51 1279,901.94 1294.5,908.72 1308,916 1344.5,935.7 1383.6,962.7 1410.1,981.97"];
+       hadoop_role -> grid_role [pos="e,1431.5,1207.9 1265.7,891.32 1280.5,896.09 1297,903.79 1308,916 1344.5,956.35 1323.6,982.56 1344,1033 1368.7,1094.1 1405.5,1162\
+ 1426.3,1198.8"];
+       hadoop_role -> hadoop [pos="e,1408.3,884 1265.7,884 1301.7,884 1358.8,884 1398.2,884"];
+       "grid-ns_role" -> node_commons_role [pos="e,1380.9,1592.5 746.22,1597.7 855.84,1596.8 1216.1,1593.9 1370.6,1592.6"];
+       "grid-ns_role" -> "grid-realm_role" [pos="e,1223.2,2237.8 746.32,1601.9 782.54,1608.2 840.1,1624 870,1663 943.92,1759.4 822.98,1845.3 906,1934 972.29,2004.8 1047.3,1912.8\
+ 1120,1977 1157.9,2010.5 1137.7,2037.8 1156,2085 1176,2136.6 1203,2195.1 1218.8,2228.6"];
+       "grid-ns_role" -> "ganglia-gmond_role" [pos="e,967.13,810.03 746.22,1594.6 782.92,1588.8 841.48,1573.4 870,1533 956.13,1411 831.47,991.4 906,862 917.77,841.57 938.2,826.04 958.07\
+,814.86"];
+       "yum-epel_role" -> yum [pos="e,1415,251.53 1272.5,233.21 1310.7,238.12 1367.4,245.41 1404.6,250.19"];
+       "yum-epel_role" -> "node_commons::yum-epel" [pos="e,1344.1,213.58 1272.5,222.79 1290.3,220.51 1312.1,217.7 1334.1,214.88"];
+       "pleiades-pxy_role" -> node_commons_role [pos="e,1425.7,1573.9 765.12,1351.7 892.93,1332.1 1222.2,1289.2 1308,1351 1349,1380.6 1320.7,1414.1 1344,1459 1364.8,1499.2 1397.3,1540.4\
+ 1419,1566.1"];
+       "pleiades-pxy_role" -> "grid-realm_role" [pos="e,1222.7,2238 765.1,1367.2 800.58,1375 845.67,1391.4 870,1425 931.52,1510.1 835.55,1818.2 906,1896 970.83,1967.6 1049.7,1867.7 1120\
+,1934 1170.2,1981.3 1133.9,2019.6 1156,2085 1173.7,2137.4 1201.5,2195.7 1218.1,2228.9"];
+       "pleiades-pxy_role" -> "ganglia-gmond_role" [pos="e,967.62,810.02 765.12,1365.9 799.89,1366.9 844.11,1361.5 870,1333 940.61,1255.3 852.58,952.36 906,862 918.05,841.62 938.63,826.07\
+ 958.55,814.86"];
+       "krb5-client-grid_role" -> "grid-realm_role" [pos="e,1188.3,2257.6 1074,2261.8 1106.6,2260.6 1146.5,2259.1 1178,2258"];
+       "krb5-client-grid_role" -> "krb5-client_role" [pos="e,1186.3,2300.4 1074,2276.8 1106.1,2283.6 1145.2,2291.8 1176.4,2298.3"];
+       "pleiades-node_role" -> "hadoop-pleiades-with-security_role" [pos="e,292.98,2150 249.71,2150 260.1,2150 271.32,2150 282.82,2150"];
+       "pleiades-node_role" -> "hbase-pleiades-with-security_role" [pos="e,324.3,2186 249.54,2166.5 262.15,2170.1 275.51,2173.8 288,2177 296.6,2179.2 305.57,2181.5 314.56,2183.6"];
+       "nameservice-master_role" -> node_commons_role [pos="e,1438.5,1610.3 1091.1,2020.9 1155.8,2030.3 1246.8,2031.9 1308,1985 1368.3,1938.8 1420.1,1702.3 1436.6,1620.2"];
+       "nameservice-master_role" -> "krb5-client_role" [pos="e,1186.5,2302.6 1091.1,2012 1102,2016.2 1112.2,2022.3 1120,2031 1195.7,2115.1 1084.4,2195.4 1156,2283 1161.6,2289.9 1169.1,2295 \
+1177.1,2298.8"];
+       "nameservice-master_role" -> "krb5::admin" [pos="e,1182.2,1968.5 1091.1,1987.6 1117.8,1982 1147.2,1975.8 1172.2,1970.6"];
+       "grid-gpm_role" -> node_commons_role [pos="e,1424.2,1574 752.53,1197.2 877.64,1194.9 1266.9,1190.9 1308,1228 1385.2,1297.5 1304,1363.1 1344,1459 1361.3,1500.6 1394.3,1541.2\
+ 1417.1,1566.4"];
+       "grid-gpm_role" -> "ganglia-gmond_role" [pos="e,968.28,810.12 752.77,1201.7 788.61,1202.8 840.63,1198 870,1166 962.06,1065.8 834.34,977.66 906,862 918.52,841.79 939.29,826.24\
+ 959.22,814.99"];
+       "pleiades-wf_role" -> node_commons_role [pos="e,1424.5,1573.9 761.58,1246.5 887.75,1233.1 1226.8,1204.5 1308,1274 1371.6,1328.5 1310.3,1382.3 1344,1459 1362.1,1500.2 1394.9,1540.9\
+ 1417.5,1566.2"];
+       "pleiades-wf_role" -> "grid-realm_role" [pos="e,1221.9,2237.6 761.52,1246.1 796.84,1244.6 843.34,1249.4 870,1279 951.33,1369.4 823.85,1735.4 906,1825 971.02,1895.9 1051.8,1790.1\
+ 1120,1858 1192.4,1930.1 1127,1987.1 1156,2085 1171.6,2137.7 1199.8,2195.5 1217.1,2228.6"];
+       "pleiades-wf_role" -> "ganglia-gmond_role" [pos="e,968.1,810.01 761.61,1257.6 796.74,1258.9 842.95,1254.1 870,1225 925.2,1165.6 863.96,931.31 906,862 918.33,841.67 939.07,826.1 \
+959.02,814.87"];
+       "ganglia-web_role" -> "yum-epel_role" [pos="e,1191.9,237.8 746.02,377.94 783.39,357.5 847.55,324.41 906,304 998.12,271.83 1025,277.32 1120,255 1140.3,250.23 1162.7,244.86 1182\
+,240.18"];
+       "ganglia-web_role" -> "ganglia::web" [pos="e,960.77,418.28 764.72,400.58 816.09,405.22 895.62,412.4 950.77,417.38"];
+}
diff --git a/role-spaghetti.png b/role-spaghetti.png
new file mode 100644 (file)
index 0000000..741ed5d
Binary files /dev/null and b/role-spaghetti.png differ
index 9ea35ca..ee448fe 100644 (file)
@@ -5,7 +5,6 @@ run_list(
   'recipe[node_commons::apt]'
 )
 
-#run_list "recipe[apache2]", "recipe[apache2::mod_ssl]", "role[monitor]"
 #env_run_lists "prod" => ["recipe[apache2]"], "staging" => ["recipe[apache2::staging]"], "_default" => []
 #default_attributes "apache2" => { "listen_ports" => [ "80", "443" ] }
 #override_attributes "apache2" => { "max_children" => "50" }
index 6aec2c2..93b3e4e 100644 (file)
@@ -5,7 +5,6 @@ run_list(
   'recipe[chef_utils]',
 )
 
-#run_list "recipe[apache2]", "recipe[apache2::mod_ssl]", "role[monitor]"
 #env_run_lists "prod" => ["recipe[apache2]"], "staging" => ["recipe[apache2::staging]"], "_default" => []
 #default_attributes "apache2" => { "listen_ports" => [ "80", "443" ] }
 #override_attributes "apache2" => { "max_children" => "50" }
index 2ca8fbd..b583ab1 100644 (file)
@@ -8,12 +8,12 @@ run_list(
   'role[chef-workstation]',
 )
 
+#env_run_lists "prod" => ["recipe[apache2]"], "staging" => ["recipe[apache2::staging]"], "_default" => []
+
 this_domain = 'grid.example.com'
 mcast_addr = '239.2.10.0'
 port = '8649'
 
-#env_run_lists "prod" => ["recipe[apache2]"], "staging" => ["recipe[apache2::staging]"], "_default" => []
-
 default_attributes(
 )
 
index 592a3a5..b6553d3 100644 (file)
@@ -6,12 +6,12 @@ run_list(
   'role[ganglia-gmond]',
 )
 
+#env_run_lists "prod" => ["recipe[apache2]"], "staging" => ["recipe[apache2::staging]"], "_default" => []
+
 this_domain = 'grid.example.com'
 mcast_addr = '239.2.10.5'
 port = '8649'
 
-#env_run_lists "prod" => ["recipe[apache2]"], "staging" => ["recipe[apache2::staging]"], "_default" => []
-
 default_attributes(
 )
 
index ad7a734..99679e1 100644 (file)
@@ -8,12 +8,12 @@ run_list(
   'role[ganglia-gmond]'
 )
 
+#env_run_lists "prod" => ["recipe[apache2]"], "staging" => ["recipe[apache2::staging]"], "_default" => []
+
 this_domain = 'grid.example.com'
 mcast_addr = '239.2.10.1'
 port = '8649'
 
-#env_run_lists "prod" => ["recipe[apache2]"], "staging" => ["recipe[apache2::staging]"], "_default" => []
-
 default_attributes(
 )
 
index 365626b..ba39d82 100644 (file)
@@ -13,6 +13,7 @@ run_list(
 
 this_realm = 'GRID.EXAMPLE.COM'
 this_domain = 'grid.example.com'
+
 default_attributes(
   'grid' => {
     'realms' => {
diff --git a/roles/grid.rb b/roles/grid.rb
new file mode 100644 (file)
index 0000000..9d9eef1
--- /dev/null
@@ -0,0 +1,14 @@
+name 'grid'
+description 'Grid environment role'
+
+run_list(
+  'recipe[grid]'
+)
+
+#env_run_lists "prod" => ["recipe[apache2]"], "staging" => ["recipe[apache2::staging]"], "_default" => []
+
+default_attributes(
+)
+
+override_attributes(
+)
index 55345eb..9785275 100644 (file)
@@ -2,9 +2,8 @@ name 'hadoop'
 description 'Hadoop node'
 
 run_list(
-  #'recipe[yum]',
   'role[java]',
-  'recipe[grid]',
+  'role[grid]',
   'recipe[hadoop]'
 )
 
index 93e123f..a20fbd5 100644 (file)
@@ -2,10 +2,9 @@ name 'hbase'
 description 'HBase node'
 
 run_list(
-  #'recipe[yum]',
   'role[java]',
-  'recipe[grid]',
-  'recipe[hadoop]',
+  'role[grid]',
+  'role[hadoop]',
   'recipe[hbase]'
 )
 
index d6e2adf..7a50fdb 100644 (file)
@@ -2,7 +2,7 @@ name 'krb5-client'
 description 'Kerberos client role'
 
 run_list(
-  'recipe[node_commons]',  # ntp, ...
+  'role[node_commons]',  # ntp, ...
   'recipe[krb5::client]'
 )
 
index 6f396fc..06674e7 100644 (file)
@@ -7,12 +7,12 @@ run_list(
   'recipe[openldap::nss-ldapd]'
 )
 
+#env_run_lists "prod" => ["recipe[apache2]"], "staging" => ["recipe[apache2::staging]"], "_default" => []
+
 uri = 'ldap://ldap.grid.example.com/'
 base = 'dc=grid,dc=example,dc=com'
 ca_cert_file = '/etc/ssl/certs/grid_internal_cacert.pem'
 
-#env_run_lists "prod" => ["recipe[apache2]"], "staging" => ["recipe[apache2::staging]"], "_default" => []
-
 default_attributes(
   'grid' => {
     'cacert' => {
index 066d697..5e0d945 100644 (file)
@@ -2,7 +2,7 @@ name 'nameservice-client'
 description 'The NameService (Kerberos and LDAP) client role'
 
 run_list(
-  'recipe[node_commons]',
+  'role[node_commons]',
   'role[krb5-client]',
   'role[ldap-client]',
   'recipe[openldap::nss-ldapd]'
index 4d2cd3c..cac83bc 100644 (file)
@@ -2,8 +2,8 @@ name 'nameservice-master'
 description 'The NameService (Kerberos and LDAP) master role'
 
 run_list(
-  'recipe[node_commons]',
-  'recipe[krb5::client]',
+  'role[node_commons]',
+  'role[krb5-client]',
   'recipe[krb5::admin]'
 )
 
index 1d302b4..b6b9cd3 100644 (file)
@@ -2,8 +2,8 @@ name 'nameservice-slave'
 description 'The NameService (Kerberos and LDAP) slave role'
 
 run_list(
-  'recipe[node_commons]',
-  'recipe[krb5::client]',
+  'role[node_commons]',
+  'role[krb5-client]',
   'recipe[krb5::kdc]'
 )
 
index f684460..d2e1653 100644 (file)
@@ -6,7 +6,6 @@ run_list(
   'recipe[node_commons]'
 )
 
-#run_list "recipe[apache2]", "recipe[apache2::mod_ssl]", "role[monitor]"
 #env_run_lists "prod" => ["recipe[apache2]"], "staging" => ["recipe[apache2::staging]"], "_default" => []
 #default_attributes "apache2" => { "listen_ports" => [ "80", "443" ] }
 #override_attributes "apache2" => { "max_children" => "50" }
index 3e90a02..7c79ed4 100644 (file)
@@ -4,8 +4,8 @@ description 'Pig application'
 run_list(
   'role[node_commons]',
   'role[java]',
-  'recipe[grid]',
-  'recipe[hadoop]',
+  'role[grid]',
+  'role[hadoop]',
   'recipe[pig]'
 )
 
index 8cfa053..6fd84fe 100644 (file)
@@ -8,11 +8,11 @@ run_list(
   'role[pleiades-node]'
 )
 
+#env_run_lists "prod" => ["recipe[apache2]"], "staging" => ["recipe[apache2::staging]"], "_default" => []
+
 mcast_addr = '239.2.11.20'
 port = '8649'
 
-#env_run_lists "prod" => ["recipe[apache2]"], "staging" => ["recipe[apache2::staging]"], "_default" => []
-
 default_attributes(
 )
 
index 51a24b3..fa2f5f3 100644 (file)
@@ -12,6 +12,8 @@ run_list(
   'role[ganglia-web]'
 )
 
+#env_run_lists "prod" => ["recipe[apache2]"], "staging" => ["recipe[apache2::staging]"], "_default" => []
+
 this_domain = 'grid.example.com'
 mcast_addr = '239.2.11.3'
 port = '8649'
@@ -34,8 +36,6 @@ dn_data_sources = []
   )
 }
 
-#env_run_lists "prod" => ["recipe[apache2]"], "staging" => ["recipe[apache2::staging]"], "_default" => []
-
 default_attributes(
   'ganglia' => {
     'web' => {
index 8468708..b5a3ea9 100644 (file)
@@ -9,11 +9,11 @@ run_list(
   'role[pig]'
 )
 
+#env_run_lists "prod" => ["recipe[apache2]"], "staging" => ["recipe[apache2::staging]"], "_default" => []
+
 mcast_addr = '239.2.11.5'
 port = '8649'
 
-#env_run_lists "prod" => ["recipe[apache2]"], "staging" => ["recipe[apache2::staging]"], "_default" => []
-
 default_attributes(
 )
 
index ca21acc..10d9848 100644 (file)
@@ -10,12 +10,12 @@ run_list(
 
 #env_run_lists "prod" => ["recipe[apache2]"], "staging" => ["recipe[apache2::staging]"], "_default" => []
 
-default_attributes(
-)
-
 mcast_addr = '239.2.11.10'
 port = '8649'
 
+default_attributes(
+)
+
 override_attributes(
   'ganglia' => {
     # gmond
index 84a714d..07bf03a 100644 (file)
@@ -8,11 +8,11 @@ run_list(
   'role[pleiades-node]'
 )
 
+#env_run_lists "prod" => ["recipe[apache2]"], "staging" => ["recipe[apache2::staging]"], "_default" => []
+
 mcast_addr = '239.2.11.9'
 port = '8649'
 
-#env_run_lists "prod" => ["recipe[apache2]"], "staging" => ["recipe[apache2::staging]"], "_default" => []
-
 default_attributes(
 )
 
index 8f3a415..1b0e841 100644 (file)
@@ -7,11 +7,11 @@ run_list(
   'role[ganglia-gmond]'
 )
 
+#env_run_lists "prod" => ["recipe[apache2]"], "staging" => ["recipe[apache2::staging]"], "_default" => []
+
 mcast_addr = '239.2.11.2'
 port = '8649'
 
-#env_run_lists "prod" => ["recipe[apache2]"], "staging" => ["recipe[apache2::staging]"], "_default" => []
-
 default_attributes(
 )
 
index cdad7a5..9787e1f 100644 (file)
@@ -10,12 +10,12 @@ run_list(
 
 #env_run_lists "prod" => ["recipe[apache2]"], "staging" => ["recipe[apache2::staging]"], "_default" => []
 
-default_attributes(
-)
-
 mcast_addr = '239.2.11.8'
 port = '8649'
 
+default_attributes(
+)
+
 override_attributes(
   'ganglia' => {
     # gmond
index 82ac446..8ba6f00 100644 (file)
@@ -7,11 +7,11 @@ run_list(
   'role[ganglia-gmond]'
 )
 
+#env_run_lists "prod" => ["recipe[apache2]"], "staging" => ["recipe[apache2::staging]"], "_default" => []
+
 mcast_addr = '239.2.11.7'
 port = '8649'
 
-#env_run_lists "prod" => ["recipe[apache2]"], "staging" => ["recipe[apache2::staging]"], "_default" => []
-
 default_attributes(
 )
 
index fd4354b..fcc7b4b 100644 (file)
@@ -7,11 +7,11 @@ run_list(
   'role[ganglia-gmond]'
 )
 
+#env_run_lists "prod" => ["recipe[apache2]"], "staging" => ["recipe[apache2::staging]"], "_default" => []
+
 mcast_addr = '239.2.11.6'
 port = '8649'
 
-#env_run_lists "prod" => ["recipe[apache2]"], "staging" => ["recipe[apache2::staging]"], "_default" => []
-
 default_attributes(
 )
 
index be8f9dc..0fe8daa 100644 (file)
@@ -2,11 +2,10 @@ name 'protobuf-compiler'
 description 'Protocol Buffers compiler'
 
 run_list(
-  'role[yum_epel]',
+  'role[yum-epel]',
   'recipe[protobuf-compiler]'
 )
 
-#run_list "recipe[apache2]", "recipe[apache2::mod_ssl]", "role[monitor]"
 #env_run_lists "prod" => ["recipe[apache2]"], "staging" => ["recipe[apache2::staging]"], "_default" => []
 #default_attributes "apache2" => { "listen_ports" => [ "80", "443" ] }
 #override_attributes "apache2" => { "max_children" => "50" }
index 2edfc35..35c7c2b 100644 (file)
@@ -6,7 +6,6 @@ run_list(
   'recipe[node_commons::yum-epel]'
 )
 
-#run_list "recipe[apache2]", "recipe[apache2::mod_ssl]", "role[monitor]"
 #env_run_lists "prod" => ["recipe[apache2]"], "staging" => ["recipe[apache2::staging]"], "_default" => []
 #default_attributes "apache2" => { "listen_ports" => [ "80", "443" ] }
 #override_attributes "apache2" => { "max_children" => "50" }
index 7061412..0480516 100644 (file)
@@ -2,9 +2,8 @@ name 'zookeeper'
 description 'ZooKeeper node'
 
 run_list(
-  #'recipe[yum]',
   'role[java]',
-  'recipe[grid]',
+  'role[grid]',
   'recipe[zookeeper]'
 )