Skip to content

Commit

Permalink
Update init.pp
Browse files Browse the repository at this point in the history
  • Loading branch information
tphoney committed Nov 18, 2015
1 parent 3582d83 commit 3774528
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions site/nginx/manifests/init.pp
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
class nginx {
$http_dir = '/var/www/'
$nginx_dir = '/var/www/'
$http_dir = '/var/www'
$nginx_dir = '/etc/nginx'


package { 'nginx':
ensure => present,
}

file { '${nginx}/nginx.conf':
file { '${nginx_dir}/nginx.conf':
ensure => file,
source => 'puppet:///modules/nginx/nginx.conf',
}
file { '${nginx}/conf.d/default.conf':
file { '${nginx_dir}/conf.d/default.conf':
ensure => file,
source => 'puppet:///modules/nginx/default.conf',
require => Package['nginx'],
Expand Down

0 comments on commit 3774528

Please sign in to comment.