Last active
August 29, 2015 14:19
-
-
Save makyo/d74cce8ed85eba05b4cb to your computer and use it in GitHub Desktop.
Imperative Bundle Format notes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add the charm cs:precise/haproxy-28 and call it "addCharm-0" | |
add the service "haproxy" using charm cs:precise/haproxy-28 requiring addCharm-0 and call it "addService-1" | |
add the charm cs:precise/postgresql-62 and call it "addCharm-2" | |
add the service "postgresql" using charm cs:precise/postgresql-62 requiring addCharm-2 and call it "addService-3" | |
add the charm cs:precise/rails-1 and call it "addCharm-4" | |
add the service "sample-app" using charm cs:precise/rails-1 and config {"repo": "https://github.com/pavelpachkovskij/sample-rails"} requiring addCharm-4 and call it "addService-5" | |
add the charm cs:precise/logstash-indexer-2 and call it "addCharm-6" | |
add the service "logstash-indexer" using charm cs:precise/logstash-indexer-2 requiring addCharm-6 and call it "addService-7" | |
add the charm cs:precise/nrpe-1 and call it "addCharm-8" | |
add the service "nrpe" using charm cs:precise/nrpe-1 requiring addCharm-8 and call it "addService-9" | |
add the charm cs:precise/kibana-3 and call it "addCharm-10" | |
add the service "kibana" using charm cs:precise/kibana-3 requiring addCharm-10 and call it "addService-11" | |
add the charm cs:precise/logstash-agent-0 and call it "addCharm-12" | |
add the service "logstash-agent" using charm cs:precise/logstash-agent-0 and config {"CustomLogFile": "['/var/www/rack/current/log/*.log']", "CustomLogType": "rack"} requiring addCharm-12 and call it "addService-13" | |
add the charm cs:precise/nagios-5 and call it "addCharm-14" | |
add the service "nagios" using charm cs:precise/nagios-5 requiring addCharm-14 and call it "addService-15" | |
add the charm cs:precise/memcached-12 and call it "addCharm-16" | |
add the service "memcached" using charm cs:precise/memcached-12 requiring addCharm-16 and call it "addService-17" | |
add the charm cs:precise/redis-master-6 and call it "addCharm-18" | |
add the service "redis-master" using charm cs:precise/redis-master-6 requiring addCharm-18 and call it "addService-19" | |
add a machine ["", "mem=4G arch=amd64 cpu-cores=2", {}] and call it "addMachines-20" | |
add a relation between $addService-3:db and $addService-5:postgresql requiring addService-3, addService-5 and call it "addRelation-21" | |
add a relation between $addService-1:reverseproxy and $addService-5:proxy requiring addService-1, addService-5 and call it "addRelation-22" | |
add a relation between $addService-11:rest and $addService-7:rest requiring addService-11, addService-7 and call it "addRelation-23" | |
add a relation between $addService-13:input and $addService-7:input requiring addService-13, addService-7 and call it "addRelation-24" | |
add a relation between $addService-13:juju-info and $addService-5:juju-info requiring addService-13, addService-5 and call it "addRelation-25" | |
add a relation between $addService-5:nagios and $addService-15:monitors requiring addService-5, addService-15 and call it "addRelation-26" | |
add a relation between $addService-9:monitors and $addService-15:monitors requiring addService-9, addService-15 and call it "addRelation-27" | |
add a relation between $addService-5:nrpe and $addService-9:local-monitors requiring addService-5, addService-9 and call it "addRelation-28" | |
add a relation between $addService-17:cache and $addService-5:memcached requiring addService-17, addService-5 and call it "addRelation-29" | |
add a relation between $addService-19:redis-master and $addService-5:redis requiring addService-19, addService-5 and call it "addRelation-30" | |
add a unit ["$addService-1", 1, null] requiring addService-1 and call it "addUnit-31" | |
add a unit ["$addService-3", 1, null] requiring addService-3 and call it "addUnit-32" | |
add a unit ["$addService-5", 1, null] requiring addService-5 and call it "addUnit-33" | |
add a machine ["", {}, {"containerType": "lxc", "parentId": "$addMachines-20"}] requiring addMachines-20 and call it "addMachines-39" | |
add a unit ["$addService-7", 1, "$addMachines-39"] requiring addService-7, addMachines-39 and call it "addUnit-34" | |
add a machine ["", {}, {"containerType": "lxc", "parentId": "$addMachines-20"}] requiring addMachines-20 and call it "addMachines-40" | |
add a unit ["$addService-11", 1, "$addMachines-40"] requiring addService-11, addMachines-40 and call it "addUnit-35" | |
add a unit ["$addService-15", 1, null] requiring addService-15 and call it "addUnit-36" | |
add a unit ["$addService-17", 1, null] requiring addService-17 and call it "addUnit-37" | |
add a unit ["$addService-19", 1, null] requiring addService-19 and call it "addUnit-38" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- addCharm: | |
args: ['cs:precise/haproxy-28'] | |
id: addCharm-0 | |
- deploy: | |
args: | |
- cs:precise/haproxy-28 | |
- haproxy | |
- {} | |
id: addService-1 | |
requires: [$addCharm-0] | |
- addCharm: | |
args: ['cs:precise/postgresql-62'] | |
id: addCharm-2 | |
- deploy: | |
args: | |
- cs:precise/postgresql-62 | |
- postgresql | |
- {} | |
id: addService-3 | |
requires: [$addCharm-2] | |
- addCharm: | |
args: ['cs:precise/rails-1'] | |
id: addCharm-4 | |
- deploy: | |
args: | |
- cs:precise/rails-1 | |
- sample-app | |
- {repo: 'https://github.com/pavelpachkovskij/sample-rails'} | |
id: addService-5 | |
requires: [$addCharm-4] | |
- addCharm: | |
args: ['cs:precise/logstash-indexer-2'] | |
id: addCharm-6 | |
- deploy: | |
args: | |
- cs:precise/logstash-indexer-2 | |
- logstash-indexer | |
- {} | |
id: addService-7 | |
requires: [$addCharm-6] | |
- addCharm: | |
args: ['cs:precise/nrpe-1'] | |
id: addCharm-8 | |
- deploy: | |
args: | |
- cs:precise/nrpe-1 | |
- nrpe | |
- {} | |
id: addService-9 | |
requires: [$addCharm-8] | |
- addCharm: | |
args: ['cs:precise/kibana-3'] | |
id: addCharm-10 | |
- deploy: | |
args: | |
- cs:precise/kibana-3 | |
- kibana | |
- {} | |
id: addService-11 | |
requires: [$addCharm-10] | |
- addCharm: | |
args: ['cs:precise/logstash-agent-0'] | |
id: addCharm-12 | |
- deploy: | |
args: | |
- cs:precise/logstash-agent-0 | |
- logstash-agent | |
- {CustomLogFile: '[''/var/www/rack/current/log/*.log'']', CustomLogType: rack} | |
id: addService-13 | |
requires: [$addCharm-12] | |
- addCharm: | |
args: ['cs:precise/nagios-5'] | |
id: addCharm-14 | |
- deploy: | |
args: | |
- cs:precise/nagios-5 | |
- nagios | |
- {} | |
id: addService-15 | |
requires: [$addCharm-14] | |
- addCharm: | |
args: ['cs:precise/memcached-12'] | |
id: addCharm-16 | |
- deploy: | |
args: | |
- cs:precise/memcached-12 | |
- memcached | |
- {} | |
id: addService-17 | |
requires: [$addCharm-16] | |
- addCharm: | |
args: ['cs:precise/redis-master-6'] | |
id: addCharm-18 | |
- deploy: | |
args: | |
- cs:precise/redis-master-6 | |
- redis-master | |
- {} | |
id: addService-19 | |
requires: [$addCharm-18] | |
- addMachines: | |
args: | |
- '' | |
- mem=4G arch=amd64 cpu-cores=2 | |
- {} | |
id: addMachines-20 | |
- addRelation: | |
args: | |
- - $addService-3 | |
- {name: db} | |
- - $addService-5 | |
- {name: postgresql} | |
id: addRelation-21 | |
requires: [$addService-3, $addService-5] | |
- addRelation: | |
args: | |
- - $addService-1 | |
- {name: reverseproxy} | |
- - $addService-5 | |
- {name: proxy} | |
id: addRelation-22 | |
requires: [$addService-1, $addService-5] | |
- addRelation: | |
args: | |
- - $addService-11 | |
- {name: rest} | |
- - $addService-7 | |
- {name: rest} | |
id: addRelation-23 | |
requires: [$addService-11, $addService-7] | |
- addRelation: | |
args: | |
- - $addService-13 | |
- {name: input} | |
- - $addService-7 | |
- {name: input} | |
id: addRelation-24 | |
requires: [$addService-13, $addService-7] | |
- addRelation: | |
args: | |
- - $addService-13 | |
- {name: juju-info} | |
- - $addService-5 | |
- {name: juju-info} | |
id: addRelation-25 | |
requires: [$addService-13, $addService-5] | |
- addRelation: | |
args: | |
- - $addService-5 | |
- {name: nagios} | |
- - $addService-15 | |
- {name: monitors} | |
id: addRelation-26 | |
requires: [$addService-5, $addService-15] | |
- addRelation: | |
args: | |
- - $addService-9 | |
- {name: monitors} | |
- - $addService-15 | |
- {name: monitors} | |
id: addRelation-27 | |
requires: [$addService-9, $addService-15] | |
- addRelation: | |
args: | |
- - $addService-5 | |
- {name: nrpe} | |
- - $addService-9 | |
- {name: local-monitors} | |
id: addRelation-28 | |
requires: [$addService-5, $addService-9] | |
- addRelation: | |
args: | |
- - $addService-17 | |
- {name: cache} | |
- - $addService-5 | |
- {name: memcached} | |
id: addRelation-29 | |
requires: [$addService-17, $addService-5] | |
- addRelation: | |
args: | |
- - $addService-19 | |
- {name: redis-master} | |
- - $addService-5 | |
- {name: redis} | |
id: addRelation-30 | |
requires: [$addService-19, $addService-5] | |
- addUnit: | |
args: [$addService-1, 1, null] | |
id: addUnit-31 | |
requires: [$addService-1] | |
- addUnit: | |
args: [$addService-3, 1, null] | |
id: addUnit-32 | |
requires: [$addService-3] | |
- addUnit: | |
args: [$addService-5, 1, null] | |
id: addUnit-33 | |
requires: [$addService-5] | |
- addMachines: | |
args: | |
- '' | |
- {} | |
- {containerType: lxc, parentId: $addMachines-20} | |
id: addMachines-39 | |
requires: [$addMachines-20] | |
- addUnit: | |
args: [$addService-7, 1, $addMachines-39] | |
id: addUnit-34 | |
requires: [$addService-7, $addMachines-39] | |
- addMachines: | |
args: | |
- '' | |
- {} | |
- {containerType: lxc, parentId: $addMachines-20} | |
id: addMachines-40 | |
requires: [$addMachines-20] | |
- addUnit: | |
args: [$addService-11, 1, $addMachines-40] | |
id: addUnit-35 | |
requires: [$addService-11, $addMachines-40] | |
- addUnit: | |
args: [$addService-15, 1, null] | |
id: addUnit-36 | |
requires: [$addService-15] | |
- addUnit: | |
args: [$addService-17, 1, null] | |
id: addUnit-37 | |
requires: [$addService-17] | |
- addUnit: | |
args: [$addService-19, 1, null] | |
id: addUnit-38 | |
requires: [$addService-19] | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment