begin dry run in command line

Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
remotes/origin/ssh_callback
Nico Schottelius 12 years ago
parent f95052e56f
commit a265d87037
  1. 1
      cdist/core/cdist_object.py
  2. 2
      scripts/cdist

@ -50,7 +50,6 @@ class MissingObjectIdError(cdist.Error):
def __str__(self):
return '%s' % (self.message)
class CdistObject(object):
"""Represents a cdist object.

@ -62,6 +62,8 @@ def commandline():
parser['configinstall'].add_argument('-i', '--initial-manifest',
help='Path to a cdist manifest or \'-\' to read from stdin.',
dest='manifest', required=False)
parser['configinstall'].add_argument('-n', '--dry-run',
help='Do not execute code', action='store_true')
parser['configinstall'].add_argument('-p', '--parallel',
help='Operate on multiple hosts in parallel',
action='store_true', dest='parallel')

Loading…
Cancel
Save