Commit 733fb87e by source_reader

bug fixes

parent 8da41999
class nginx::pi{
notice("including pi nginx")
$dirs = ['/usr/lib/nginx','/usr/lib/nginx/modules',
'/usr/share/nginx', '/usr/share/nginx/html']
$dirs = ['/usr/lib/nginx',
'/usr/share/nginx',
'/var/lib/nginx']
file {$dirs:,
owner => root,
group => root,
ensure => directory
}
file {'/var/log/nginx':
owner => www-data,
group => adm,
ensure => directory
}
file {'/etc/nginx/nginx.conf':
source => 'puppet:///modules/nginx/nginx.conf',
owner => root,
......@@ -39,7 +44,7 @@ class nginx::pi{
ensure => directory,
owner => root,
group => root,
source => 'puppet:///modules/nginx/pi/passenger.conf'
source => 'puppet:///modules/nginx/pi/passenger.conf',
require => File['/etc/nginx/conf.d']
}
......
......@@ -7,7 +7,11 @@
#
class static_sites {
file{'/var/www':
ensure => directory,
owner => root,
group => root
}
# The Angular Frontend Site
file{'/var/www/frontend':
ensure => directory,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment