/var/chef/roles file suffix changed.
Change-Id: I1f4e4923984e69509cb6d4d884f01fcc09799513
This commit is contained in:
parent
20b53b88e1
commit
9b1ca0ae9d
@ -37,7 +37,7 @@ def main():
|
||||
roles_dir = flags.OPTIONS.roles_dir
|
||||
|
||||
for item in os.listdir(roles_dir):
|
||||
if item.endswith('.rb'):
|
||||
if item.endswith('.rb') or item.endswith('.json'):
|
||||
rolelist.append(os.path.join(roles_dir, item))
|
||||
else:
|
||||
logging.info('ignore %s in %s', item, roles_dir)
|
||||
|
Loading…
x
Reference in New Issue
Block a user