module-nginx/manifests/config.pp
2011-06-02 14:49:39 -05:00

23 lines
No EOL
398 B
Puppet

class nginx::config inherits nginx::params {
File {
owner => 'root',
group => 'root',
mode => '0644',
}
file { '/etc/nginx/sites-enabled':
ensure => directory,
}
file { '/etc/nginx/sites-enabled/default':
ensure => absent,
}
file { '/etc/nginx/nginx.conf':
ensure => file,
owner => 'root',
group => 'root',
content => template('nginx/nginx.conf.erb'),
}
}