Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

BUG NOTE: flush is called on resources that only differ by model or p…

…pd (this information can't be idempotent).
  • Loading branch information...
commit de1b28440ac7ecfcbb38885c48079b28908140cb 1 parent a5209a5
@mosen authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  lib/puppet/provider/printer/cups.rb
3  lib/puppet/provider/printer/cups.rb
@@ -41,7 +41,6 @@
# The instances method collects information through a number of different command line utilities because no single
# utility displays all of the information about a printer's configuration.
def self.instances
prefetched_uris = printer_uris
provider_instances = []
@@ -193,6 +192,8 @@ def flush
when :present
# Regardless of whether the printer is being added or modified, the `lpadmin -p` command is used.
+ # BUG: flush should never be called if only the model or PPD parameters differ, because lpstat can't tell
+ # what the actual value is.
options =
# Handle most parameters via string substitution

0 comments on commit de1b284

Please sign in to comment.
Something went wrong with that request. Please try again.