Github user ahgittin commented on a diff in the pull request:

    https://github.com/apache/incubator-brooklyn/pull/651#discussion_r30879334
  
    --- Diff: 
software/base/src/main/java/brooklyn/entity/basic/EmptySoftwareProcessSshDriver.java
 ---
    @@ -43,25 +44,22 @@ public void install() { }
         public void customize() { }
     
         @Override
    -    public void setup() { }
    -
    -    @Override
    -    public void copyInstallResources() { }
    -
    -    @Override
    -    public void copyRuntimeResources() { }
    -
    -    @Override
    -    public void runPreInstallCommand(String command) { }
    -
    -    @Override
    -    public void runPostInstallCommand(String command) { }
    -
    -    @Override
    -    public void runPreLaunchCommand(String command) { }
    +    public void copyInstallResources() { 
    +        Map<String, String> installFiles = 
entity.getConfig(SoftwareProcess.INSTALL_FILES);
    +        Map<String, String> installTemplates = 
entity.getConfig(SoftwareProcess.INSTALL_TEMPLATES);
    +        if ((installFiles!=null && !installFiles.isEmpty()) || 
(installTemplates!=null && !installTemplates.isEmpty())) {
    --- End diff --
    
    prevent `mkdir`, correct.  adding comment.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to