Skip to content

Commit 8949b02

Browse files
committed
Also autorequire mongod service in types
1 parent 768902e commit 8949b02

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

lib/puppet/type/mongodb_database.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,6 @@
2222
end
2323

2424
autorequire(:service) do
25-
'mongodb'
25+
%w[mongodb mongod]
2626
end
2727
end

lib/puppet/type/mongodb_replset.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,6 @@ def insync?(is)
8484
end
8585

8686
autorequire(:service) do
87-
'mongodb'
87+
%w[mongodb mongod]
8888
end
8989
end

lib/puppet/type/mongodb_shard.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,6 @@ def insync?(is)
3434
end
3535

3636
autorequire(:service) do
37-
'mongodb'
37+
%w[mongodb mongod]
3838
end
3939
end

lib/puppet/type/mongodb_user.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ def insync?(_is)
103103
end
104104

105105
autorequire(:service) do
106-
'mongodb'
106+
%w[mongodb mongod]
107107
end
108108

109109
autorequire(:mongodb_database) do

0 commit comments

Comments
 (0)