| Index: modules/web/manifests/server.pp | 
| diff --git a/modules/web/manifests/server.pp b/modules/web/manifests/server.pp | 
| index df6b92d03b9d60d66b16766552ea0d310a9ed28c..b56264d75f8b17ee441a9b88aa6ebb6c396a4a17 100644 | 
| --- a/modules/web/manifests/server.pp | 
| +++ b/modules/web/manifests/server.pp | 
| @@ -1,8 +1,8 @@ | 
| class web::server( | 
| $vhost, | 
| $repository, | 
| - $certificate, | 
| - $private_key, | 
| + $certificate = hiera('web::server::certificate', 'undef'), | 
| + $private_key = hiera('web::server::private_key', 'undef'), | 
| $is_default = false, | 
| $aliases = undef, | 
| $custom_config = undef, | 
| @@ -25,8 +25,8 @@ class web::server( | 
| content => template('web/site.conf.erb'), | 
| global_config => template('web/global.conf.erb'), | 
| is_default => $is_default, | 
| - certificate => $certificate, | 
| - private_key => $private_key, | 
| + certificate => $certificate ? {'undef' => undef, default => $certificate}, | 
| + private_key => $private_key ? {'undef' => undef, default => $private_key}, | 
| log => "access_log_$vhost" | 
| } |