Doroszlai, Attila created AMBARI-25020:
------------------------------------------

             Summary: Allow unattended mpack install with purge
                 Key: AMBARI-25020
                 URL: https://issues.apache.org/jira/browse/AMBARI-25020
             Project: Ambari
          Issue Type: Improvement
          Components: ambari-server
            Reporter: Doroszlai, Attila
            Assignee: Doroszlai, Attila
             Fix For: 2.8.0


The question that pops up if {{purge}} is specified prevents installing mpacks 
without user input.  The default answer is "no", which gets automatically 
selected in {{silent}} mode, causing the installation to be cancelled.

{noformat:title=ambari-server install-mpack --purge --silent --verbose 
--mpack=...}
...
CAUTION: You have specified the --purge option with 
--purge-list=['stack-definitions', 'mpacks']. This will replace all existing 
stack definitions, management packs currently installed.
Are you absolutely sure you want to perform the purge [yes/no]? (no)
ERROR: Exiting with exit code 1.
REASON: Management pack installation cancelled by user
{noformat}

The default answer should be "no" for regular mode, but "yes" for silent mode, 
to make unattended install possible.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to