Don't create svn proxy config if proxy variable is unset
This commit is contained in:
parent
2b9e847b22
commit
769e584977
2 changed files with 7 additions and 8 deletions
|
@ -7,7 +7,10 @@ class svn {
|
|||
}
|
||||
|
||||
file { "/etc/subversion/servers":
|
||||
ensure => present,
|
||||
ensure => $http_proxy ? {
|
||||
"" => absent,
|
||||
default => present,
|
||||
},
|
||||
mode => "0644",
|
||||
owner => "root",
|
||||
group => "root",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue