TT#62000 Fix shellcheck error

In deployment.sh line 2109:
  local puppet_gpg='/root/puppet.gpg'
  ^-- SC2168: 'local' is only valid in functions.

Change-Id: I628cbac844db6aa1913ab1747906656d7d6d739b
changes/09/31709/1
Sergii Kipot 6 years ago
parent 316c28bcc2
commit 6504dad869

@ -2106,7 +2106,7 @@ puppet_install_from_puppet () {
deb ${DEBIAN_URL}/puppetlabs/ ${DEBIAN_RELEASE} main puppet5 dependencies deb ${DEBIAN_URL}/puppetlabs/ ${DEBIAN_RELEASE} main puppet5 dependencies
EOF EOF
local puppet_gpg='/root/puppet.gpg' puppet_gpg='/root/puppet.gpg'
if [[ ! -f "${puppet_gpg}" ]]; then if [[ ! -f "${puppet_gpg}" ]]; then
die "Can't find ${puppet_gpg} file" die "Can't find ${puppet_gpg} file"
fi fi

Loading…
Cancel
Save