org.apache.whirr.service.chef
Class ChefClusterActionHandler
java.lang.Object
org.apache.whirr.service.ClusterActionHandlerSupport
org.apache.whirr.service.chef.ChefClusterActionHandler
- All Implemented Interfaces:
- ClusterActionHandler
public class ChefClusterActionHandler
- extends ClusterActionHandlerSupport
Installs chef-solo provisioned services, chef itself and its dependencies.
Methods inherited from class org.apache.whirr.service.ClusterActionHandlerSupport |
addRunUrl, addStatement, afterAction, afterBootstrap, afterCleanup, afterDestroy, afterOtherAction, afterStart, afterStop, beforeAction, beforeCleanup, beforeDestroy, beforeOtherAction, beforeStart, beforeStop, equals, getCleanupFunction, getConfiguration, getConfiguration, getConfigureFunction, getFunctionName, getInstallFunction, getStartFunction, getStopFunction, hashCode, prepareRemoteFileUrl, toString |
CHEF_SLEEP_AFTER_RECIPE
public static final String CHEF_SLEEP_AFTER_RECIPE
- See Also:
- Constant Field Values
CHEF_SLEEP_AFTER_RECIPE_DEFAULT
public static final long CHEF_SLEEP_AFTER_RECIPE_DEFAULT
- See Also:
- Constant Field Values
ChefClusterActionHandler
public ChefClusterActionHandler(String role)
getRole
public String getRole()
beforeBootstrap
protected void beforeBootstrap(ClusterActionEvent event)
throws IOException,
InterruptedException
- Overrides:
beforeBootstrap
in class ClusterActionHandlerSupport
- Throws:
IOException
InterruptedException
beforeConfigure
protected void beforeConfigure(ClusterActionEvent event)
throws IOException,
InterruptedException
- Overrides:
beforeConfigure
in class ClusterActionHandlerSupport
- Throws:
IOException
InterruptedException
afterConfigure
protected void afterConfigure(ClusterActionEvent event)
throws IOException,
InterruptedException
- Overrides:
afterConfigure
in class ClusterActionHandlerSupport
- Throws:
IOException
InterruptedException
Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.