Commit 3635a118 authored by Walter Heck's avatar Walter Heck

Fix a small bug where dots in environment names were not properly replaced by underscores

parent 2f383aff
......@@ -28,7 +28,7 @@ function log {
#convert all hyphens and forward slashes to underscore
PUPPET_ENV=$(echo $GIT_BRANCH | sed s'/[-//]/_/g')
PUPPET_ENV=$(echo $GIT_BRANCH | tr '.\-/' _)
log "==> stopping firewalld service" norm
if [ -f /usr/lib/systemd/system/firewalld.service ]; then
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment