Skip to content

Commit

Permalink
foo
Browse files Browse the repository at this point in the history
  • Loading branch information
bschonec committed Jan 14, 2025
1 parent 8aa832e commit a16a483
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions manifests/functions/create_export.pp
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,15 @@
}

# Create the directory path only if a File resource isn't
# # defined previously AND the $create_dir boolean is true.
# defined previously AND the $create_dir boolean is true.
unless defined(File[$name]) {
if $create_dir {
file { $name:
ensure => directory,
owner => $owner,
group => $group,
mode => $mode,
ensure => directory,
owner => $owner,
group => $group,
mode => $mode,
selinux_ignore_defaults => true,
}
}
}
Expand Down

0 comments on commit a16a483

Please sign in to comment.