Closed gsaslis closed 9 years ago
indentation should be fixed. sorry about that...
Why this does not merged? how do you solve?
I have the same problem... :/
Error executing action `create` on resource 'template[/home/user/.ssh/authorized_keys]'
@supergrilo sorry for the delayed reply... I basically ended up using my own fork, with the patched code that creates the group using the group resource, before using it... at the moment my commit was very opensuse - specific, however I am happy to give this another go, now that I am (much) more familiar with Chef, if you are still having problems...
closed this, in favour of #96
As discussed on https://github.com/opscode-cookbooks/users/issues/64 , I had some trouble using the 'ssh_keys' attribute when using the users cookbook...
When my user.json did NOT include a 'gid' attribute, I was getting an error:
(https://github.com/opscode-cookbooks/users/blob/master/providers/manage.rb#L121)
The template resource was not able to find the group id... So, I tried including a 'gid' attribute, only this time:
...leaving me no choice but to change the source code... (This is all on an OpenSUSE 13.1 VM, so it might work on other OS)