Hello I am trying to create users with databags with the users cookbook but creates the groups and not the users, is like ignores the databags all together..
for more info and way more details please check this:
this is driving me insane.. I have made new databags with diff names.. uppercare/lowercase with action: create with out it.. readed 10 times the documentation of encrypted databags and the the users cookbook and i can't see what is wrong... like in that post I mention I output the debug log and edited on vim and cant see any ERROR and worse no mention that is reading the databags is like ghost/ignoring them all together....
You have to write your own wrapper recipe to specify the relevant group, and run that recipe on that server, to activate all the users for that group as published in the specified databagā¦ Have you done so?
Personally, Iāve given up on the āusersā cookbook until it can more gracefully handle private SSH keys. Since Iāve had to write wrapper cookbooks anyway, Iāve found it more effective to use the āuserā resource more directly in my own recipes, and tune things like shared groups as needed by ordering the operation of the chef āgroupā resource as well as the āuserā resource.
Hello yes I create my own cookbook wrapper and included the users cookbook on the metadata fileā¦ do you have some examples on using the user resource with ssh keys I can look at? I just did a search now after I read your msg and saw only examples with creating user but not the .ssh/authorized_keys etcā¦
Still very puzzle that the users cookbook is not workingā¦