Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Projets publics
Puppet Camptocamp Postfix
Commits
acd4e3ef
Commit
acd4e3ef
authored
Dec 04, 2017
by
Bob Vincent
Committed by
Raphaël Pinson
Jan 16, 2018
Browse files
In fact, all config files should be 640
parent
b7064e28
Changes
2
Hide whitespace changes
Inline
Side-by-side
manifests/conffile.pp
View file @
acd4e3ef
...
...
@@ -21,7 +21,7 @@
#
# [*mode*]
# The file permissions of the file.
# Defaults to 064
4
# Defaults to 064
0
#
# [*options*]
# Hash with options to use in the template
...
...
@@ -48,7 +48,7 @@ define postfix::conffile (
Variant
[
Array
[
String
],
String
,
Undef
]
$source
=
undef
,
Optional
[
String
]
$content
=
undef
,
Stdlib
::
Absolutepath
$path
=
"/etc/postfix/
${name}
"
,
String
$mode
=
'064
4
'
,
String
$mode
=
'064
0
'
,
Hash
$options
=
{},
)
{
include
::postfix::params
...
...
manifests/files.pp
View file @
acd4e3ef
...
...
@@ -39,7 +39,7 @@ class postfix::files {
file
{
'/etc/mailname'
:
ensure
=>
'file'
,
content
=>
"
${::fqdn}
\n
"
,
mode
=>
'064
4
'
,
mode
=>
'064
0
'
,
seltype
=>
$postfix::params::seltype
,
}
...
...
@@ -73,7 +73,7 @@ class postfix::files {
ensure
=>
'file'
,
content
=>
$mastercf_content
,
group
=>
'root'
,
mode
=>
'064
4
'
,
mode
=>
'064
0
'
,
owner
=>
'root'
,
seltype
=>
$postfix::params::seltype
,
source
=>
$mastercf_source
,
...
...
@@ -83,7 +83,7 @@ class postfix::files {
file
{
'/etc/postfix/main.cf'
:
ensure
=>
'file'
,
group
=>
'root'
,
mode
=>
'064
4
'
,
mode
=>
'064
0
'
,
owner
=>
'root'
,
replace
=>
false
,
seltype
=>
$postfix::params::seltype
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment