Issue #1381 has been updated by lludwig.
jamtur01 wrote: > I think this one is a "Rejected". As per Adam's comment - you can just > prefix your exec with "nice" already. In the end this is fine per 'exec' type but I do think it's valid for a puppetd wide setting. One use case is for: - yum updates Or any type that executes an external application in puppetd. Right now we have no control of these other than patching the puppet code. There should be some method to slow down these forked applications if we want to. This submission was per Luke's request in a private email discussion with him. ---------------------------------------- Bug #1381: Add nice option to 'exec' type http://reductivelabs.com/redmine/issues/show/1381 Author: lludwig Status: Rejected Priority: Low Assigned to: Category: exec Target version: Keywords: exec nice 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 -~----------~----~----~----~------~----~------~--~---
