org.jclouds.karaf.chef.commands
Class ChefRunscriptBase

java.lang.Object
  extended by org.apache.karaf.shell.console.AbstractAction
      extended by org.jclouds.karaf.commands.compute.ComputeCommandBase
          extended by org.jclouds.karaf.commands.compute.ComputeCommandWithOptions
              extended by org.jclouds.karaf.commands.compute.RunScriptBase
                  extended by org.jclouds.karaf.chef.commands.ChefRunscriptBase
All Implemented Interfaces:
org.apache.felix.gogo.commands.Action
Direct Known Subclasses:
ChefGroupBootStrap, ChefNodeBootstrap

public abstract class ChefRunscriptBase
extends RunScriptBase


Field Summary
protected  String chefEndpoint
           
protected  List<org.jclouds.chef.ChefService> chefServices
           
protected  String clientKeyFile
           
protected  String clientName
           
protected  String validatorKeyFile
           
protected  String validatorName
           
 
Fields inherited from class org.jclouds.karaf.commands.compute.RunScriptBase
password, user
 
Fields inherited from class org.jclouds.karaf.commands.compute.ComputeCommandWithOptions
api, credential, endpoint, identity, name, propertiesFile, provider
 
Fields inherited from class org.jclouds.karaf.commands.compute.ComputeCommandBase
cacheProvider, computeServices, configAdmin, FACTORY_FILTER, NODE_DETAILS_FORMAT, PROVIDERFORMAT, shellTableFactory
 
Fields inherited from class org.apache.karaf.shell.console.AbstractAction
log, session
 
Constructor Summary
ChefRunscriptBase()
           
 
Method Summary
protected  org.jclouds.chef.ChefService getChefService()
           
 List<org.jclouds.chef.ChefService> getChefServices()
           
 boolean runAsRoot()
           
 void setChefServices(List<org.jclouds.chef.ChefService> chefServices)
           
 
Methods inherited from class org.jclouds.karaf.commands.compute.RunScriptBase
doExecute, getComputeFilter, getGroup, getId, getNodeFilter, getScript, getStatement
 
Methods inherited from class org.jclouds.karaf.commands.compute.ComputeCommandWithOptions
getComputeService, getComputeServices
 
Methods inherited from class org.jclouds.karaf.commands.compute.ComputeCommandBase
execute, findOrCreateFactoryConfiguration, getAllLocations, getCacheProvider, getConfigAdmin, getCpuCores, getCpuUnits, getMemory, getOperatingSystemDetails, getPrivateAddresses, getPublicAddresses, getShellTableFactory, printComputeApis, printComputeProviders, printHardwares, printImages, printLocations, printNodeInfo, printNodes, setCacheProvider, setComputeServices, setConfigAdmin, setShellTableFactory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

clientName

protected String clientName

clientKeyFile

protected String clientKeyFile

validatorName

protected String validatorName

validatorKeyFile

protected String validatorKeyFile

chefEndpoint

protected String chefEndpoint

chefServices

protected List<org.jclouds.chef.ChefService> chefServices
Constructor Detail

ChefRunscriptBase

public ChefRunscriptBase()
Method Detail

getChefService

protected org.jclouds.chef.ChefService getChefService()

getChefServices

public List<org.jclouds.chef.ChefService> getChefServices()

setChefServices

public void setChefServices(List<org.jclouds.chef.ChefService> chefServices)

runAsRoot

public boolean runAsRoot()
Specified by:
runAsRoot in class RunScriptBase


Copyright © 2013. All Rights Reserved.