{"action":"closed","issue":{"url":"https://api.github.com/repos/pixelb/crudini/issues/29","repository_url":"https://api.github.com/repos/pixelb/crudini","labels_url":"https://api.github.com/repos/pixelb/crudini/issues/29/labels{/name}","comments_url":"https://api.github.com/repos/pixelb/crudini/issues/29/comments","events_url":"https://api.github.com/repos/pixelb/crudini/issues/29/events","html_url":"https://github.com/pixelb/crudini/issues/29","id":121179076,"number":29,"title":"crudini --get suppresses parameters that overlap with those in [DEFAULTS]","user":{"login":"leitingtod","id":2225223,"avatar_url":"https://avatars.githubusercontent.com/u/2225223?v=3","gravatar_id":"","url":"https://api.github.com/users/leitingtod","html_url":"https://github.com/leitingtod","followers_url":"https://api.github.com/users/leitingtod/followers","following_url":"https://api.github.com/users/leitingtod/following{/other_user}","gists_url":"https://api.github.com/users/leitingtod/gists{/gist_id}","starred_url":"https://api.github.com/users/leitingtod/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leitingtod/subscriptions","organizations_url":"https://api.github.com/users/leitingtod/orgs","repos_url":"https://api.github.com/users/leitingtod/repos","events_url":"https://api.github.com/users/leitingtod/events{/privacy}","received_events_url":"https://api.github.com/users/leitingtod/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-09T07:25:16Z","updated_at":"2016-03-15T09:57:22Z","closed_at":"2016-03-15T09:57:22Z","body":"\r\n[nova.conf.zip](https://github.com/pixelb/crudini/files/56465/nova.conf.zip)\r\n\r\n\r\n# When I query the option directly, I can get the value.\r\n$sudo crudini --get --format=lines /etc/nova/nova.conf neutron auth_strategy\r\n[ neutron ] auth_strategy = keystone\r\n\r\n# But when I query the section with the option <auth_startegy>, I can't get it.\r\n$ sudo crudini --get --format=lines /etc/nova/nova.conf neutron\r\n[ neutron ] metadata_proxy_shared_secret = 123\r\n[ neutron ] service_metadata_proxy = True\r\n[ neutron ] admin_password = 123\r\n[ neutron ] admin_username = neutron\r\n[ neutron ] admin_tenant_name = service\r\n[ neutron ] admin_auth_url = http://controller:35357/v2.0\r\n[ neutron ] url = http://controller:9696\r\n\r\n# So, I think it may be missing when the files has same options in different section.\r\n\r\n$ sudo crudini --get --format=lines /etc/nova/nova.conf DEFAULT auth_strategy\r\n[DEFAULT ] auth_strategy = keystone\r\n\r\n$ sudo crudini --get --format=lines /etc/nova/nova.conf DEFAULT\r\n[ DEFAULT ] firewall_driver = nova.virt.firewall.NoopFirewallDriver\r\n[ DEFAULT ] linuxnet_interface_driver = nova.network.linux_net.LinuxOVSInterfaceDriver\r\n[ DEFAULT ] security_group_api = neutron\r\n[ DEFAULT ] network_api_class = nova.network.neutronv2.api.API\r\n[ DEFAULT ] verbose = True\r\n[ DEFAULT ] vncserver_proxyclient_address = 192.168.122.11\r\n[ DEFAULT ] vncserver_listen = 192.168.122.11\r\n[ DEFAULT ] my_ip = 192.168.122.11\r\n[ DEFAULT ] auth_strategy = keystone\r\n[ DEFAULT ] rpc_backend = rabbit\r\n\r\n\r\n"}}