{"action":"created","issue":{"url":"https://api.github.com/repos/choria-io/puppet-mcollective/issues/111","repository_url":"https://api.github.com/repos/choria-io/puppet-mcollective","labels_url":"https://api.github.com/repos/choria-io/puppet-mcollective/issues/111/labels{/name}","comments_url":"https://api.github.com/repos/choria-io/puppet-mcollective/issues/111/comments","events_url":"https://api.github.com/repos/choria-io/puppet-mcollective/issues/111/events","html_url":"https://github.com/choria-io/puppet-mcollective/pull/111","id":235528362,"number":111,"title":"WIP: (#46) add a purging ini hanlder","user":{"login":"helge000","id":13696924,"avatar_url":"https://avatars2.githubusercontent.com/u/13696924?v=3","gravatar_id":"","url":"https://api.github.com/users/helge000","html_url":"https://github.com/helge000","followers_url":"https://api.github.com/users/helge000/followers","following_url":"https://api.github.com/users/helge000/following{/other_user}","gists_url":"https://api.github.com/users/helge000/gists{/gist_id}","starred_url":"https://api.github.com/users/helge000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/helge000/subscriptions","organizations_url":"https://api.github.com/users/helge000/orgs","repos_url":"https://api.github.com/users/helge000/repos","events_url":"https://api.github.com/users/helge000/events{/privacy}","received_events_url":"https://api.github.com/users/helge000/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":19,"created_at":"2017-06-13T11:54:32Z","updated_at":"2017-06-14T10:41:16Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/choria-io/puppet-mcollective/pulls/111","html_url":"https://github.com/choria-io/puppet-mcollective/pull/111","diff_url":"https://github.com/choria-io/puppet-mcollective/pull/111.diff","patch_url":"https://github.com/choria-io/puppet-mcollective/pull/111.patch"},"body":"WIP: Adds hash2ini function. Example:\r\n\r\n```\r\n$hash = {'general' => {'main' => true, 'homedir' => '/home/dir'}, 'sec2' => {'key' => 12, 'value' => '', 'boolean' => false}}\r\n\r\nfile {'/test.ini':\r\n   content => mcollective::hash2ini($hash, \"This file is managed by ${name}\", \"\\r\\n\")\r\n}\r\n```\r\n* Should we support more data types for values? (Namely arrays, I to not think hashes do make sense)\r\n* Should we rather place this function with sub module, since they might need it or is it ok to rely in on `mcollective` module to be present?\r\n"},"comment":{"url":"https://api.github.com/repos/choria-io/puppet-mcollective/issues/comments/308393697","html_url":"https://github.com/choria-io/puppet-mcollective/pull/111#issuecomment-308393697","issue_url":"https://api.github.com/repos/choria-io/puppet-mcollective/issues/111","id":308393697,"user":{"login":"helge000","id":13696924,"avatar_url":"https://avatars2.githubusercontent.com/u/13696924?v=3","gravatar_id":"","url":"https://api.github.com/users/helge000","html_url":"https://github.com/helge000","followers_url":"https://api.github.com/users/helge000/followers","following_url":"https://api.github.com/users/helge000/following{/other_user}","gists_url":"https://api.github.com/users/helge000/gists{/gist_id}","starred_url":"https://api.github.com/users/helge000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/helge000/subscriptions","organizations_url":"https://api.github.com/users/helge000/orgs","repos_url":"https://api.github.com/users/helge000/repos","events_url":"https://api.github.com/users/helge000/events{/privacy}","received_events_url":"https://api.github.com/users/helge000/received_events","type":"User","site_admin":false},"created_at":"2017-06-14T10:41:16Z","updated_at":"2017-06-14T10:41:16Z","body":"> we set every single required mcollective setting \r\n\r\nGreat! I'll put that in `data` with the next commit and we're good to give it a try"}}
{"actor":{"display_login":"helge000"}}