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:
parent
05db6ccd2d
commit
6a8e2e8881
@ -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')
|
||||
|
Loading…
Reference in New Issue
Block a user