artem-sidorenko / chef-cups

Chef cookbook for CUPS management
Apache License 2.0
2 stars 9 forks source link

Make access rules configurable #7

Closed chuhn closed 9 years ago

chuhn commented 9 years ago

The current cookbook statically configures Allow @LOCAL which restricts server access to the cups server's subnet.

This patch turns the share_printers attribute from boolean into an array with access patterns, eg. [ '192.168.42.0/24', '.example.com', ... ]