Has anyone done any work modeling rewrite rules or ajp proxies with Chef?
Here is what I have in mind for the apache rewrite rules. Store the
individual rules in data_bags and create them using an LWRP.
rules = data_bag_item(‘front_end_rewrites’)
rules.each do |source,target,flags|
Does anyone see any problems w/ this approach?
Since the apache cookbook currently uses definitions, should I create
a new definition for apache_rewrite or create an LWRP? I have the
impression that LWRPs are now preferred to definitions.
Modeling ajp rules would be significantly more complex than the apache
rewrite rules. I haven’t put much thought into them yet.