Github user simonellistonball commented on a diff in the pull request:

    https://github.com/apache/incubator-metron/pull/581#discussion_r115962297
  
    --- Diff: 
metron-deployment/packaging/ambari/metron-mpack/src/main/resources/common-services/METRON/CURRENT/package/scripts/management_ui_master.py
 ---
    @@ -0,0 +1,91 @@
    +"""
    +Licensed to the Apache Software Foundation (ASF) under one
    +or more contributor license agreements.  See the NOTICE file
    +distributed with this work for additional information
    +regarding copyright ownership.  The ASF licenses this file
    +to you under the Apache License, Version 2.0 (the
    +"License"); you may not use this file except in compliance
    +with the License.  You may obtain a copy of the License at
    +
    +    http://www.apache.org/licenses/LICENSE-2.0
    +
    +Unless required by applicable law or agreed to in writing, software
    +distributed under the License is distributed on an "AS IS" BASIS,
    +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    +See the License for the specific language governing permissions and
    +limitations under the License.
    +
    +"""
    +
    +from resource_management.core.exceptions import ComponentIsNotRunning
    +from resource_management.core.exceptions import ExecutionFailed
    +from resource_management.core.resources.system import Directory
    +from resource_management.core.resources.system import File
    +from resource_management.core.source import Template
    +from resource_management.libraries.functions.format import format
    +from resource_management.libraries.script import Script
    +from resource_management.core.resources.system import Execute
    +
    +from resource_management.core.logger import Logger
    +
    +from management_ui_commands import ManagementUICommands
    +
    +
    +class ManagementUIMaster(Script):
    +
    +    def install(self, env):
    +        Execute('curl --silent --location 
https://rpm.nodesource.com/setup_6.x | bash - && yum -y install nodejs')
    --- End diff --
    
    This would be a problem for offline installs. We cannot rely on the 
internet being around to install node.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to