Description of problem:
Using hammer to dump templates out, it will not prompt
for the password when redirecting the output to a file,
resulting in an error.
Passing the --password option to hammer does work but
is not acceptable as this leaves the password in clear
text in the users history.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. # hammer --username admin template dump --name epel > snippet-epel.erb
# hammer --username admin template dump --name epel > snippet-epel.erb
Invalid username or password
As per when hammer is run without redirecting to a file
# hammer --username admin template dump --name epel
[Foreman] Password for admin:
Customer has suggested that dump should have a switch to send
the output to a file, in the same way as the create has a switch
to import from a file.
Created redmine issue http://projects.theforeman.org/issues/14832 from this bug
Thank you for your interest in Satellite 6. We have evaluated this request, and we do not expect this to be implemented in the product in the foreseeable future. We are therefore closing this out as WONTFIX. If you have any concerns about this, please feel free to contact Rich Jerrido or Bryan Kearney. Thank you.