Added support for RHEL and did some syntax cleaning
Assume that "RedHat" also works where "CentOS" does.
This commit is contained in:
parent
e9aae1dcf6
commit
24ecb51f6f
63 changed files with 544 additions and 497 deletions
|
@ -4,7 +4,7 @@
|
|||
class git::client {
|
||||
|
||||
package { "git":
|
||||
name => $operatingsystem ? {
|
||||
name => $::operatingsystem ? {
|
||||
"ubuntu" => "git-core",
|
||||
default => "git",
|
||||
},
|
||||
|
@ -79,8 +79,8 @@ class git::daemon inherits git::server {
|
|||
Package["git-daemon"] ],
|
||||
}
|
||||
|
||||
case $operatingsystem {
|
||||
"centos","fedora": {
|
||||
case $::operatingsystem {
|
||||
"centos","redhat","fedora": {
|
||||
file { "/var/lib/git":
|
||||
ensure => link,
|
||||
force => true,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue