rcbops/jenkins-chef-nova-dingus — pull request #81 by willkelly (2013-07-01 19:00:27+00:00)
Title: Bug: multiple operations did not work.

will@traveling-lab:~/Code/rcbops/jenkins-chef-nova-dingus/files$ python jsoncli.py nova-aio.json -s '/chef_type="ENVIRONMENT"' -s 'description="wilk"'
{"chef_type": "environment", "description": "wilk", "override_attributes": {"glance": {"images": ["cirros"], "image_upload": true}, "osops": {"apply_patches": true}, "osops_networks": {"management": "10.0.0.0/8", "public": "10.0.0.0/8", "nova": "10.0.0.0/8"}, "nova": {"networks": [{"bridge": "br100", "network_size": "255", "dns2": "8.8.4.4", "dns1": "8.8.8.8", "ipv4_cidr": "192.168.100.0/24", "num_networks": "1", "label": "public", "bridge_dev": "eth0"}], "apply_patches": true, "libvirt": {"virt_type": "qemu"}}, "mysql": {"root_network_acl": "10.%", "allow_remote_root": true}}, "json_class": "Chef::Environment", "cookbook_versions": {}, "name": "nova-aio"}

will@traveling-lab:~/Code/rcbops/jenkins-chef-nova-dingus/files$ git checkout jsoncli
Switched to branch 'jsoncli'
will@traveling-lab:~/Code/rcbops/jenkins-chef-nova-dingus/files$ python jsoncli.py nova-aio.json -s '/chef_type="ENVIRONMENT"' -s 'description="wilk"'
{"chef_type": "ENVIRONMENT", "description": "wilk", "override_attributes": {"glance": {"images": ["cirros"], "image_upload": true}, "osops": {"apply_patches": true}, "osops_networks": {"management": "10.0.0.0/8", "public": "10.0.0.0/8", "nova": "10.0.0.0/8"}, "nova": {"networks": [{"bridge": "br100", "network_size": "255", "dns2": "8.8.4.4", "dns1": "8.8.8.8", "ipv4_cidr": "192.168.100.0/24", "num_networks": "1", "label": "public", "bridge_dev": "eth0"}], "apply_patches": true, "libvirt": {"virt_type": "qemu"}}, "mysql": {"root_network_acl": "10.%", "allow_remote_root": true}}, "json_class": "Chef::Environment", "cookbook_versions": {}, "name": "nova-aio"}