forked from ungleich-public/cdist
renamed --database to --name
This commit is contained in:
parent
c67c0cf12d
commit
cd8e286988
3 changed files with 5 additions and 5 deletions
|
@ -20,8 +20,8 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
# if --database was specified
|
# if --database was specified
|
||||||
if [ -f "$__object/parameter/database" ]; then
|
if [ -f "$__object/parameter/name" ]; then
|
||||||
database="$(cat "$__object/parameter/database")"
|
database="$(cat "$__object/parameter/name")"
|
||||||
else # otherwise use the object id as database name
|
else # otherwise use the object id as database name
|
||||||
database="$__object_id"
|
database="$__object_id"
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -19,7 +19,7 @@ None.
|
||||||
|
|
||||||
OPTIONAL PARAMETERS
|
OPTIONAL PARAMETERS
|
||||||
-------------------
|
-------------------
|
||||||
database::
|
name::
|
||||||
The name of the database to install
|
The name of the database to install
|
||||||
defaults to the object id
|
defaults to the object id
|
||||||
|
|
||||||
|
@ -34,7 +34,7 @@ EXAMPLES
|
||||||
--------
|
--------
|
||||||
|
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
__mysql_database "cdist" --database "cdist" --user "myuser" --password "mypwd"
|
__mysql_database "cdist" --name "cdist" --user "myuser" --password "mypwd"
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
database
|
name
|
||||||
user
|
user
|
||||||
password
|
password
|
||||||
|
|
Loading…
Reference in a new issue