add provider argument to eos shared module

Adds a new argument `provider` to the eos shared module and updates the
eos doc fragment.  This commit includes some additional minor fixes and
code refactors for naming conventions.  The `provider` argument allows the
shared module arguments to be passed as a dict object instead of having
to pass each argument invididually.
This commit is contained in:
Peter Sprygada 2016-01-19 07:26:19 -05:00
parent d07d974ad8
commit e2ff26a5cf
2 changed files with 31 additions and 12 deletions

View file

@ -80,5 +80,12 @@ options:
required: false
default: true
choices: BOOLEANS
provider:
description:
- Convience method that allows all M(eos) arguments to be passed as
a dict object. All constraints (required, choices, etc) must be
met either by individual arguments or values in this dict.
required: false
default: null
"""