Re: How to Override `imageID` of a Preconfigured Location?

2016-10-20 Thread Mike Zaccardo
Great, the parent `brooklyn.properties` solution works for me. On Thu, Oct 20, 2016 at 8:04 PM Aled Sage wrote: > My email client seems to have messed up the indents! Here it is again > with a comment on each line saying what the indent should be! > > ``` > name: Server

Re: How to Override `imageID` of a Preconfigured Location?

2016-10-20 Thread Aled Sage
My email client seems to have messed up the indents! Here it is again with a comment on each line saying what the indent should be! ``` name: Server (Brooklyn Example) location: aws-ec2-us-east-1: # two spaces indent imageId: us-east-1/ami-6224a40a # four spaces indent services: - type:

Re: How to Override `imageID` of a Preconfigured Location?

2016-10-20 Thread Mike Zaccardo
Thanks guys. My real use case is deploying a template item from the UI, which is the parent of all other entities being deployed. Therefore Aled's suggestion of adding the `provisioning.properties` to `brooklyn.config` of the parent, in this case the template item, should work. I'll report back.

Re: How to Override `imageID` of a Preconfigured Location?

2016-10-20 Thread Aled Sage
Hi Mike, Off the top of my head, I'd expect it to be: ``` name: Server (Brooklyn Example) location: aws-ec2-us-east-1: imageId: us-east-1/ami-6224a40a services: - type: server name: My VM ``` Alternatively (less good), you could rely on inheriting the "provisioning.properties" in the

Re: How to Override `imageID` of a Preconfigured Location?

2016-10-20 Thread Mike Zaccardo
That URL above refers to: location: whatever-location-they-have-configured: brooklyn.config: imageId: ami-12345 The YAML parser complains about this, and if I move `brooklyn.config` to the same indentation as `location` then it does not apply the `imageId` properly. On Thu, Oct 20, 2016

Re: How to Override `imageID` of a Preconfigured Location?

2016-10-20 Thread Andrea Turli
Cant test it now but is this not working? https://cloudsoftcorp.slack.com/archives/D1Z6Z28MU/p147697807243 Il 21/ott/2016 00:31, "Mike Zaccardo" ha scritto: > Hi dev, > > I'd like to override the `imageID` of a location so it applies to all > entities in a

How to Override `imageID` of a Preconfigured Location?

2016-10-20 Thread Mike Zaccardo
Hi dev, I'd like to override the `imageID` of a location so it applies to all entities in a blueprint. Consider this simple blueprint: ``` name: Server (Brooklyn Example) location: aws-ec2-us-east-1 services: - type: server name: My VM provisioning.properties: imageId:

[GitHub] brooklyn-server issue #386: Add AbstractInvokeEffectorPolicy

2016-10-20 Thread aledsage
Github user aledsage commented on the issue: https://github.com/apache/brooklyn-server/pull/386 Looks good. As well as the task-counter config comment, my only other comment is... should we add to the tests for `InvokeEffectorOnSensorChange` and

[GitHub] brooklyn-server pull request #386: Add AbstractInvokeEffectorPolicy

2016-10-20 Thread aledsage
Github user aledsage commented on a diff in the pull request: https://github.com/apache/brooklyn-server/pull/386#discussion_r84328465 --- Diff: core/src/main/java/org/apache/brooklyn/policy/AbstractInvokeEffectorPolicy.java --- @@ -0,0 +1,120 @@ +/* + * Licensed to the

[GitHub] brooklyn-server issue #388: Add a stop latch to SoftwareProcess.

2016-10-20 Thread aledsage
Github user aledsage commented on the issue: https://github.com/apache/brooklyn-server/pull/388 @geomacy Looks good to me. Feel free to completely ignore my trivial comment - it's not worth the effort of changing it here ;-) What is the situation with @neykov's comment "on

[GitHub] brooklyn-server pull request #388: Add a stop latch to SoftwareProcess.

2016-10-20 Thread aledsage
Github user aledsage commented on a diff in the pull request: https://github.com/apache/brooklyn-server/pull/388#discussion_r84326971 --- Diff: software/base/src/test/java/org/apache/brooklyn/entity/software/base/SoftwareProcessEntityLatchTest.java --- @@ -116,14 +118,36 @@

[GitHub] brooklyn-server pull request #389: Break version range dependency on jackson...

