I've seen that in configuration scripts you use such constructions:
DEPLOYMENT=hostname | cut -d "-" -f 1
CLUSTER=hostname | cut -d "-" -f 2
You should be warned that someone can use my-deployment as an
installation name and cut will return wrong part of the string. Please
consider creating an attribute with deployment name.
From Tomasz ---
I've seen that in configuration scripts you use such constructions: DEPLOYMENT=
hostname | cut -d "-" -f 1
CLUSTER=hostname | cut -d "-" -f 2
You should be warned that someone can use my-deployment as an installation name and cut will return wrong part of the string. Please consider creating an attribute with deployment name.