Skip to content
This repository has been archived by the owner on Feb 13, 2024. It is now read-only.

Commit

Permalink
Don't require user and user home, puppet will autorequire if defined
Browse files Browse the repository at this point in the history
  • Loading branch information
Carlos Sanchez committed Oct 1, 2013
1 parent dd3b1bc commit 90eaf82
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions manifests/resource/config.pp
Expand Up @@ -12,11 +12,10 @@
# *realname* - The user's 'real' name. Default USER
#
define git::resource::config($ensure=file, $root="/home/$user", $user, $group=$user, $email="$user@$fqdn", $realname=$user) {
file { "$root/.gitconfig":
file { "${root}/.gitconfig":
ensure => $ensure,
owner => $user,
group => $group,
content => template('git/gitconfig.erb'),
require => [File[$root], User[$user]],
}
}

0 comments on commit 90eaf82

Please sign in to comment.