-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
default queue support #41
Comments
Hey there, I'm pretty happy to reinstate the option, but it won't do anything on OSX so I'll at least need a footnote for that. |
I would much appreciate the option. I am baffled though about the inconsistent behavior under OS X, given that Apple is the CUPS maintainer these days. On January 4, 2015 1:48:05 AM EST, mosen [email protected] wrote:
Composed with a magnetized needle and a steady hand. Please excuse my brevity. |
Hi @jflorian, latest HEAD of puppet-cups includes support for setting the default destination through the use of a new resource type called The reason for not adding |
@mosen I'm glad to see this happen. I think a new default_printer resource actually makes more sense for a number of reasons, especially considering there can only be one default printer anyway. I'd like to give it a test, but presently I'm using a "puppet module install mosen-cups". Is there a good way to update that from HEAD? I have a local git clone at HEAD elsewhere and I guess I could just rsync, but was wondering if there was a better way to handle this. |
hi @jflorian, looking at the puppet module install switches, it doesnt look like theres a reasonable way to install from github head. I took a look at publishing a beta release on the forge and that doesn't seem possible without forcing an upgrade for everyone else. |
On 03/03/2015 03:49 AM, mosen wrote:
Okay, will do. Sorry for the late response, I had a mail rule horribly |
Hi @jflorian I have uploaded release 1.4.0 to the forge. Let's see if this |
Thanks @mosen! It worked for me. I gave it two tests. First, I just added the new
For the second test, I did an
Both queues were created as expected and the default was set again as expected, but oddly there was no message from Puppet for the |
Hi @jflorian I would expect that behavior. The default printer remains even after the queue is deleted I.E its possible for cups to have a default queue that isn't valid at all. |
On 03/25/2015 05:22 PM, mosen wrote:
Thanks so much for implementing this! |
In your README.md you state this module has the limitation that it "currently does not set default printers." Then later in the OSX-specifics section you mention "If you want to set the default printer, you cannot use lpoptions or lpadmin to do it." While I don't have an OSX and won't contest anything you've said there, I do see that the lp(1) man page has:
Likewise, lpoptions(1) states:
Indeed the "loptions -d foo" approach works for me in Fedora. It seems to me that this should be relatively easy to implement. Or am I missing something here?
The text was updated successfully, but these errors were encountered: