Skip to content

Commit

Permalink
Also autorequire mongod service in types
Browse files Browse the repository at this point in the history
  • Loading branch information
ekohl committed Oct 7, 2018
1 parent 768902e commit 8949b02
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/puppet/type/mongodb_database.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@
end

autorequire(:service) do
'mongodb'
%w[mongodb mongod]
end
end
2 changes: 1 addition & 1 deletion lib/puppet/type/mongodb_replset.rb
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,6 @@ def insync?(is)
end

autorequire(:service) do
'mongodb'
%w[mongodb mongod]
end
end
2 changes: 1 addition & 1 deletion lib/puppet/type/mongodb_shard.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@ def insync?(is)
end

autorequire(:service) do
'mongodb'
%w[mongodb mongod]
end
end
2 changes: 1 addition & 1 deletion lib/puppet/type/mongodb_user.rb
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def insync?(_is)
end

autorequire(:service) do
'mongodb'
%w[mongodb mongod]
end

autorequire(:mongodb_database) do
Expand Down

0 comments on commit 8949b02

Please sign in to comment.