You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The foreman::cli class is configured not to replace /root/.hammer/cli.modules.d/foreman.yml, even if $manage_root_config is set to true, because replace => false:
I think this is confusing and contradictory; I know I was confused about why it wasn't working until I took a closer look at the module. I think if $manage_root_config is set to true then this file should automatically be updated with the specified config.
The text was updated successfully, but these errors were encountered:
The reason we do this is that in the foreman class we set the initial username and password, but have no guarantee that they remain the same. I know this is ugly and at a parameter for this would make sense.
IMHO, manage_root_config should not exist or at least have a default to false (because if we want a powerful auditable application, we should help users to do not use root or admin account, a goal that already produce the depreciation of some rake tasks)
I would like to add use_sessions parameter to ease administration using CLI with a regular unix user, without Foreman password disclosure if its stored in plain-text file, for obvious security concern: opus-codium@2e232b2
I'm OK to rework this part, if someone purpose a global approach.
The
foreman::cli
class is configured not to replace/root/.hammer/cli.modules.d/foreman.yml
, even if$manage_root_config
is set to true, becausereplace => false
:I think this is confusing and contradictory; I know I was confused about why it wasn't working until I took a closer look at the module. I think if
$manage_root_config
is set to true then this file should automatically be updated with the specified config.The text was updated successfully, but these errors were encountered: