diff --git a/manifests/install.pp b/manifests/install.pp index 2922acb1..ebb295cb 100644 --- a/manifests/install.pp +++ b/manifests/install.pp @@ -7,6 +7,7 @@ if $katello::enable_ostree { package { $katello::rubygem_katello_ostree: ensure => installed, + notify => Service['foreman-tasks', 'httpd'], } } } diff --git a/spec/classes/katello_install_spec.rb b/spec/classes/katello_install_spec.rb index 5c841125..1ff734e1 100644 --- a/spec/classes/katello_install_spec.rb +++ b/spec/classes/katello_install_spec.rb @@ -33,6 +33,7 @@ }" ] end - it { should contain_package("tfm-rubygem-katello_ostree").with_ensure('installed') } + it { should contain_package("tfm-rubygem-katello_ostree").with_ensure('installed'). + with_notify(["Service[foreman-tasks]", "Service[httpd]"]) } end end