We can break out katello-change-hostname, katello-restore, and katello-backup into classes and that will make it easier for use to test and update names on backports.
Created from redmine issue http://projects.theforeman.org/issues/20821
Upstream bug assigned to email@example.com
*** Bug 1482135 has been marked as a duplicate of this bug. ***
Working on related bugs https://bugzilla.redhat.com/show_bug.cgi?id=1497957
https://bugzilla.redhat.com/show_bug.cgi?id=1482168 I found all tree scripts fail with missing ruby scripts, e.g.:
~]# katello-change-hostname -h
DEPRECATION WARNING: katello-change-hostname is deprecated and will
be removed in the next Satellite release. It is being replaced by
satellite-change-hostname. Redirecting to satellite-change-hostname now.
/usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- /usr/sbin/hostname-change.rb (LoadError)
from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require'
from /usr/sbin/satellite-change-hostname:10:in `<main>'
Also, about the DEPRECATION WARNING, are we really going to remove the thing in next release, why? Redirect is in place, I don't see any risk in keeping the legacy option functional. Also, is there a documentation bug about this change?
docs bug created https://bugzilla.redhat.com/show_bug.cgi?id=1503054
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA.
For information on the advisory, and where to find the updated files, follow the link below.
If the solution does not work for you, open a new bug report.