artem-sidorenko / chef-cups

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

Add support for airprint & printer sharing to cups cookbook #1

Closed trinitronx closed 9 years ago

trinitronx commented 9 years ago

This is the patchset ported from biola/chef-cookbooks#2 (Thanks to: git format-patch & git am -p2)

Changes:

  1. cups::airprint: Recipe to add AirPrint service definitions for sharing printers via Apple AirPrint
  2. Add node['cups']['share_printers'] attribute (default: true) for configuring cupsd to share printers on local network
  3. Fixed broken cupsd service status detection (it was falling back to matching string cups in ps -ef output... which returned false positive: cups-browsed)
troyready commented 9 years ago

@trinitronx thanks again for juggling the PR around. I'm going to merge this and some other minor changes today & tag v1.0.0

trinitronx commented 9 years ago

Thanks for merging & accepting the patches! Also thanks for breaking this out into it's own cookbook repo and releasing it back to the community :-)