org.apache.whirr.service.puppet.statements
Class InstallModuleFromGit

java.lang.Object
  extended by org.apache.whirr.service.puppet.statements.InstallModuleFromGit
All Implemented Interfaces:
org.jclouds.scriptbuilder.domain.Statement

public class InstallModuleFromGit
extends Object
implements org.jclouds.scriptbuilder.domain.Statement

Class representing a single Puppet Module. Clones a Puppet module to /etc/puppet/modules.

Typical usage is:
 ...


Constructor Summary
InstallModuleFromGit(String module, URI url)
          To clone the master branch of module from a repository located at url.
InstallModuleFromGit(String module, URI url, String vcsBranch)
           
 
Method Summary
 Iterable<String> functionDependencies(org.jclouds.scriptbuilder.domain.OsFamily arg0)
           
 String render(org.jclouds.scriptbuilder.domain.OsFamily arg0)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InstallModuleFromGit

public InstallModuleFromGit(String module,
                            URI url)
To clone the master branch of module from a repository located at url.

Parameters:
module -
url -

InstallModuleFromGit

public InstallModuleFromGit(String module,
                            URI url,
                            @Nullable
                            String vcsBranch)
Method Detail

functionDependencies

public Iterable<String> functionDependencies(org.jclouds.scriptbuilder.domain.OsFamily arg0)
Specified by:
functionDependencies in interface org.jclouds.scriptbuilder.domain.Statement

render

public String render(org.jclouds.scriptbuilder.domain.OsFamily arg0)
Specified by:
render in interface org.jclouds.scriptbuilder.domain.Statement


Copyright © 2010-2013 The Apache Software Foundation. All Rights Reserved.