[1858] in Moira Commits

home help back first fref pref prev next nref lref last post

/svn/moira r4003 - trunk/moira/gen

daemon@ATHENA.MIT.EDU (Garry Zacheiss)
Mon May 17 14:50:52 2010

Date: Mon, 17 May 2010 14:50:46 -0400
From: Garry Zacheiss <zacheiss@MIT.EDU>
Message-Id: <201005171850.o4HIoktS004728@drugstore.mit.edu>
To: moira-commits@mit.edu
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Author: zacheiss
Date: 2010-05-17 14:50:46 -0400 (Mon, 17 May 2010)
New Revision: 4003

Modified:
   trunk/moira/gen/cups-cluster.pc
   trunk/moira/gen/cups-print.pc
Log:
Redo how we implement the hold by default option.

Modified: trunk/moira/gen/cups-cluster.pc
===================================================================
--- trunk/moira/gen/cups-cluster.pc	2010-05-12 20:26:45 UTC (rev 4002)
+++ trunk/moira/gen/cups-cluster.pc	2010-05-17 18:50:46 UTC (rev 4003)
@@ -193,7 +193,7 @@
       fprintf(out, "State Idle\n");	/* Always with the Idle */
       fprintf(out, "StateTime %ld\n", (long)time(NULL));
       if (holddefault)
-          fprintf(out, "Reason hold-new-jobs\n");
+          fprintf(out, "Option job-hold-until indefinite\n");
       fprintf(out, "Accepting Yes\n");
       fprintf(out, "Shared Yes\n");
       fprintf(out, "QuotaPeriod 0\n");

Modified: trunk/moira/gen/cups-print.pc
===================================================================
--- trunk/moira/gen/cups-print.pc	2010-05-12 20:26:45 UTC (rev 4002)
+++ trunk/moira/gen/cups-print.pc	2010-05-17 18:50:46 UTC (rev 4003)
@@ -196,7 +196,7 @@
       fprintf(out, "State Idle\n");	/* Always with the Idle */
       fprintf(out, "StateTime %ld\n", (long)time(NULL));
       if (holddefault)
-      	  fprintf(out, "Reason hold-new-jobs\n");
+      	  fprintf(out, "Option job-hold-until indefinite\n");
       fprintf(out, "Accepting Yes\n");
       fprintf(out, "Shared Yes\n");
       fprintf(out, "QuotaPeriod 0\n");


home help back first fref pref prev next nref lref last post