Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Daniel Baur
cloudify3
Commits
b803619f
Commit
b803619f
authored
Jun 18, 2015
by
Daniel Baur
Browse files
last test...
parent
25229815
Changes
2
Hide whitespace changes
Inline
Side-by-side
ghost-openstack/ghost-openstack-blueprint.yaml
View file @
b803619f
...
...
@@ -274,7 +274,7 @@ policy_types:
groups
:
nodejs
:
# adding the
some_vm
node template that was previously configured
# adding the
nodejs_host
node template that was previously configured
members
:
[
nodejs_host
]
policies
:
cpu_threshold
:
...
...
@@ -299,7 +299,6 @@ groups:
parameters
:
# configuring this trigger to execute the scale workflow
workflow
:
scale
# The heal workflow will get
# its parameters from the event that triggered
# its execution
...
...
ghost-openstack/policies/threshold.clj
View file @
b803619f
(
where
(
service
#
"{{service}}"
)
#
(
info
"Right name:"
%
)
(
where
(
>=
metric
{{
threshold
}})
#
(
info
"Passed the threshold:"
%
)
process-policy-triggers
))
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment