Issue #4790 has been updated by Charlie Sharpsteen. Status changed from Accepted to Closed Assignee set to Charlie Sharpsteen
As of [f4e229e](https://github.com/puppetlabs/puppet/commit/f4e229e) `run_mode` is no longer a proper setting---it is an attribute of the Settings class. See #16189 for more details. Closing since the code this issue pertains to no longer exists. ---------------------------------------- Bug #4790: Allow Puppet[:run_mode] to be set https://projects.puppetlabs.com/issues/4790#change-92918 * Author: Matt Robinson * Status: Closed * Priority: Normal * Assignee: Charlie Sharpsteen * Category: settings * Target version: * Affected Puppet version: * Keywords: run_mode script * Branch: ---------------------------------------- Currently this setting is set by looking at arguments to puppet (apply, master, etc), and then not allowed to be changed. I've run into the issue that if you use puppet code in a script, the run_mode defaults to run_mode of 'user' and you can't change it to run your script in the 'master' run_mode. This makes it tricky to get to the puppet.conf settings in the master section. -- 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. For more options, visit https://groups.google.com/groups/opt_out.
