Skip to content

Commit

Permalink
update vars
Browse files Browse the repository at this point in the history
  • Loading branch information
gdbtek committed Dec 12, 2018
1 parent a74c238 commit 8161c82
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions cookbooks/nginx/attributes/binary.bash
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@

export NGINX_PORT='80'

export AMAZON_LINUX_DEFAULT_ID='centos'
export AMAZON_LINUX_DEFAULT_VERSION_ID='7'
export AMAZON_LINUX_ID='centos'
export AMAZON_LINUX_VERSION_ID='7'
4 changes: 2 additions & 2 deletions cookbooks/nginx/recipes/install-from-binary.bash
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ function install()

if [[ "${ID}" = 'amzn' ]]
then
ID="${AMAZON_LINUX_DEFAULT_ID}"
VERSION_ID="${AMAZON_LINUX_DEFAULT_VERSION_ID}"
ID="${AMAZON_LINUX_ID}"
VERSION_ID="${AMAZON_LINUX_VERSION_ID}"
fi

# Generate Repo File
Expand Down

0 comments on commit 8161c82

Please sign in to comment.