@Test( expected = PluginException.class ) public void testPuppetPlugin_withInit_exception_start() throws Exception { Assume.assumeTrue( isLinuxSystem()); copyResources( "/with-init-invalid" ); this.plugin.start( this.inst ); }
@Override public void start( Instance instance ) throws PluginException { this.logger.fine( this.agentId + " is starting instance " + instance.getName()); File instanceDirectory = InstanceHelpers.findInstanceDirectoryOnAgent( instance ); try { callPuppetScript( instance, "start", PuppetState.RUNNING, null, false, instanceDirectory ); } catch( Exception e ) { throw new PluginException( e ); } }
PluginPuppet implements PluginInterface { @Override public void start( Instance instance ) throws PluginException { this.logger.fine( this.agentId + " is starting instance " + instance.getName()); File instanceDirectory = InstanceHelpers.findInstanceDirectoryOnAgent( instance ); try { callPuppetScript( instance, "start", PuppetState.RUNNING, null, false, instanceDirectory ); } catch( Exception e ) { throw new PluginException( e ); } } }
PluginPuppet implements PluginInterface { @Override public void start( Instance instance ) throws PluginException { this.logger.fine( this.agentId + " is starting instance " + instance.getName()); File instanceDirectory = InstanceHelpers.findInstanceDirectoryOnAgent( instance ); try { callPuppetScript( instance, "start", PuppetState.RUNNING, null, false, instanceDirectory ); } catch( Exception e ) { throw new PluginException( e ); } }  }
PluginPuppet implements PluginInterface { @Override public void start( Instance instance ) throws PluginException { this.logger.fine( this.agentId + " is starting instance " + instance.getName()); File instanceDirectory = InstanceHelpers.findInstanceDirectoryOnAgent( instance ); try { callPuppetScript( instance, "start", PuppetState.RUNNING, null, false, instanceDirectory ); } catch( Exception e ) { throw new PluginException( e ); } }  @Override String getPluginName(); @Override void setNames( String applicationName, String scopedInstancePath ); @Override void initialize( Instance instance ); @Override void deploy( Instance instance ); @Override void start( Instance instance ); @Override void update(Instance instance, Import importChanged, InstanceStatus statusChanged); @Override void stop( Instance instance ); @Override void undeploy( Instance instance ); }
PluginPuppet implements PluginInterface { @Override public void start( Instance instance ) throws PluginException { this.logger.fine( this.agentId + " is starting instance " + instance.getName()); File instanceDirectory = InstanceHelpers.findInstanceDirectoryOnAgent( instance ); try { callPuppetScript( instance, "start", PuppetState.RUNNING, null, false, instanceDirectory ); } catch( Exception e ) { throw new PluginException( e ); } }  @Override String getPluginName(); @Override void setNames( String applicationName, String scopedInstancePath ); @Override void initialize( Instance instance ); @Override void deploy( Instance instance ); @Override void start( Instance instance ); @Override void update(Instance instance, Import importChanged, InstanceStatus statusChanged); @Override void stop( Instance instance ); @Override void undeploy( Instance instance ); static final String PLUGIN_NAME; }