Package org.apache.whirr.service.puppet.functions

Examples of org.apache.whirr.service.puppet.functions.InstallAllModulesStatementFromProperties


  private void installAllKnownModules(ClusterActionEvent event) throws IOException {
    Map<String, String> moduleProps = ModulePropertiesFromConfiguration.INSTANCE.apply(event.getClusterSpec()
          .getConfigurationForKeysWithPrefix(PUPPET));

    StatementToInstallModule statementMaker = getStatementToInstallModuleForAction.apply(event);
    Statement installModules = new InstallAllModulesStatementFromProperties(statementMaker).apply(moduleProps);

    event.getStatementBuilder().addStatement(installModules);
    LOG.debug("Puppet finished installing modules for " + event.getInstanceTemplate());
  }
View Full Code Here


  private void installAllKnownModules(ClusterActionEvent event) throws IOException {
    Map<String, String> moduleProps = ModulePropertiesFromConfiguration.INSTANCE.apply(event.getClusterSpec()
          .getConfigurationForKeysWithPrefix(PUPPET));

    StatementToInstallModule statementMaker = getStatementToInstallModuleForAction.apply(event);
    Statement installModules = new InstallAllModulesStatementFromProperties(statementMaker).apply(moduleProps);

    event.getStatementBuilder().addStatement(installModules);
    LOG.debug("Puppet finished installing modules for " + event.getInstanceTemplate());
  }
View Full Code Here

TOP

Related Classes of org.apache.whirr.service.puppet.functions.InstallAllModulesStatementFromProperties

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.