2016-10-20 Thread asfgit
Github user asfgit closed the pull request at: https://github.com/apache/brooklyn-server/pull/389 --- 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

[GitHub] brooklyn-server issue #389: Break version range dependency on jackson-databi...

2016-10-20 Thread aledsage
Github user aledsage commented on the issue: https://github.com/apache/brooklyn-server/pull/389 Good spot, LGTM. It's taught me a new thing about versions in maven pom dependencies! http://stackoverflow.com/a/1172371/1393883 Merging now. --- If your project is set up

[GitHub] brooklyn-server pull request #387: Convert jclouds yaml tests to unit tests

2016-10-20 Thread aledsage
Github user aledsage commented on a diff in the pull request: https://github.com/apache/brooklyn-server/pull/387#discussion_r84324445 --- Diff: camp/camp-brooklyn/src/test/java/org/apache/brooklyn/camp/brooklyn/AbstractJcloudsStubYamlTest.java --- @@ -0,0 +1,179 @@ +/* +

[jira] [Updated] (BROOKLYN-374) The debian package should generate a private key

2016-10-20 Thread Justin Thompson (JIRA)
[ https://issues.apache.org/jira/browse/BROOKLYN-374?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Justin Thompson updated BROOKLYN-374: - Description: When the Debian + RPM + Vagrant package installs Brooklyn, it should

[jira] [Updated] (BROOKLYN-374) The debian package should generate a private key

2016-10-20 Thread Justin Thompson (JIRA)
[ https://issues.apache.org/jira/browse/BROOKLYN-374?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Justin Thompson updated BROOKLYN-374: - Description: When the Debian + RPM + Vagrant package installs Brooklyn, it should

[jira] [Updated] (BROOKLYN-374) The debian package should generate a private key

2016-10-20 Thread Justin Thompson (JIRA)
[ https://issues.apache.org/jira/browse/BROOKLYN-374?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Justin Thompson updated BROOKLYN-374: - Description: When the Debian + RPM + Vagrant package installs Brooklyn, it should

[jira] [Created] (BROOKLYN-374) The debian package should generate a private key

2016-10-20 Thread Justin Thompson (JIRA)
Justin Thompson created BROOKLYN-374: Summary: The debian package should generate a private key Key: BROOKLYN-374 URL: https://issues.apache.org/jira/browse/BROOKLYN-374 Project: Brooklyn

[GitHub] brooklyn-server pull request #391: Enable BasicExecutionManager logging for ...

2016-10-20 Thread aledsage
Github user aledsage commented on a diff in the pull request: https://github.com/apache/brooklyn-server/pull/391#discussion_r84303050 --- Diff: core/src/main/java/org/apache/brooklyn/util/core/task/BasicExecutionManager.java --- @@ -536,7 +536,11 @@ public T call() {

[jira] [Created] (BROOKLYN-371) Entity stuck in starting state when restart failed running post-launch-command

2016-10-20 Thread Sam Corbett (JIRA)
Sam Corbett created BROOKLYN-371: Summary: Entity stuck in starting state when restart failed running post-launch-command Key: BROOKLYN-371 URL: https://issues.apache.org/jira/browse/BROOKLYN-371

[jira] [Commented] (BROOKLYN-356) The sensor Transformer enricher fails to resolve its targetValue indeterministically.

2016-10-20 Thread ASF GitHub Bot (JIRA)
[ https://issues.apache.org/jira/browse/BROOKLYN-356?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15591365#comment-15591365 ] ASF GitHub Bot commented on BROOKLYN-356: - GitHub user aledsage opened a pull request:

[GitHub] brooklyn-server pull request #390: BROOKLYN-356: fix race in transformer by ...

2016-10-20 Thread aledsage
GitHub user aledsage opened a pull request: https://github.com/apache/brooklyn-server/pull/390 BROOKLYN-356: fix race in transformer by adding getImmediately You can merge this pull request into a Git repository by running: $ git pull

[jira] [Created] (BROOKLYN-370) DynamicGroup is "STOPPED" when its members are starting

2016-10-20 Thread Sam Corbett (JIRA)
Sam Corbett created BROOKLYN-370: Summary: DynamicGroup is "STOPPED" when its members are starting Key: BROOKLYN-370 URL: https://issues.apache.org/jira/browse/BROOKLYN-370 Project: Brooklyn