Chef, git and user home directories


#1

I’m wanting to implement a way for our Chef to create the home directories
of our users.

I’m thinking of having user home directories stored in a git repo. Users
may update their own directories any time to git…adding .bashrc,
authorized_keys, or any scripts they like to have.

I was then planning on having Chef pull from git these home directories on
to all hosts during its regularly scheduled runs.

Is anyone else doing this?

Any gotchas I should look out for? Any specific cookbook you may be using?


#2

I’m thinking of having user home directories stored in a git repo. Users
may update their own directories any time to git…adding .bashrc,
authorized_keys, or any scripts they like to have.
I think you can use this cookbook[1] as base. Its not mine, but it appears to do what you want.

[1] https://github.com/axsuul/cookbook-dotfiles


#3

On 28 December 2012 13:56, Alfredo Palhares masterkorp@masterkorp.netwrote:

I think you can use this cookbook[1] as base. Its not mine, but it appears
to do what you want.

[1] https://github.com/axsuul/cookbook-dotfiles

And here is a decent set of dot files:

Ringo