blob: 7fa4ff42b825cf2541c796bd82bbfd234775613c (
plain)
1
2
3
4
5
6
7
8
9
10
|
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'],
}
}
|