Commit 733fb87e by source_reader

bug fixes

parent 8da41999
class nginx::pi{ class nginx::pi{
notice("including pi nginx") notice("including pi nginx")
$dirs = ['/usr/lib/nginx','/usr/lib/nginx/modules', $dirs = ['/usr/lib/nginx',
'/usr/share/nginx', '/usr/share/nginx/html'] '/usr/share/nginx',
'/var/lib/nginx']
file {$dirs:, file {$dirs:,
owner => root, owner => root,
group => root, group => root,
ensure => directory ensure => directory
} }
file {'/var/log/nginx':
owner => www-data,
group => adm,
ensure => directory
}
file {'/etc/nginx/nginx.conf': file {'/etc/nginx/nginx.conf':
source => 'puppet:///modules/nginx/nginx.conf', source => 'puppet:///modules/nginx/nginx.conf',
owner => root, owner => root,
...@@ -39,7 +44,7 @@ class nginx::pi{ ...@@ -39,7 +44,7 @@ class nginx::pi{
ensure => directory, ensure => directory,
owner => root, owner => root,
group => root, group => root,
source => 'puppet:///modules/nginx/pi/passenger.conf' source => 'puppet:///modules/nginx/pi/passenger.conf',
require => File['/etc/nginx/conf.d'] require => File['/etc/nginx/conf.d']
} }
......
...@@ -7,7 +7,11 @@ ...@@ -7,7 +7,11 @@
# #
class static_sites { class static_sites {
file{'/var/www':
ensure => directory,
owner => root,
group => root
}
# The Angular Frontend Site # The Angular Frontend Site
file{'/var/www/frontend': file{'/var/www/frontend':
ensure => directory, 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