Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

added uberj work profile.

  • Loading branch information...
commit 31cce9cc69f717958ccb6a83be19544b67d82197 1 parent 1eba002
@uberj authored
Showing with 45 additions and 0 deletions.
  1. +45 −0 modules/users/manifests/uberj_work.pp
View
45 modules/users/manifests/uberj_work.pp
@@ -0,0 +1,45 @@
+class users::uberj_work {
+ $username = "uberj"
+ $home = "/nfs/milo/u1/uberj/"
+
+ user { "${username}":
+ ensure => present,
+ home => "/nfs/milo/u1/${username}",
+ gid => "users",
+ groups => ['users', 'wheel'],
+ managehome => true,
+ shell => '/bin/bash',
+ require => Package['bash'],
+ }
+
+ git::user_config { "${username}":
+ template => "users/uberj/gitconfig.erb",
+ home=>$home,
+ }
+ vim::user_config { "${username}":
+ template => "users/uberj/vimrc.erb",
+ home=>$home,
+ }
+
+ #os::user_config { "$ { username}": }
+ bash::user_config { "${username}":
+ home=>$home,
+ template => "users/uberj/bashrc.erb",
+ }
+ # Give root my config
+ bash::user_config { "root":
+ home=>"/root/",
+ template => "users/uberj/bashrc.erb",
+ }
+ xmonad::user_config { "${username}":
+ xmonad_template => "users/uberj/xmonad.erb",
+ xmobar_template => "users/uberj/xmobar.erb",
+ home=>$home,
+ }
+ ruby::dev::user_config { "${username}":
+ home=>$home,
+ }
+ puppet::dev::user_config { "${username}":
+ home=>$home,
+ }
+}
Please sign in to comment.
Something went wrong with that request. Please try again.