Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Lonlone Lee
base
Commits
62854b4c
Commit
62854b4c
authored
Aug 23, 2016
by
Karl Kornel
Browse files
postfix::recipient: Try cleaning up some of the dependencies
parent
8b146cce
Changes
1
Hide whitespace changes
Inline
Side-by-side
manifests/postfix/recipient.pp
View file @
62854b4c
...
@@ -41,7 +41,7 @@ define base::postfix::recipient(
...
@@ -41,7 +41,7 @@ define base::postfix::recipient(
exec
{
"fix-recipient-
${name}
"
:
exec
{
"fix-recipient-
${name}
"
:
command
=>
"sed -i -e 's/^
${name}
..*
\$
/
${line}
/'
${file}
"
,
command
=>
"sed -i -e 's/^
${name}
..*
\$
/
${line}
/'
${file}
"
,
unless
=>
"grep '^
${line}
\$
'
${file}
"
,
unless
=>
"grep '^
${line}
\$
'
${file}
"
,
require
=>
[
Exec
[
"add-recipient-
${name}
"
],
Package
[
'postfix'
]
],
require
=>
Exec
[
"add-recipient-
${name}
"
],
notify
=>
Exec
[
"postmap hash:
${file}
"
],
notify
=>
Exec
[
"postmap hash:
${file}
"
],
}
}
}
}
...
...
Write
Preview
Supports
Markdown
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