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

    https://github.com/apache/incubator-brooklyn/pull/1128#discussion_r49732742
  
    --- Diff: 
brooklyn-server/software/base/src/main/java/org/apache/brooklyn/entity/software/base/lifecycle/MachineLifecycleEffectorTasks.java
 ---
    @@ -203,6 +213,12 @@ public Void call(ConfigBag parameters) {
             public Void call(ConfigBag parameters) {
                 Collection<? extends Location> locations = null;
     
    +            Boolean isSkipInstallation = 
parameters.get(StartSoftwareParameters.SKIP_INSTALLATION);
    +            if (isSkipInstallation != null && isSkipInstallation) {
    +                
entity().config().set(BrooklynConfigKeys.SKIP_ENTITY_INSTALLATION, 
isSkipInstallation);
    +                
entity().config().set(BrooklynConfigKeys.SKIP_ENTITY_CUSTOMIZATION, 
isSkipInstallation);
    --- End diff --
    
    It's dangerous to set the parameter as config value as it would be 
(unexpectedly) used for future calls as well. I'd suggest using curl to change 
the config value if needed and then do a regular `start`.


---
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