Class ChefSolo
- java.lang.Object
-
- org.jclouds.scriptbuilder.statements.chef.ChefSolo
-
- All Implemented Interfaces:
Statement
public class ChefSolo extends Object implements Statement
Bootstraps a node using Chef Solo.- See Also:
InstallChefGems
,InstallRuby
,InstallRubyGems
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ChefSolo.Builder
-
Field Summary
Fields Modifier and Type Field Description static String
DEFAULT_SOLO_PATH
-
Constructor Summary
Constructors Modifier Constructor Description protected
ChefSolo(com.google.common.base.Optional<String> fileCachePath, com.google.common.base.Optional<String> rolePath, com.google.common.base.Optional<String> databagPath, com.google.common.base.Optional<com.google.common.collect.ImmutableList<String>> cookbookPath, com.google.common.base.Optional<String> cookbooksArchiveLocation, com.google.common.base.Optional<String> jsonAttributes, com.google.common.base.Optional<String> group, com.google.common.base.Optional<Integer> interval, com.google.common.base.Optional<String> logLevel, com.google.common.base.Optional<String> logFile, com.google.common.base.Optional<String> nodeName, com.google.common.base.Optional<Integer> splay, com.google.common.base.Optional<String> user, com.google.common.base.Optional<List<Role>> roles, com.google.common.base.Optional<List<DataBag>> databags, com.google.common.base.Optional<RunList> runlist)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ChefSolo.Builder
builder()
Iterable<String>
functionDependencies(OsFamily family)
String
render(OsFamily family)
-
-
-
Field Detail
-
DEFAULT_SOLO_PATH
public static final String DEFAULT_SOLO_PATH
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ChefSolo
protected ChefSolo(com.google.common.base.Optional<String> fileCachePath, com.google.common.base.Optional<String> rolePath, com.google.common.base.Optional<String> databagPath, com.google.common.base.Optional<com.google.common.collect.ImmutableList<String>> cookbookPath, com.google.common.base.Optional<String> cookbooksArchiveLocation, com.google.common.base.Optional<String> jsonAttributes, com.google.common.base.Optional<String> group, com.google.common.base.Optional<Integer> interval, com.google.common.base.Optional<String> logLevel, com.google.common.base.Optional<String> logFile, com.google.common.base.Optional<String> nodeName, com.google.common.base.Optional<Integer> splay, com.google.common.base.Optional<String> user, com.google.common.base.Optional<List<Role>> roles, com.google.common.base.Optional<List<DataBag>> databags, com.google.common.base.Optional<RunList> runlist)
-
-
Method Detail
-
builder
public static ChefSolo.Builder builder()
-
functionDependencies
public Iterable<String> functionDependencies(OsFamily family)
- Specified by:
functionDependencies
in interfaceStatement
-
-