Constructor and Description |
---|
ChefSolo.Builder() |
Modifier and Type | Method and Description |
---|---|
ChefSolo |
build() |
ChefSolo.Builder |
chefVersion(String chefVersion)
The version of the Chef gem to install.
|
ChefSolo.Builder |
cookbookPath(String cookbookPath)
Directory where Chef Solo will look for cookbooks.
|
ChefSolo.Builder |
cookbookPaths(Iterable<String> cookbookPaths)
Directories where Chef Solo will look for cookbooks.
|
ChefSolo.Builder |
cookbooksArchiveLocation(String cookbooksArchiveLocation)
Local file path or remote URL of a cookbook tar file.
|
ChefSolo.Builder |
dataBagPath(String dataBagPath)
Directory where Chef Solo will store data bags.
|
ChefSolo.Builder |
defineDataBag(DataBag dataBag)
Creates a data bag.
|
ChefSolo.Builder |
defineDataBags(Iterable<DataBag> databags)
Creates a set of data bags.
|
ChefSolo.Builder |
defineRole(Role role)
Creates a role.
|
ChefSolo.Builder |
defineRoles(Iterable<Role> roles)
Creates a set of roles.
|
ChefSolo.Builder |
fileCachePath(String fileCachePath)
Directory where Chef Solo will store files.
|
ChefSolo.Builder |
group(String group)
The goup to set privilege to.
|
ChefSolo.Builder |
interval(Integer interval)
Run chef-client periodically, in seconds.
|
ChefSolo.Builder |
jsonAttributes(String jsonAttributes)
JSON attributes to customize cookbook values.
|
ChefSolo.Builder |
logFile(String logFile)
Set the log file location, by default STDOUT.
|
ChefSolo.Builder |
logLevel(String logLevel)
Set he Log level (debug, info, warn, error, fatal).
|
ChefSolo.Builder |
nodeName(String nodeName)
Set the name for the node.
|
ChefSolo.Builder |
rolePath(String rolePath)
Directory where Chef Solo will store roles.
|
ChefSolo.Builder |
runlist(RunList runlist)
The run list to be executed in the Chef Solo run.
|
ChefSolo.Builder |
splay(Integer splay)
The splay time for running at intervals, in seconds.
|
ChefSolo.Builder |
user(String user)
The user to set privilege to.
|
public ChefSolo.Builder fileCachePath(String fileCachePath)
public ChefSolo.Builder rolePath(String rolePath)
public ChefSolo.Builder dataBagPath(String dataBagPath)
public ChefSolo.Builder cookbookPath(String cookbookPath)
public ChefSolo.Builder cookbookPaths(Iterable<String> cookbookPaths)
public ChefSolo.Builder cookbooksArchiveLocation(String cookbooksArchiveLocation)
fileCachePath
directory.public ChefSolo.Builder jsonAttributes(String jsonAttributes)
public ChefSolo.Builder group(String group)
public ChefSolo.Builder interval(Integer interval)
public ChefSolo.Builder logLevel(String logLevel)
public ChefSolo.Builder logFile(String logFile)
public ChefSolo.Builder nodeName(String nodeName)
public ChefSolo.Builder splay(Integer splay)
public ChefSolo.Builder user(String user)
public ChefSolo.Builder defineRole(Role role)
public ChefSolo.Builder defineRoles(Iterable<Role> roles)
public ChefSolo.Builder defineDataBag(DataBag dataBag)
public ChefSolo.Builder defineDataBags(Iterable<DataBag> databags)
public ChefSolo.Builder runlist(RunList runlist)
public ChefSolo.Builder chefVersion(String chefVersion)
public ChefSolo build()
Copyright © 2009-2013 jclouds. All Rights Reserved.