Remove common.yaml default for hieredit

We have split the hiera file, so there is no sensible default for
this command now.

Change-Id: I9befdff8aabb8c8e84653dbd57b1b5d339623ddc
This commit is contained in:
James E. Blair 2015-10-28 12:30:21 +09:00 committed by Craige McWhirter
parent 05db6ccd2d
commit 6a8e2e8881

View File

@ -50,8 +50,7 @@ class MyDumper(yaml.Dumper):
#end from
parser = argparse.ArgumentParser(description='Edit hiera yaml.')
parser.add_argument('--yaml', help='the path to the hira yaml file',
default='/etc/puppet/hieradata/production/common.yaml')
parser.add_argument('--yaml', help='the path to the hiera yaml file')
parser.add_argument('key', help='the key')
parser.add_argument('value', help='the value', nargs='?')
parser.add_argument('-f', dest='file', help='file to read in as value')