{"action":"closed","issue":{"url":"https://api.github.com/repos/choria-io/go-choria/issues/217","repository_url":"https://api.github.com/repos/choria-io/go-choria","labels_url":"https://api.github.com/repos/choria-io/go-choria/issues/217/labels{/name}","comments_url":"https://api.github.com/repos/choria-io/go-choria/issues/217/comments","events_url":"https://api.github.com/repos/choria-io/go-choria/issues/217/events","html_url":"https://github.com/choria-io/go-choria/issues/217","id":307579360,"number":217,"title":"Native os.Hostname() calls may return a technically invalid hostname","user":{"login":"JSP-GIHS","id":26219965,"avatar_url":"https://avatars3.githubusercontent.com/u/26219965?v=4","gravatar_id":"","url":"https://api.github.com/users/JSP-GIHS","html_url":"https://github.com/JSP-GIHS","followers_url":"https://api.github.com/users/JSP-GIHS/followers","following_url":"https://api.github.com/users/JSP-GIHS/following{/other_user}","gists_url":"https://api.github.com/users/JSP-GIHS/gists{/gist_id}","starred_url":"https://api.github.com/users/JSP-GIHS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JSP-GIHS/subscriptions","organizations_url":"https://api.github.com/users/JSP-GIHS/orgs","repos_url":"https://api.github.com/users/JSP-GIHS/repos","events_url":"https://api.github.com/users/JSP-GIHS/events{/privacy}","received_events_url":"https://api.github.com/users/JSP-GIHS/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-03-22T10:13:48Z","updated_at":"2018-04-09T14:17:15Z","closed_at":"2018-04-09T14:17:14Z","author_association":"NONE","body":"The two source files:\r\n\r\n`srvcache/srvcache.go`\r\n`choria/config.go`\r\n\r\nLeverage the go \"os\" package for the os.Hostname() call. On systems that are configured with a non-fqdn Hostname this results in an invalid configuration for choria::broker resulting in a (subjectively)cryptic error message that the hostname PEM certificates do not exist in the Puppet ssl directory.\r\n\r\nAs per follow up comments in [Choria Users](https://groups.google.com/forum/#!topic/choria-users/qBkkti-tiSo)\r\n\r\nSuggestion for correction: may need to be combined with a modification to /choria-io/puppet-choria to populate the broker.conf with the fqdn fact."}}
{"actor":{"display_login":"ripienaar"}}