Merge pull request #42787 from skizunov/develop5

Add --skip-grains option to salt-run
This commit is contained in:
Nicole Thomas 2017-08-14 14:51:15 -04:00 committed by GitHub
commit 31701bd34d

View File

@ -2790,6 +2790,12 @@ class SaltRunOptionParser(six.with_metaclass(OptionParserMeta,
action='store_true',
help=('Start the runner operation and immediately return control.')
)
self.add_option(
'--skip-grains',
default=False,
action='store_true',
help=('Do not load grains.')
)
group = self.output_options_group = optparse.OptionGroup(
self, 'Output Options', 'Configure your preferred output format.'
)