summaryrefslogtreecommitdiff
path: root/library/puppet_get_hiera_file_list
diff options
context:
space:
mode:
Diffstat (limited to 'library/puppet_get_hiera_file_list')
-rw-r--r--library/puppet_get_hiera_file_list6
1 files changed, 3 insertions, 3 deletions
diff --git a/library/puppet_get_hiera_file_list b/library/puppet_get_hiera_file_list
index 79dbe54..c30ce91 100644
--- a/library/puppet_get_hiera_file_list
+++ b/library/puppet_get_hiera_file_list
@@ -51,9 +51,9 @@ def main():
51 ) 51 )
52 p = module.params 52 p = module.params
53 53
54 paths = ['group/%s.yaml' % f for f in p['groups'] ] 54 paths = ['group_vars/%s.yaml' % f for f in p['groups'] ]
55 paths.append('common.yaml') 55 paths.append('group_vars/all.yaml')
56 paths.append('fqdn/%s.yaml' % p['fqdn']) 56 paths.append('host_vars/%s.yaml' % p['fqdn'])
57 57
58 good_paths = [] 58 good_paths = []
59 for path in paths: 59 for path in paths: