Package com.puppetlabs.geppetto.puppetlint

Examples of com.puppetlabs.geppetto.puppetlint.PuppetLintRunner$Issue


    if(enablePuppetLintValidation)
      lintValidation(moduleRoots, result);
  }

  private void lintValidation(Collection<File> moduleLocations, Diagnostic result) throws IOException {
    PuppetLintRunner runner = PuppetLintService.getInstance().getPuppetLintRunner();
    getLog().debug("Performing puppet lint validation on all modules");
    if(puppetLintOptions == null)
      puppetLintOptions = new PuppetLintRunner.Option[0];
    for(File moduleRoot : moduleLocations) {
      for(PuppetLintRunner.Issue issue : runner.run(moduleRoot, puppetLintOptions)) {
        Diagnostic diag = convertPuppetLintDiagnostic(moduleRoot, issue);
        if(diag != null)
          result.addChild(diag);
      }
    }
View Full Code Here

TOP

Related Classes of com.puppetlabs.geppetto.puppetlint.PuppetLintRunner$Issue

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.