diff --git a/cookbooks/nginx/attributes/binary.bash b/cookbooks/nginx/attributes/binary.bash index 23fb20d8..8c639ce9 100644 --- a/cookbooks/nginx/attributes/binary.bash +++ b/cookbooks/nginx/attributes/binary.bash @@ -2,5 +2,5 @@ export NGINX_PORT='80' -export AMAZON_LINUX_DEFAULT_ID='centos' -export AMAZON_LINUX_DEFAULT_VERSION_ID='7' \ No newline at end of file +export AMAZON_LINUX_ID='centos' +export AMAZON_LINUX_VERSION_ID='7' \ No newline at end of file diff --git a/cookbooks/nginx/recipes/install-from-binary.bash b/cookbooks/nginx/recipes/install-from-binary.bash index 8af7f7d1..466e3b1c 100755 --- a/cookbooks/nginx/recipes/install-from-binary.bash +++ b/cookbooks/nginx/recipes/install-from-binary.bash @@ -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