jmadureira / netdata-cookbook

Chef cookbook to install FireHol's NetData
Apache License 2.0
14 stars 12 forks source link

Install python mysql module dependencies whenever necessary. #4

Closed jmadureira closed 8 years ago

jmadureira commented 8 years ago

The MySQL python module requires either MySQLdb or PyMySQL so the cookbook must ensure they are installed.

My concern here is that by default all modules are enabled but remain silent unless they are able to monitor something.

To avoid having to install unnecessary dependencies a chef attribute was created:

...which is set to false by default. On nodes that have MySQL installed users will need to set this to true which kinda makes sense because chances are they will also need to update the mysql.conf file as well.

sergiopena commented 8 years ago

+1