Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
Puppet Camptocamp Postfix
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Projets publics
Puppet Camptocamp Postfix
Commits
8a23f6d5
Commit
8a23f6d5
authored
Aug 28, 2009
by
Marc Fournier
Browse files
Options
Downloads
Patches
Plain Diff
postfix: ensure had no default value in definitions.
parent
1c249d42
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
manifests/definitions/hash.pp
+2
-2
2 additions, 2 deletions
manifests/definitions/hash.pp
manifests/definitions/transport.pp
+3
-3
3 additions, 3 deletions
manifests/definitions/transport.pp
manifests/definitions/virtual.pp
+3
-3
3 additions, 3 deletions
manifests/definitions/virtual.pp
with
8 additions
and
8 deletions
manifests/definitions/hash.pp
+
2
−
2
View file @
8a23f6d5
...
...
@@ -9,7 +9,7 @@ Note: the content of the file is not managed by this definition.
Parameters
:
-
*
name
*
:
the
name
of
the
map
file
.
-
*
ensure
*
:
present
/
absent
-
*
ensure
*
:
present
/
absent
,
defaults
to
present
Requires
:
-
Class
[
"postfix"
]
...
...
@@ -29,7 +29,7 @@ Example usage:
}
*/
define
postfix::hash
(
$ensure
)
{
define
postfix::hash
(
$ensure
=
"present"
)
{
# selinux labels differ from one distribution to another
case
$operatingsystem
{
...
...
This diff is collapsed.
Click to expand it.
manifests/definitions/transport.pp
+
3
−
3
View file @
8a23f6d5
...
...
@@ -6,7 +6,7 @@ Manages content of the /etc/postfix/transport map.
Parameters
:
-
*
name
*
:
name
of
address
postfix
will
lookup
.
See
transport
(
5
)
.
-
*
destination
*
:
where
the
emails
will
be
delivered
to
.
See
transport
(
5
)
.
-
*
ensure
*
:
present
/
absent
-
*
ensure
*
:
present
/
absent
,
defaults
to
present
.
Requires
:
-
Class
[
"postfix"
]
...
...
@@ -33,9 +33,9 @@ Example usage:
}
*/
define
postfix::transport
(
$ensure
,
$destination
)
{
define
postfix::transport
(
$ensure
=
"present"
,
$destination
)
{
line
{
"
${name}
${destination}
"
:
ensure
=>
present
,
ensure
=>
$ensure
,
file
=>
"/etc/postfix/transport"
,
line
=>
"
${name}
${destination}
"
,
notify
=>
Exec
[
"generate /etc/postfix/transport.db"
],
...
...
This diff is collapsed.
Click to expand it.
manifests/definitions/virtual.pp
+
3
−
3
View file @
8a23f6d5
...
...
@@ -6,7 +6,7 @@ Manages content of the /etc/postfix/virtual map.
Parameters
:
-
*
name
*
:
name
of
address
postfix
will
lookup
.
See
virtual
(
8
)
.
-
*
destination
*
:
where
the
emails
will
be
delivered
to
.
See
virtual
(
8
)
.
-
*
ensure
*
:
present
/
absent
-
*
ensure
*
:
present
/
absent
,
defaults
to
present
.
Requires
:
-
Class
[
"postfix"
]
...
...
@@ -33,9 +33,9 @@ Example usage:
}
*/
define
postfix::virtual
(
$ensure
,
$destination
)
{
define
postfix::virtual
(
$ensure
=
"present"
,
$destination
)
{
line
{
"
${name}
${destination}
"
:
ensure
=>
present
,
ensure
=>
$ensure
,
file
=>
"/etc/postfix/virtual"
,
line
=>
"
${name}
${destination}
"
,
notify
=>
Exec
[
"generate /etc/postfix/virtual.db"
],
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment