test-repo/topology.json in knife-topo-0.0.3 vs test-repo/topology.json in knife-topo-0.0.4

- old
+ new

@@ -20,11 +20,12 @@ "ssh_host": "10.0.1.3", "run_list": [ "recipe[apt]", "recipe[testapp::appserver]", - "testapp::deploy" + "testapp::deploy", + "testsys_test1" ], "normal": { "topo": @@ -37,11 +38,12 @@ "name": "dbserver01", "ssh_host": "10.0.1.2", "run_list": [ "recipe[apt]", - "recipe[testapp::db]" + "recipe[testapp::db]", + "testsys_test1" ], "tags": [ "testapp_database" @@ -52,48 +54,71 @@ "topo": { "node_type": "dbserver" } } + }, + { + "name": "buildserver01", + "chef_environment": "dev", + "run_list": + [ + "recipe[apt]", + "recipe[testapp::db]", + "recipe[testapp::appserver]", + "recipe[testapp::deploy]", + "testsys_test1" + ], + + "tags": + [ + ], + + "normal": + { + "topo": + { + "node_type": "buildserver" + } + } } ], "cookbook_attributes": [ { + "cookbook": "testsys_test1", + "filename": "softwareversion", "normal": - { + { "nodejs": { - "version": "0.28" + "version": "0.10.28", + "checksum_linux_x64": "5f41f4a90861bddaea92addc5dfba5357de40962031c2281b1683277a0f75932" }, "testapp": { - "version": "1.0" + "version": "0.0.3" }, "mongodb": { "package_version": "2.6.1" } }, - - "node_type": - { - "buildserver": + "conditional" : [ { + "qualifier": "node_type", + "value" : "buildserver", "normal": { "mongodb": { "package_version": "2.5.1" } } } - }, - - "cookbook": "testsys_test1", - "filename": "softwareversion" + ] } ] } \ No newline at end of file