Skip to content

Fix variables handling for forbid_install and forbid_upgrade.#2

Open
eesprit wants to merge 2 commits intoannttu:masterfrom
eesprit:master
Open

Fix variables handling for forbid_install and forbid_upgrade.#2
eesprit wants to merge 2 commits intoannttu:masterfrom
eesprit:master

Conversation

@eesprit
Copy link
Copy Markdown

@eesprit eesprit commented Aug 12, 2015

With the previous code, defining one of those to either false or true
was always ending with $FORBID_UPGRADE=1 or $FORBID_INSTALL=1 because
it was only testing if the variable has been defined, not its value.
Also reorganised the logic of the role with better default handling
and variable names fixes.

Yann Cezard added 2 commits August 12, 2015 10:09
With the previous code, defining one of those to either false or true
was always ending with $FORBID_UPGRADE=1 or $FORBID_INSTALL=1 because
it was only testing if the variable has been defined, not its value.
Also reorganised the logic of the role with better default handling
and variable names fixes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant