diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2017-11-07 16:07:53 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2017-11-07 16:07:53 -0200 |
commit | 2d988f6b6841460aa34657d1cde64c80954822d5 (patch) | |
tree | bf511b1baf5d3329148d259d9146fb41f3b3086d | |
parent | f2e895ad20c7b8cd729c310df340187509387bbb (diff) | |
download | hydra-2d988f6b6841460aa34657d1cde64c80954822d5.tar.gz hydra-2d988f6b6841460aa34657d1cde64c80954822d5.tar.bz2 |
Comment deploy banner and adds eyaml examples
-rwxr-xr-x | share/hydra/deploy | 14 | ||||
-rwxr-xr-x | share/hydra/eyaml | 5 |
2 files changed, 12 insertions, 7 deletions
diff --git a/share/hydra/deploy b/share/hydra/deploy index 687ddaf..4b07512 100755 --- a/share/hydra/deploy +++ b/share/hydra/deploy @@ -34,13 +34,13 @@ if [ -z "$NODES" ]; then fi # Banner -echo '.__ .___ .___ .__ ._.' -echo '| |__ ___.__. __| _/___________ __| _/____ ______ | | ____ ___.__.| |' -echo '| | < | |/ __ |\_ __ \__ \ / __ |/ __ \\____ \| | / _ < | || |' -echo '| Y \___ / /_/ | | | \// __ \_ / /_/ \ ___/| |_> > |_( <_> )___ | \|' -echo '|___| / ____\____ | |__| (____ / \____ |\___ > __/|____/\____// ____| __' -echo ' \/\/ \/ \/ \/ \/|__| \/ \/' -echo '' +#echo '.__ .___ .___ .__ ._.' +#echo '| |__ ___.__. __| _/___________ __| _/____ ______ | | ____ ___.__.| |' +#echo '| | < | |/ __ |\_ __ \__ \ / __ |/ __ \\____ \| | / _ < | || |' +#echo '| Y \___ / /_/ | | | \// __ \_ / /_/ \ ___/| |_> > |_( <_> )___ | \|' +#echo '|___| / ____\____ | |__| (____ / \____ |\___ > __/|____/\____// ____| __' +#echo ' \/\/ \/ \/ \/ \/|__| \/ \/' +#echo '' # Deploy for node in $NODES; do diff --git a/share/hydra/eyaml b/share/hydra/eyaml index c66eaf5..d95f103 100755 --- a/share/hydra/eyaml +++ b/share/hydra/eyaml @@ -34,6 +34,11 @@ hydra_install_package hiera-eyaml # Check for node if [ -z "$NODE" ]; then echo "usage: hydra $HYDRA $BASENAME <node> <opts>" + echo "" + echo "examples:" + echo "" + echo -e "\thydra $HYDRA $BASENAME <node> encrypt -p -l my::hiera::param" + echo -e "\thydra $HYDRA $BASENAME <node> decrypt --stdin" exit 1 fi |