Skip to content

Commit 45a89b7

Browse files
committed
Merge pull request #251 from solarkennedy/fix_tests
fix tests
2 parents f2c5e97 + be3d92a commit 45a89b7

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

manifests/install.pp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
# only notify if we are installing a new version (work around for switching to archive module)
2121
if $::consul_version != $consul::version {
2222
$do_notify_service = $consul::notify_service
23+
} else {
24+
$do_notify_service = undef
2325
}
2426

2527
include '::archive'

spec/classes/init_spec.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
:operatingsystemrelease => '10.04',
1111
:kernel => 'Linux',
1212
:ipaddress_lo => '127.0.0.1',
13+
:consul_version => 'unknown',
1314
}
1415
end
1516
# Installation Stuff

0 commit comments

Comments
 (0)