Skip to content

Commit

Permalink
Merge pull request #118 from parthaa/notify-foreman-tasks
Browse files Browse the repository at this point in the history
Fixes #14324 - Restarts foreman-tasks and httpd on ostree enable
  • Loading branch information
jlsherrill committed Mar 23, 2016
2 parents b49ba8d + b8970e9 commit fb24289
Show file tree
Hide file tree
Showing 2 changed files with 3 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 @@ -7,6 +7,7 @@
if $katello::enable_ostree {
package { $katello::rubygem_katello_ostree:
ensure => installed,
notify => Service['foreman-tasks', 'httpd'],
}
}
}
3 changes: 2 additions & 1 deletion spec/classes/katello_install_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit fb24289

Please # to comment.