katello-service doesn't work on el6
[root@katello-centos6-bats yum.repos.d]# katello-service status /usr/bin/katello-service:3: command not found: /usr/sbin/service-wait qpidd status
It looks like ruby is looking for a file named 'service-wait qpidd status' in /usr/sbin.
#1 Updated by Stephen Benjamin over 7 years ago
Looks like arguments have to be quoted?
irb(main):002:0> `/usr/sbin/service-wait qpidd status`
(irb):2: command not found: /usr/sbin/service-wait qpidd status
irb(main):003:0> `/usr/sbin/service-wait "qpidd status"`
=> "qpidd is stopped\n"
#2 Updated by The Foreman Bot over 7 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/Katello/katello/pull/5359 added
- Pull request deleted (
#3 Updated by Anonymous over 7 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset katello|1727a4f2b6a627cddfc3201b2214f0011c3c58fd.
fixes #11129 - add shebang to service-wait