org.apache.whirr.service.puppet
Class PuppetInstallClusterActionHandler
java.lang.Object
org.apache.whirr.service.ClusterActionHandlerSupport
org.apache.whirr.service.puppet.PuppetInstallClusterActionHandler
- All Implemented Interfaces:
- ClusterActionHandler
- Direct Known Subclasses:
- PuppetClusterActionHandler
public class PuppetInstallClusterActionHandler
- extends ClusterActionHandlerSupport
Installs puppet (and ruby).
After this service is configured other services can use it to setup/start other services.
To test manually, run whirr launch-cluster with 1 puppet node, then ssh and confirm puppet exists
Methods inherited from class org.apache.whirr.service.ClusterActionHandlerSupport |
addRunUrl, addStatement, afterAction, afterBootstrap, afterCleanup, afterConfigure, afterDestroy, afterOtherAction, afterStart, afterStop, beforeAction, beforeCleanup, beforeConfigure, beforeDestroy, beforeOtherAction, beforeStart, beforeStop, equals, getCleanupFunction, getConfiguration, getConfiguration, getConfigureFunction, getFunctionName, getInstallFunction, getStartFunction, getStopFunction, hashCode, prepareRemoteFileUrl, toString |
PUPPET_INSTALL_ROLE
public static final String PUPPET_INSTALL_ROLE
- See Also:
- Constant Field Values
PuppetInstallClusterActionHandler
public PuppetInstallClusterActionHandler()
getRole
public String getRole()
beforeBootstrap
protected void beforeBootstrap(ClusterActionEvent event)
throws IOException,
InterruptedException
- Overrides:
beforeBootstrap
in class ClusterActionHandlerSupport
- Throws:
IOException
InterruptedException
Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.