{"action":"created","issue":{"url":"https://api.github.com/repos/saltstack-formulas/jenkins-formula/issues/38","labels_url":"https://api.github.com/repos/saltstack-formulas/jenkins-formula/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/saltstack-formulas/jenkins-formula/issues/38/comments","events_url":"https://api.github.com/repos/saltstack-formulas/jenkins-formula/issues/38/events","html_url":"https://github.com/saltstack-formulas/jenkins-formula/pull/38","id":113448106,"number":38,"title":"Replaces netcat with lsof to be more compatible with RedHat distros.","user":{"login":"marianuspotratz","id":2745629,"avatar_url":"https://avatars.githubusercontent.com/u/2745629?v=3","gravatar_id":"","url":"https://api.github.com/users/marianuspotratz","html_url":"https://github.com/marianuspotratz","followers_url":"https://api.github.com/users/marianuspotratz/followers","following_url":"https://api.github.com/users/marianuspotratz/following{/other_user}","gists_url":"https://api.github.com/users/marianuspotratz/gists{/gist_id}","starred_url":"https://api.github.com/users/marianuspotratz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marianuspotratz/subscriptions","organizations_url":"https://api.github.com/users/marianuspotratz/orgs","repos_url":"https://api.github.com/users/marianuspotratz/repos","events_url":"https://api.github.com/users/marianuspotratz/events{/privacy}","received_events_url":"https://api.github.com/users/marianuspotratz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-26T20:48:05Z","updated_at":"2015-10-27T10:03:11Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/saltstack-formulas/jenkins-formula/pulls/38","html_url":"https://github.com/saltstack-formulas/jenkins-formula/pull/38","diff_url":"https://github.com/saltstack-formulas/jenkins-formula/pull/38.diff","patch_url":"https://github.com/saltstack-formulas/jenkins-formula/pull/38.patch"},"body":"I found that the version of netcat available in CentOS (ncat-nmap package) does not have the -z flag being used. So i propose to make this state more portable by facilitating lsof instead."},"comment":{"url":"https://api.github.com/repos/saltstack-formulas/jenkins-formula/issues/comments/151440813","html_url":"https://github.com/saltstack-formulas/jenkins-formula/pull/38#issuecomment-151440813","issue_url":"https://api.github.com/repos/saltstack-formulas/jenkins-formula/issues/38","id":151440813,"user":{"login":"marianuspotratz","id":2745629,"avatar_url":"https://avatars.githubusercontent.com/u/2745629?v=3","gravatar_id":"","url":"https://api.github.com/users/marianuspotratz","html_url":"https://github.com/marianuspotratz","followers_url":"https://api.github.com/users/marianuspotratz/followers","following_url":"https://api.github.com/users/marianuspotratz/following{/other_user}","gists_url":"https://api.github.com/users/marianuspotratz/gists{/gist_id}","starred_url":"https://api.github.com/users/marianuspotratz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marianuspotratz/subscriptions","organizations_url":"https://api.github.com/users/marianuspotratz/orgs","repos_url":"https://api.github.com/users/marianuspotratz/repos","events_url":"https://api.github.com/users/marianuspotratz/events{/privacy}","received_events_url":"https://api.github.com/users/marianuspotratz/received_events","type":"User","site_admin":false},"created_at":"2015-10-27T10:03:11Z","updated_at":"2015-10-27T10:03:11Z","body":"I'm not quite sure how I should do that, meaning which part to template.\r\nI don't have much experience with netcat, but according to their manpage http://www.openbsd.org/cgi-bin/man.cgi/OpenBSD-current/man1/nc.1?query=nc the -z flag is listening for an open connection only. Not knowing what the original intention behind this code was, I assumed that, since no similar flag is available in netcat available to CentOS, I would just swap it out with another package that does the same thing."}}