From 6a8e2e888155378c81a58fa78d48135799523808 Mon Sep 17 00:00:00 2001 From: "James E. Blair" Date: Wed, 28 Oct 2015 12:30:21 +0900 Subject: [PATCH] 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 --- tools/hieraedit.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tools/hieraedit.py b/tools/hieraedit.py index de922585ee..a614917f0f 100755 --- a/tools/hieraedit.py +++ b/tools/hieraedit.py @@ -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')