Fixed "unquoted file mode" errors given by puppet-lint.

This commit is contained in:
Timo Mkinen 2012-03-27 16:10:01 +03:00
parent 17341ec85c
commit 84edcd61ed
64 changed files with 512 additions and 512 deletions

View file

@ -25,7 +25,7 @@ class sendmail::common {
content => "DAEMON=no\nQUEUE=1h\n",
owner => "root",
group => "root",
mode => 0644,
mode => "0644",
notify => Service["sendmail"],
}
}
@ -59,7 +59,7 @@ class sendmail::client inherits sendmail::common {
"openbsd" => "bin",
default => "root",
},
mode => 0644,
mode => "0644",
notify => Exec["make submit.cf"],
require => $operatingsystem ? {
"openbsd" => undef,
@ -88,7 +88,7 @@ class sendmail::client inherits sendmail::common {
"ubuntu" => "smmsp",
default => "root",
},
mode => 0644,
mode => "0644",
source => $operatingsystem ? {
"openbsd" => "/usr/share/sendmail/cf/submit.cf",
default => undef,
@ -141,7 +141,7 @@ class sendmail::server inherits sendmail::common {
content => template("sendmail/sendmail.mc.erb"),
owner => "root",
group => $group,
mode => 0644,
mode => "0644",
notify => Exec["make sendmail.cf"],
}
@ -150,7 +150,7 @@ class sendmail::server inherits sendmail::common {
notify => Exec["newaliases"],
owner => "root",
group => $group,
mode => 0644,
mode => "0644",
}
exec { "make sendmail.cf":
@ -170,7 +170,7 @@ class sendmail::server inherits sendmail::common {
ensure => present,
owner => "root",
group => $group,
mode => 0644,
mode => "0644",
source => $operatingsystem ? {
openbsd => "/usr/share/sendmail/cf/sendmail.cf",
default => undef,