Package org.apache.whirr.service.puppet

Examples of org.apache.whirr.service.puppet.Manifest


      for (@SuppressWarnings("unchecked")
      Iterator<String> it = config.getKeys(manifestAttribPrefix); it.hasNext();) {
        String key = it.next();
        manifestProps.setProperty(key, config.getProperty(key));
      }
      Manifest roleManifest = getManifestForClusterSpecAndRole(role, manifestProps);
      if (isHiera) {
        sitePp.add("include " + roleManifest.getName());
        confHiera.add(roleManifest.getHiera());
      } else {
        sitePp.add(roleManifest.toString());
      }
    }
    sitePp.add("}");

    if (isHiera) {
View Full Code Here


              + "format should be puppet:module or puppet:module::manifest");
      manifestClassName = subroleModuleManifest.substring(firstDoubleColon + 2);
    }

    // now create and populate the manifest
    Manifest manifest = new Manifest(moduleName, manifestClassName);

    for (Iterator<?> longkeyI = manifestProps.getKeys(); longkeyI.hasNext();) {
      String longkey = (String) longkeyI.next();
      String key = longkey.substring(subroleModuleManifest.replaceAll(":+", ".").length() + 1);
      if (key.indexOf('.') >= 0) {
View Full Code Here

              + "format should be puppet:module or puppet:module::manifest");
      manifestClassName = subroleModuleManifest.substring(firstDoubleColon + 2);
    }

    // now create and populate the manifest
    Manifest manifest = new Manifest(moduleName, manifestClassName);

    for (Iterator<?> longkeyI = manifestProps.getKeys(); longkeyI.hasNext();) {
      String longkey = (String) longkeyI.next();
      String key = longkey.substring(subroleModuleManifest.replaceAll(":+", ".").length() + 1);
      if (key.indexOf('.') >= 0) {
View Full Code Here

TOP

Related Classes of org.apache.whirr.service.puppet.Manifest

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.