Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing attribute in chef 11 #8

Open
Benjile opened this issue Oct 12, 2018 · 1 comment
Open

Missing attribute in chef 11 #8

Benjile opened this issue Oct 12, 2018 · 1 comment

Comments

@Benjile
Copy link

Benjile commented Oct 12, 2018

When use against chef 11 this error raises:
./chef_inventory.py --list Traceback (most recent call last): File "./chef_inventory.py", line 211, in <module> main() File "./chef_inventory.py", line 207, in main ci.execute() File "./chef_inventory.py", line 198, in execute self.list_nodes() File "./chef_inventory.py", line 155, in list_nodes if node["automatic"]["roles"] is not None: KeyError: 'roles'

Environment:
ansible 2.0.0.2
chef-server 11.1.5-1
PyChef 0.3.0

@Benjile
Copy link
Author

Benjile commented Oct 12, 2018

Pull request:
#9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant