{"action":"closed","issue":{"url":"https://api.github.com/repos/gds-operations/puppet-aptly/issues/17","labels_url":"https://api.github.com/repos/gds-operations/puppet-aptly/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/gds-operations/puppet-aptly/issues/17/comments","events_url":"https://api.github.com/repos/gds-operations/puppet-aptly/issues/17/events","html_url":"https://github.com/gds-operations/puppet-aptly/issues/17","id":54781164,"number":17,"title":"to_pson does not produce 100% correct JSON","user":{"login":"tobru","id":1695957,"avatar_url":"https://avatars.githubusercontent.com/u/1695957?v=3","gravatar_id":"","url":"https://api.github.com/users/tobru","html_url":"https://github.com/tobru","followers_url":"https://api.github.com/users/tobru/followers","following_url":"https://api.github.com/users/tobru/following{/other_user}","gists_url":"https://api.github.com/users/tobru/gists{/gist_id}","starred_url":"https://api.github.com/users/tobru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tobru/subscriptions","organizations_url":"https://api.github.com/users/tobru/orgs","repos_url":"https://api.github.com/users/tobru/repos","events_url":"https://api.github.com/users/tobru/events{/privacy}","received_events_url":"https://api.github.com/users/tobru/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-01-19T16:02:57Z","updated_at":"2015-03-26T09:54:24Z","closed_at":"2015-03-26T09:54:24Z","body":"When setting a configuration variable (f.e. `downloadSourcePackages`) which Aptly expects to be boolean, the function `to_pson` generates a string. Aptly then complains about a bad configuration: `ERROR: error loading config file /etc/aptly.conf: json: cannot unmarshal string into Go value of type bool`. Maybe `to_json` would be better, but I have not checked it."}}