Merge "Remove common.yaml default for hieredit"

This commit is contained in:
Jenkins 2015-10-28 07:49:16 +00:00 committed by Gerrit Code Review
commit ddcb60ac19

View File

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