@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_FLAGS
CHEF_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, setup
copyResource, 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, start
public 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()
AbstractSoftwareProcessDriver
install
in class AbstractSoftwareProcessDriver
public void customize()
AbstractSoftwareProcessDriver
customize
in class AbstractSoftwareProcessDriver
public void launch()
AbstractSoftwareProcessDriver
launch
in class AbstractSoftwareProcessDriver
public boolean isRunning()
SoftwareProcessDriver
isRunning
in interface SoftwareProcessDriver
public void stop()
SoftwareProcessDriver
stop
in interface SoftwareProcessDriver
stop
in class AbstractSoftwareProcessDriver
Startable.stop()