Fix misspellings
Change-Id: I7f250d89efb204dc3e232e1e10c0382deb04eec8
This commit is contained in:
parent
d28ab1f7f3
commit
08d463d220
@ -116,7 +116,7 @@ Step 7: Think of the deployment composition
|
|||||||
+++++++++++++++++++++++++++++++++++++++++++
|
+++++++++++++++++++++++++++++++++++++++++++
|
||||||
|
|
||||||
The deployment composition is which resources should be used and in which order
|
The deployment composition is which resources should be used and in which order
|
||||||
it should be executed to achive the expected result, which is a successfull
|
it should be executed to achieve the expected result, which is a successful
|
||||||
:ref:`deploy-plan-term`. For the given example, the composition may be as
|
:ref:`deploy-plan-term`. For the given example, the composition may be as
|
||||||
following:
|
following:
|
||||||
|
|
||||||
|
@ -37,7 +37,7 @@ Subscriptions
|
|||||||
Each public method of worker is subscribable, in current version
|
Each public method of worker is subscribable, in current version
|
||||||
4 events are available to subscribers.
|
4 events are available to subscribers.
|
||||||
|
|
||||||
on_sucess
|
on_success
|
||||||
Called in the case of successful execution, provides context, result
|
Called in the case of successful execution, provides context, result
|
||||||
and event arguments
|
and event arguments
|
||||||
on_error
|
on_error
|
||||||
|
@ -113,7 +113,8 @@ has (connections etc), but you can set a function that will return final input
|
|||||||
value.
|
value.
|
||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
Remeber, that you need to connect inputs to have it accessible in
|
|
||||||
|
Remember, that you need to connect inputs to have it accessible in
|
||||||
Computable Inputs logic.
|
Computable Inputs logic.
|
||||||
|
|
||||||
Currently you can write the functions using:
|
Currently you can write the functions using:
|
||||||
|
@ -200,7 +200,7 @@ def remove(name, tag, f):
|
|||||||
if f:
|
if f:
|
||||||
msg = 'Resource %s removed from database' % res.name
|
msg = 'Resource %s removed from database' % res.name
|
||||||
else:
|
else:
|
||||||
msg = 'Resource %s will be removed after commiting changes.' % res.name # NOQA
|
msg = 'Resource %s will be removed after committing changes.' % res.name # NOQA
|
||||||
click.echo(msg)
|
click.echo(msg)
|
||||||
|
|
||||||
|
|
||||||
|
@ -59,7 +59,7 @@ class Puppet(TempFileHandler):
|
|||||||
)
|
)
|
||||||
rc, out, err = res.return_code, res.stdout, res.stderr
|
rc, out, err = res.return_code, res.stdout, res.stderr
|
||||||
log.debug('CMD %r RC %s OUT %s ERR %s', cmd_args, rc, out, err)
|
log.debug('CMD %r RC %s OUT %s ERR %s', cmd_args, rc, out, err)
|
||||||
# 0 - no changes, 2 - successfull changes
|
# 0 - no changes, 2 - successful changes
|
||||||
if rc not in [0, 2]:
|
if rc not in [0, 2]:
|
||||||
raise errors.SolarError(
|
raise errors.SolarError(
|
||||||
'Puppet for {} failed with RC {}'.format(
|
'Puppet for {} failed with RC {}'.format(
|
||||||
|
@ -182,7 +182,7 @@ class RiakEnsembleLock(_Lock):
|
|||||||
lk.save(force=True)
|
lk.save(force=True)
|
||||||
return lk
|
return lk
|
||||||
except RiakError as exc:
|
except RiakError as exc:
|
||||||
# TODO object shouldnt be cached before successfull save
|
# TODO object shouldnt be cached before successful save
|
||||||
del DBLock._c.obj_cache[lk.key]
|
del DBLock._c.obj_cache[lk.key]
|
||||||
# check documentation for error message
|
# check documentation for error message
|
||||||
# http://docs.basho.com/riak/latest/dev/advanced/strong-consistency/#Error-Messages
|
# http://docs.basho.com/riak/latest/dev/advanced/strong-consistency/#Error-Messages
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
Examples testing
|
Examples testing
|
||||||
================
|
================
|
||||||
|
|
||||||
To automaticly test examples install first fuel-devops framework. Installation process is described here https://github.com/openstack/fuel-devops. After installation run migrations scripts:
|
To automatically test examples install first fuel-devops framework. Installation process is described here https://github.com/openstack/fuel-devops. After installation run migrations scripts:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
export DJANGO_SETTINGS_MODULE=devops.settings
|
export DJANGO_SETTINGS_MODULE=devops.settings
|
||||||
|
Loading…
x
Reference in New Issue
Block a user