Fixed "unquoted file mode" errors given by puppet-lint.
This commit is contained in:
parent
17341ec85c
commit
84edcd61ed
64 changed files with 512 additions and 512 deletions
|
@ -34,12 +34,12 @@ class munin::node {
|
|||
file { "/etc/munin/munin-node.conf":
|
||||
ensure => present,
|
||||
content => template("munin/munin-node.conf.erb"),
|
||||
owner => root,
|
||||
owner => "root",
|
||||
group => $operatingsystem ? {
|
||||
OpenBSD => wheel,
|
||||
default => root,
|
||||
OpenBSD => "wheel",
|
||||
default => "root",
|
||||
},
|
||||
mode => 0644,
|
||||
mode => "0644",
|
||||
require => Package["munin-node"],
|
||||
notify => Exec["munin-node-configure"],
|
||||
}
|
||||
|
@ -89,7 +89,7 @@ define munin::snmpnode($snmp_community="public", $snmp_version="2") {
|
|||
OpenBSD => wheel,
|
||||
default => root,
|
||||
},
|
||||
mode => 0600,
|
||||
mode => "0600",
|
||||
notify => Service["munin-node"],
|
||||
}
|
||||
|
||||
|
@ -125,9 +125,9 @@ define munin::plugin($config = "") {
|
|||
file { "/usr/local/libexec/munin/plugins/${name}":
|
||||
ensure => present,
|
||||
source => "puppet:///modules/munin/plugins/${name}",
|
||||
owner => root,
|
||||
group => wheel,
|
||||
mode => 0755,
|
||||
owner => "root",
|
||||
group => "wheel",
|
||||
mode => "0755",
|
||||
require => Package["munin-node"],
|
||||
}
|
||||
}
|
||||
|
@ -135,9 +135,9 @@ define munin::plugin($config = "") {
|
|||
file { "/usr/share/munin/plugins/${name}":
|
||||
ensure => present,
|
||||
source => "puppet:///modules/munin/plugins/${name}",
|
||||
owner => root,
|
||||
group => root,
|
||||
mode => 0755,
|
||||
owner => "root",
|
||||
group => "root",
|
||||
mode => "0755",
|
||||
require => Package["munin-node"],
|
||||
}
|
||||
}
|
||||
|
@ -149,12 +149,12 @@ define munin::plugin($config = "") {
|
|||
source => [ "puppet:///files/munin/plugin-conf/${config}.${fqdn}",
|
||||
"puppet:///files/munin/plugin-conf/${config}",
|
||||
"puppet:///modules/munin/plugin-conf/${config}", ],
|
||||
owner => root,
|
||||
owner => "root",
|
||||
group => $operatingsystem ? {
|
||||
OpenBSD => wheel,
|
||||
default => root,
|
||||
},
|
||||
mode => 0644,
|
||||
mode => "0644",
|
||||
notify => Service["munin-node"],
|
||||
require => $operatingsystem ? {
|
||||
OpenBSD => File["/usr/local/libexec/munin/plugins/${name}"],
|
||||
|
@ -206,9 +206,9 @@ class munin::server {
|
|||
if $munin_datadir {
|
||||
file { $munin_datadir:
|
||||
ensure => directory,
|
||||
mode => 0755,
|
||||
owner => munin,
|
||||
group => munin,
|
||||
mode => "0755",
|
||||
owner => "munin",
|
||||
group => "munin",
|
||||
seltype => "munin_var_lib_t",
|
||||
require => Package["munin"],
|
||||
}
|
||||
|
@ -230,9 +230,9 @@ class munin::server {
|
|||
if $munin_htmldir {
|
||||
file { $munin_htmldir:
|
||||
ensure => directory,
|
||||
mode => 0755,
|
||||
owner => munin,
|
||||
group => munin,
|
||||
mode => "0755",
|
||||
owner => "munin",
|
||||
group => "munin",
|
||||
seltype => "httpd_munin_content_t",
|
||||
require => Package["munin"],
|
||||
}
|
||||
|
@ -261,9 +261,9 @@ class munin::server {
|
|||
purge => true,
|
||||
force => true,
|
||||
recurse => true,
|
||||
owner => root,
|
||||
group => root,
|
||||
mode => 0644,
|
||||
owner => "root",
|
||||
group => "root",
|
||||
mode => "0644",
|
||||
source => "puppet:///modules/custom/empty",
|
||||
require => Package["munin"],
|
||||
}
|
||||
|
@ -272,9 +272,9 @@ class munin::server {
|
|||
ensure => present,
|
||||
source => [ "puppet:///files/munin/munin.conf.in",
|
||||
"puppet:///modules/munin/munin.conf.in", ],
|
||||
owner => root,
|
||||
group => root,
|
||||
mode => 0644,
|
||||
owner => "root",
|
||||
group => "root",
|
||||
mode => "0644",
|
||||
require => Package["munin"],
|
||||
notify => Exec["generate-munin-conf"],
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue