Skip to content

Commit

Permalink
autorequire service
Browse files Browse the repository at this point in the history
Signed-off-by: Stephen Gran <[email protected]>
  • Loading branch information
Stephen Gran committed Aug 6, 2014
1 parent 6d41bdc commit 7f03696
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/puppet/type/rabbitmq_vhost.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
end
end

autorequire(:service) { 'rabbitmq-server' }

newparam(:name, :namevar => true) do
'name of the vhost to add'
newvalues(/^\S+$/)
Expand Down

0 comments on commit 7f03696

Please sign in to comment.