Join GitHub today
Download nmap-ncat-7.10-1.gf.el7.x8664.rpm for CentOS 7 from. Nmap-ncat - Nmap's Netcat replacement. Yum -enablerepo=gf-plus install nmap-ncat. A Simple But Powerful Network Tool /mirror/ftp5.gwdg.de/pub/opensuse/repositories/home:/assmannst/CentOSCentOS-6/x8664/netcat-1.10-891.1.x8664.rpm.
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.
Sign upHave a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
commented Jul 18, 2016
First off, many thanks for putting the effort to create this formula, I am using it at my work and it is a bliss. The problem: When I used jenkins.plugins to install the plugins for Jenkins, jenkins_listening returns false since netcat-openbsd is not installed on Centos 7. I tried to install it but without success and it seems to be an ongoing problem that it is hard to get netcat running on Centos and Redhat distributions. Error Message from salt '*' state.highstate: Proposed solution:
Current solution of mine: I am using solution 2 and just use curl to test if connection with jenkins is there. I have to test if that works. I am extending your formula part for jenkins_listening. |
commented Jul 18, 2016
I would be fine with switching this over to using curl, package wise this could easily be managed via a map.jinja update and a variable reference with a default of netcat-openbsd (so we do not break backwards compatibility). |
commented Jul 18, 2016
That would be great, I actually used curl in my extend statement myself and it works fine. Also I found out that there is netcat on Centos 7 and it is called nmap-netcat. You can follow this SO article to install it: How to Install netcat on Centos 7 I would really prefer if it is curl though since almost everyone has it and it is better known by many developers. Btw nc -z does not work on Centos 7. The netcat cli is not as powerful on Centos 7 as on Ubuntu. |
commented Jul 19, 2016
I have written this in an extend statement to overwrite the current default behaviour of jenkins_listening which is using nc. I am curious about your opinion as to whether just 'curl' without any options would suffice. If you recommend any option which one should I use? Today, I am working on this on my fork: https://github.com/byteknacker/jenkins-formula I try to submit a PR today as well. Will be making it backward compatible as you suggested. So I need to change map.jinja and let users use grain to automatically get the OS? |
commented Feb 7, 2017
Resolved with pillar netcat_pkg |
commented Jun 1, 2017
I just ran into this when trying to install on CentOS7 - changed netcat_pkg to nmap-ncat as suggested and then jenkins.cli.jenkins_listening fails trying to nc -z which I suppose could be replaced with nc --recv-only on RHEL/CentOS. Am i missing something here, is there a workaround? |
added a commit to sroegner/jenkins-formula that referenced this issue Jun 1, 2017
referenced this issue Jun 2, 2017
ClosedProvide platform-specific default settings #70
added a commit that referenced this issue Jun 3, 2017
commented Jun 3, 2017
This is resolved by #69 |
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment