org.apache.whirr.service.puppet
Class PuppetClusterActionHandler
java.lang.Object
org.apache.whirr.service.ClusterActionHandler
org.apache.whirr.service.ClusterActionHandlerSupport
org.apache.whirr.service.puppet.PuppetInstallClusterActionHandler
org.apache.whirr.service.puppet.PuppetClusterActionHandler
public class PuppetClusterActionHandler
- extends PuppetInstallClusterActionHandler
Installs puppet. After this service is configured other services can use puppet to setup/start
other services.
Methods inherited from class org.apache.whirr.service.ClusterActionHandlerSupport |
addRunUrl, addStatement, afterAction, afterBootstrap, afterConfigure, afterDestroy, afterOtherAction, beforeAction, beforeDestroy, beforeOtherAction, getCleanupFunction, getConfiguration, getConfiguration, getConfigureFunction, getFunctionName, getInstallFunction, getStartFunction, getStopFunction, prepareRemoteFileUrl |
PuppetClusterActionHandler
public PuppetClusterActionHandler(String role)
PuppetClusterActionHandler
public PuppetClusterActionHandler(String role,
com.google.common.base.Function<ClusterActionEvent,StatementToInstallModule> getStatementToInstallModuleForAction)
- Parameters:
getStatementToInstallModuleForAction
- allows you to override to facilitate testing
getRole
public String getRole()
- Overrides:
getRole
in class PuppetInstallClusterActionHandler
beforeBootstrap
protected void beforeBootstrap(ClusterActionEvent event)
throws IOException,
InterruptedException
- Overrides:
beforeBootstrap
in class PuppetInstallClusterActionHandler
- Throws:
IOException
InterruptedException
beforeConfigure
protected void beforeConfigure(ClusterActionEvent event)
throws IOException,
InterruptedException
- Overrides:
beforeConfigure
in class ClusterActionHandlerSupport
- Throws:
IOException
InterruptedException
Copyright © 2010-2011 The Apache Software Foundation. All Rights Reserved.