/usr/sbin/mc-find-hosts is in mcollective-client 1.2.1+dfsg-2ubuntu1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 | #!/usr/bin/env ruby
require 'mcollective'
app_name = "find"
if MCollective::Applications.list.include?(app_name)
MCollective::Applications.run(app_name)
else
STDERR.puts "Cannot find the #{app_name} command in the applications plugin directory"
end
|