Skip to content

Commit

Permalink
Restart mongodb after updating the conf
Browse files Browse the repository at this point in the history
  • Loading branch information
leejones committed Apr 7, 2011
1 parent 4b7bb58 commit fcb016d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/mongodb.rb
Expand Up @@ -134,7 +134,8 @@ def mongodb(hash = {})
:ensure => :present,
:mode => '644',
:content => template(File.join(File.dirname(__FILE__), '..', 'templates', 'mongodb.conf.erb'), binding),
:before => service('mongodb')
:before => service('mongodb'),
:notify => service('mongodb')

file '/etc/init/mongodb.conf',
:ensure => :present,
Expand Down

0 comments on commit fcb016d

Please sign in to comment.