{"action":"created","issue":{"url":"https://api.github.com/repos/ghoneycutt/puppet-module-nscd/issues/45","repository_url":"https://api.github.com/repos/ghoneycutt/puppet-module-nscd","labels_url":"https://api.github.com/repos/ghoneycutt/puppet-module-nscd/issues/45/labels{/name}","comments_url":"https://api.github.com/repos/ghoneycutt/puppet-module-nscd/issues/45/comments","events_url":"https://api.github.com/repos/ghoneycutt/puppet-module-nscd/issues/45/events","html_url":"https://github.com/ghoneycutt/puppet-module-nscd/issues/45","id":171837620,"number":45,"title":"Numbers or strings?","user":{"login":"alan-schwarzenberger","id":8989725,"avatar_url":"https://avatars.githubusercontent.com/u/8989725?v=3","gravatar_id":"","url":"https://api.github.com/users/alan-schwarzenberger","html_url":"https://github.com/alan-schwarzenberger","followers_url":"https://api.github.com/users/alan-schwarzenberger/followers","following_url":"https://api.github.com/users/alan-schwarzenberger/following{/other_user}","gists_url":"https://api.github.com/users/alan-schwarzenberger/gists{/gist_id}","starred_url":"https://api.github.com/users/alan-schwarzenberger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alan-schwarzenberger/subscriptions","organizations_url":"https://api.github.com/users/alan-schwarzenberger/orgs","repos_url":"https://api.github.com/users/alan-schwarzenberger/repos","events_url":"https://api.github.com/users/alan-schwarzenberger/events{/privacy}","received_events_url":"https://api.github.com/users/alan-schwarzenberger/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-08-18T07:44:45Z","updated_at":"2016-11-04T13:28:44Z","closed_at":"2016-11-04T13:28:44Z","body":"The documentation is a little vague on numeric settings such as hosts_negative_time_to_live. That says the default is 20, whereas other settings have numbers single quoted into strings.\nIf you actually use a number (eg in hiera nscd::hosts_negative_time_to_live: 0) then for me (Puppet 4.3.2 and Puppet Server 2.2.0 with Stdlib 4.12.0) a Puppet compile time error results as the first parameter to validate_re must be a string.\nI could help do a PR, but some guidance first on your preference please: update the documentation to be clear that all parameters must be strings, or change the code by quoting all first parameters to validate_re to force stringification? I can't spot anything else in the code that would cause a problem if these were numbers.\n"},"comment":{"url":"https://api.github.com/repos/ghoneycutt/puppet-module-nscd/issues/comments/258430734","html_url":"https://github.com/ghoneycutt/puppet-module-nscd/issues/45#issuecomment-258430734","issue_url":"https://api.github.com/repos/ghoneycutt/puppet-module-nscd/issues/45","id":258430734,"user":{"login":"ghoneycutt","id":313891,"avatar_url":"https://avatars.githubusercontent.com/u/313891?v=3","gravatar_id":"","url":"https://api.github.com/users/ghoneycutt","html_url":"https://github.com/ghoneycutt","followers_url":"https://api.github.com/users/ghoneycutt/followers","following_url":"https://api.github.com/users/ghoneycutt/following{/other_user}","gists_url":"https://api.github.com/users/ghoneycutt/gists{/gist_id}","starred_url":"https://api.github.com/users/ghoneycutt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ghoneycutt/subscriptions","organizations_url":"https://api.github.com/users/ghoneycutt/orgs","repos_url":"https://api.github.com/users/ghoneycutt/repos","events_url":"https://api.github.com/users/ghoneycutt/events{/privacy}","received_events_url":"https://api.github.com/users/ghoneycutt/received_events","type":"User","site_admin":false},"created_at":"2016-11-04T13:28:44Z","updated_at":"2016-11-04T13:28:44Z","body":"Released in v1.9.1\r\n\r\nThank you very much!"}}
{"actor":{"display_login":"ghoneycutt"}}