edelight / chef-mongodb

MongoDB Chef cookbook
https://community.opscode.com/cookbooks/mongodb
Apache License 2.0
363 stars 3 forks source link

Packager Options Attribute #377

Open citruspi opened 9 years ago

citruspi commented 9 years ago

The cookbook currently sets packager options for use when installing MongoDB. Unfortunately, it's not available as an attribute, which means that the packager options can't be modified without forking the cookbook.

This changes that, moving the code used to determine the packager options to the attributes/default.rb file and then accessing that in the installation recipe via node[:mongodb][:packager_options].

— @citruspi