Created
January 25, 2012 18:24
-
-
Save gaffneyc/1677730 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Would love to do this with chef | |
directory("/home/gaffneyc") do | |
uid "gaffneyc" | |
gid "gaffneyc" | |
mode "0700" | |
directory(".ssh") do | |
# implies uid, gid, and mode | |
template("authorized_keys") do | |
... | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@mattray: Yeah, that's essentially what I'm doing right now. I'm thinking this would be a nice addition to the dsl but no clue what it would take to implement.