Customizable ruleset

This pull request superseeds #13 

This pull request users can customize the bundled CRS
OK, makes sense. I'll look into it.

Sent from my mobile device, sorry for the typyos.

On 3 nov. 2014, at 23:25, Jason Rohwedder <notifications@github.com<mailto:notifications@github.com>> wrote:


In attributes/default.rb:

>  default[:mod_security][:crs][:root_dir]        = "#{node[:mod_security][:dir]}/crs"
>  default[:mod_security][:crs][:rules_root_dir]  = "#{node[:mod_security][:crs][:root_dir]}/rules"
>  default[:mod_security][:crs][:activated_rules] = "#{node[:mod_security][:crs][:rules_root_dir]}/activated_rules"
>
> +# core rule set download config
> +if ( not node[:mod_security][:crs][:bundled] )


I think I'd feel better if the logic parts were in a recipe and maybe we had a hash of different checksums and their versions here in the attributes. Splitting data from logic that way makes more sense to me.

—
Reply to this email directly or view it on GitHub<https://github.com/HoneyApps/chef-mod_security/pull/14/files#r19771761>.