Issue #1381 has been updated by Andrew Parker. Status changed from Accepted to Closed
Since the 'nice' for exec types had already been rejected by both Adam and James, and the children of a process inherit the nice levels of the parent, I'm going to close this. I see no reason for puppet to try and implement this. ---------------------------------------- Bug #1381: Add nice option to 'exec' type https://projects.puppetlabs.com/issues/1381#change-91925 * Author: Lawrence Ludwig * Status: Closed * Priority: Low * Assignee: * Category: exec * Target version: * Affected Puppet version: 0.24.4 * Keywords: exec nice * Branch: ---------------------------------------- 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://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/puppet-bugs?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
