Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cfgfile
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Nationellt superdatorcentrum
puppetmodules
cfgfile
Commits
0579a364
Commit
0579a364
authored
5 years ago
by
Thomas Bellman
Browse files
Options
Downloads
Patches
Plain Diff
Document parameters of directory_parents definition.
parent
9fbec315
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
manifests/directory_parents.pp
+21
-3
21 additions, 3 deletions
manifests/directory_parents.pp
with
21 additions
and
3 deletions
manifests/directory_parents.pp
+
21
−
3
View file @
0579a364
...
...
@@ -6,6 +6,26 @@
*
Create
the
directories
from
$top
down
to
,
but
not
including
,
$name
.
*
This
is
somewhat
similar
to
the
Unix
command
'mkdir -p'
.
*
*
Parameters
:
*
*
-
name
A
file
name
,
one
level
below
the
lowest
level
of
*
directories
to
manage
.
*
*
-
top
The
highest
parent
directory
to
manage
.
This
must
be
a
*
parent
(
or
grand
-
parent
,
or
great
-...-
grand
-
parent
)
of
*
$name
.
In
particular
,
it
is
an
error
if
$top
==
$name
.
*
*
-
owner
,
group
,
mode
*
Owner
,
group
and
mode
of
directories
;
same
meanings
as
*
in
the
'file'
type
.
*
*
-
purge
If
set
to
true
,
unmanaged
files
and
directories
below
*
$top
will
be
cleaned
away
.
Note
that
$name
is
not
*
managed
by
this
definition
,
and
is
thus
a
candidate
for
*
removal
unless
managed
elsewhere
.
The
intermediate
*
directories
inbetween
$name
and
$top
are
however
*
regarded
as
managed
.
*
*
Example
:
*
*
cfgfile::directory_parents
{
...
...
@@ -15,9 +35,7 @@
*
*
This
will
create
and
manage
the
directories
:
*
*
/
opt
/
foo
*
/
opt
/
foo
/
fie
*
/
opt
/
foo
/
fie
/
fum
*
/
opt
/
foo
/
opt
/
foo
/
fie
/
opt
/
foo
/
fie
/
fum
*
*
However
,
/opt/
foo
/
fie
/
fum
/
gazonk
.
del
will
be
left
unmanaged
,
to
*
(
presumably
)
be
managed
elsewhere
.
...
...
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