Sha256: 0a01bac158ac943da6d4441f9d6c1a6cea0adf7770ab1e8e11b4163de00d450c
Contents?: true
Size: 468 Bytes
Versions: 80
Compression:
Stored size: 468 Bytes
Contents
define apache::vhost( $port, $docroot, $ssl=true, $template='apache/vhost-default.conf.erb', $priority, $serveraliases = '' ) { include apache $vdir = $operatingsystem? { 'ubuntu' => '/etc/apache2/sites-enabled/', default => '/etc/httpd/conf.d', } file{"${vdir}/${priority}-${name}": content => template($template), owner => 'root', group => 'root', mode => '777', require => Package['httpd'], notify => Service['httpd'], } }
Version data entries
80 entries across 80 versions & 3 rubygems