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
8157cc71
Commit
8157cc71
authored
Dec 10, 2008
by
Marc Fournier
Browse files
Added selinux types.
parent
28df18c7
Changes
2
Hide whitespace changes
Inline
Side-by-side
manifests/classes/postfix.pp
View file @
8157cc71
...
...
@@ -27,6 +27,7 @@ class postfix-ng {
file
{
"/etc/mailname"
:
ensure
=>
present
,
content
=>
"
${fqdn}
\n
"
,
seltype
=>
"postfix_etc_t"
,
}
# Aliases
...
...
@@ -35,6 +36,7 @@ class postfix-ng {
ensure
=>
present
,
content
=>
"# file managed by puppet
\n
"
,
replace
=>
false
,
seltype
=>
"postfix_etc_t"
,
notify
=>
Exec
[
"newaliases"
],
}
...
...
manifests/definitions/hash.pp
View file @
8157cc71
...
...
@@ -2,12 +2,14 @@ define postfix-ng::hash ($ensure) {
file
{
"
${name}
"
:
ensure
=>
$ensure
,
mode
=>
600
,
seltype
=>
"postfix_etc_t"
,
}
file
{
"
${name}
.db"
:
ensure
=>
$ensure
,
mode
=>
600
,
require
=>
[
File
[
"
${name}
"
],
Exec
[
"generate
${name}
.db"
]],
seltype
=>
"postfix_etc_t"
,
}
exec
{
"generate
${name}
.db"
:
...
...
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