Skip to content

Commit

Permalink
Drop support for old config location from provider
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenpost committed Mar 21, 2024
1 parent 0df2daa commit 3d26bd0
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions lib/puppet/provider/mongodb.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,7 @@ def mongoshrc_file
end

def self.mongod_conf_file
if File.exist? '/etc/mongod.conf'
'/etc/mongod.conf'
else
'/etc/mongodb.conf'
end
'/etc/mongod.conf'
end

def self.mongo_conf
Expand Down

0 comments on commit 3d26bd0

Please sign in to comment.