Skip to content

Commit

Permalink
Merge pull request #303 from logic/patch-1
Browse files Browse the repository at this point in the history
Check $::consul_version more correctly
  • Loading branch information
solarkennedy authored Dec 18, 2016
2 parents 132a80c + 7d614ae commit 0f26a1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manifests/install.pp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
$install_path = $::consul::archive_path

# only notify if we are installing a new version (work around for switching to archive module)
if $::consul_version != $::consul::version {
if getvar('$::consul_version') != $::consul::version {
$do_notify_service = $::consul::notify_service
} else {
$do_notify_service = undef
Expand Down

0 comments on commit 0f26a1d

Please sign in to comment.