Closed cbreden closed 6 years ago
I just got the same error but don't have the group_id set. Instead, I believe this is pointing towards the data bag contents for key "ssh-keys". Previously having only a single ssh-key, I just had a string there. And from the docs:
Note: The ssh_keys attribute below can be either a String or an Array. However, we are recommending the use of an Array.
I changed the ssh-keys in the data bag to an array and now chef runs are completing successfully.
From this:
"ssh-keys": "ssh blaha",
To:
"ssh-keys": [ "ssh blaha" ],
To team: Did you remove this functionality? Can you update your docs if so? Thanks!
So technically they were always meant to be arrays, but I've put some defensive code in to make sure if you pass a string we convert it to an array first. Let me know if you still have problems with the new 5.2.1 release which includes that.
5.2.1 is working, thank you!
Cookbook version
5.2.0 (working in 5.1.0)
Chef-client version
13.5.3
Platform Details
ubuntu 16.04
Scenario:
calling users_manager files with group id set
Steps to Reproduce:
Expected Result:
A converged run
Actual Result: