Get user's home directory

454 views
Skip to first unread message

Matias

unread,
May 16, 2012, 12:15:55 PM5/16/12
to puppet...@googlegroups.com
I need to place a few files (.vimrc, .bashrc, etc...) on existing users, some of them with their home dir in non-standard places.

How can I get a user's home directory?


Thanks.


Dan White

unread,
May 16, 2012, 3:45:49 PM5/16/12
to puppet...@googlegroups.com
"puppet resource users"

should do the trick.

“Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us.”
Bill Waterson (Calvin & Hobbes)
> --
> You received this message because you are subscribed to the Google Groups "Puppet Users" group.
> To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/Wrt8FidKKQMJ.
> To post to this group, send email to puppet...@googlegroups.com.
> To unsubscribe from this group, send email to puppet-users...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
>

Reply all
Reply to author
Forward
0 new messages