blob: 3b60016846e77ff0ccabd1d95d76235ea52fbf28 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
define nginx::config($value, $ensure = 'present') {
file { "/etc/nginx/conf.d/${name}.conf" :
ensure => $ensure,
owner => 'root',
group => 'root',
mode => '0644',
content => "${value}\n",
notify => Service['nginx'],
require => Package['nginx'],
}
}
|