Skip to content
This repository has been archived by the owner on Feb 4, 2020. It is now read-only.

Commit

Permalink
Notify uchiwa service when package changes
Browse files Browse the repository at this point in the history
  • Loading branch information
timmow committed Mar 12, 2015
1 parent f724065 commit 78716f5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions manifests/install.pp
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
package { $uchiwa::package_name:
ensure => $uchiwa::version,
require => $repo_require,
notify => Service['uchiwa'],
}

}
2 changes: 1 addition & 1 deletion spec/classes/uchiwa_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@

it { should contain_package('uchiwa').with(
:ensure => '0.1.5'
) }
).that_notifies('Service[uchiwa]') }
end

context 'repos' do
Expand Down

0 comments on commit 78716f5

Please sign in to comment.