Class ChefSolo.Builder
java.lang.Object
org.jclouds.scriptbuilder.statements.chef.ChefSolo.Builder
- Enclosing class:
ChefSolo
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
cookbookPath
(String cookbookPath) Directory where Chef Solo will look for cookbooks.cookbookPaths
(Iterable<String> cookbookPaths) Directories where Chef Solo will look for cookbooks.cookbooksArchiveLocation
(String cookbooksArchiveLocation) Local file path or remote URL of a cookbook tar file.dataBagPath
(String dataBagPath) Directory where Chef Solo will store data bags.defineDataBag
(DataBag dataBag) Creates a data bag.defineDataBags
(Iterable<DataBag> databags) Creates a set of data bags.defineRole
(Role role) Creates a role.defineRoles
(Iterable<Role> roles) Creates a set of roles.fileCachePath
(String fileCachePath) Directory where Chef Solo will store files.The goup to set privilege to.Run chef-client periodically, in seconds.jsonAttributes
(String jsonAttributes) JSON attributes to customize cookbook values.Set the log file location, by default STDOUT.Set he Log level (debug, info, warn, error, fatal).Set the name for the node.Directory where Chef Solo will store roles.The run list to be executed in the Chef Solo run.The splay time for running at intervals, in seconds.The user to set privilege to.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
fileCachePath
Directory where Chef Solo will store files. -
rolePath
Directory where Chef Solo will store roles. -
dataBagPath
Directory where Chef Solo will store data bags. -
cookbookPath
Directory where Chef Solo will look for cookbooks. -
cookbookPaths
Directories where Chef Solo will look for cookbooks. -
cookbooksArchiveLocation
Local file path or remote URL of a cookbook tar file. Chef solo will download and unpack its contents in thefileCachePath
directory. -
jsonAttributes
JSON attributes to customize cookbook values. -
group
The goup to set privilege to. -
interval
Run chef-client periodically, in seconds. -
logLevel
Set he Log level (debug, info, warn, error, fatal). -
logFile
Set the log file location, by default STDOUT. -
nodeName
Set the name for the node. By default the hostname will be used. -
splay
The splay time for running at intervals, in seconds. -
user
The user to set privilege to. -
defineRole
Creates a role. -
defineRoles
Creates a set of roles. -
defineDataBag
Creates a data bag.- Since:
- Chef 0.10.4
-
defineDataBags
Creates a set of data bags.- Since:
- Chef 0.10.4
-
runlist
The run list to be executed in the Chef Solo run. -
build
-