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
|
@ -173,8 +173,9 @@ class apt::mirror {
|
|||
|
||||
file { "/etc/apt/miror.list":
|
||||
ensure => present,
|
||||
name => $operatingsystem ? {
|
||||
name => $::operatingsystem ? {
|
||||
centos => "/etc/apt-mirror.list",
|
||||
redhat => "/etc/apt-mirror.list",
|
||||
default => "/etc/apt/miror.list",
|
||||
},
|
||||
content => template("apt/mirror.list.erb"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue