@Deprecated public class ChefSoloDriver extends AbstractSoftwareProcessSshDriver implements ChefConfig
ChefConfig.ChefModes| Modifier and Type | Field and Description |
|---|---|
static ConfigKey<TaskFactory<? extends TaskAdaptable<java.lang.Boolean>>> |
IS_RUNNING_TASK
Deprecated.
|
static ConfigKey<TaskFactory<?>> |
STOP_TASK
Deprecated.
|
CHECK_RUNNING, CUSTOMIZING, DEBUG, IGNORE_ENTITY_SSH_FLAGS, INSTALL_INCOMPLETE, INSTALLING, KILLING, LAUNCHING, log, logSsh, NON_STANDARD_LAYOUT, PID_FILENAME, PROCESS_OWNER, RESTARTING, STOPPING, USE_PID_FILE, VALID_FLAGSCHEF_COOKBOOK_PRIMARY_NAME, CHEF_COOKBOOK_URLS, CHEF_LAUNCH_ATTRIBUTES, CHEF_LAUNCH_RUN_LIST, CHEF_MODE, CHEF_NODE_NAME, CHEF_RUN_CONVERGE_TWICE, CHEF_RUN_LIST, KNIFE_CONFIG_FILE, KNIFE_EXECUTABLE, KNIFE_SETUP_COMMANDS, PID_FILE, SERVICE_NAME, WINDOWS_SERVICE_NAME| Constructor and Description |
|---|
ChefSoloDriver(EntityLocal entity,
SshMachineLocation location)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
customize()
Deprecated.
Implementations should fail if the return code is non-zero, by throwing some appropriate exception.
|
void |
install()
Deprecated.
Implementations should fail if the return code is non-zero, by throwing some appropriate exception.
|
boolean |
isRunning()
Deprecated.
Whether the entity components have started.
|
void |
launch()
Deprecated.
Implementations should fail if the return code is non-zero, by throwing some appropriate exception.
|
void |
stop()
Deprecated.
Performs software stop (or queues tasks to do this)
|
checkNoHostnameBug, copyCustomizeResources, copyInstallResources, copyPreInstallResources, copyResource, copyResource, execute, execute, execute, getAddress, getHostname, getLocation, getMachine, getPortsUsed, getSubnetAddress, getSubnetHostname, prepare, runPostCustomizeCommand, runPostInstallCommand, runPostLaunchCommand, runPreCustomizeCommand, runPreInstallCommand, runPreLaunchCommand, setupcopyResource, copyResource, copyResource, copyResource, copyResource, copyResource, copyResource, copyRuntimeResources, copyTemplate, copyTemplate, copyTemplate, getArchiveNameFormat, getEntity, getExpandedInstallDir, getInstallDir, getResource, getResourceAsString, getRunDir, getShellEnvironment, getVersion, kill, postLaunch, preInstall, processTemplate, processTemplate, processTemplate, processTemplate, processTemplateContents, processTemplateContents, rebind, restart, setExpandedInstallDir, startpublic static final ConfigKey<TaskFactory<? extends TaskAdaptable<java.lang.Boolean>>> IS_RUNNING_TASK
public static final ConfigKey<TaskFactory<?>> STOP_TASK
public ChefSoloDriver(EntityLocal entity, SshMachineLocation location)
public void install()
AbstractSoftwareProcessDriverinstall in class AbstractSoftwareProcessDriverpublic void customize()
AbstractSoftwareProcessDrivercustomize in class AbstractSoftwareProcessDriverpublic void launch()
AbstractSoftwareProcessDriverlaunch in class AbstractSoftwareProcessDriverpublic boolean isRunning()
SoftwareProcessDriverisRunning in interface SoftwareProcessDriverpublic void stop()
SoftwareProcessDriverstop in interface SoftwareProcessDriverstop in class AbstractSoftwareProcessDriverStartable.stop()