Issue #1381 has been updated by adam.

I'm not sure I think this is a good idea.  If you have specific commands that 
you know are causing trouble, slipping a "nice" in front of the exec is already 
totally supported.  

If you aren't having trouble with specific commands, just "nice"-ing everything 
feels like a superbly premature activity.

What's your use-case for this?

Adam
----------------------------------------
Bug #1381: Add nice option to 'exec' type
http://reductivelabs.com/redmine/issues/show/1381

Author: lludwig
Status: Unreviewed
Priority: Low
Assigned to: 
Category: 
Target version: 
Keywords: 
Complexity: Unknown
Patch: None
Affected version: 0.24.4


It would be nice to 'nice' a program before it starts.  That way any 
application you run with puppet (ie compiling) can be NICEd to a lower priority 
and not hog too many resources.  I propose something like this:

<pre>
exec { "gcc test.c":
     nice => 15,
}
</pre>

this would nice the @gcc test.c@ to a level of 15.  If ran manually it would 
look like this.

<pre>
nice 15 gcc test.c
</pre>

Also if possible it would be great if a global wide option for puppet can 
'nice' all external applications run (either via 'exec' type or other types 
that call external programs (ie 'package' type that calls 'yum').

IMHO what matters is puppet creates a correct configuration, not how fast it 
runs.


  


----------------------------------------
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://reductivelabs.com/redmine/my/account

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to