Defined Type: mediawiki::files

Defined in:
manifests/files.pp

Overview

Define: mediawiki::files

This defined type manages symbolic links to mediawiki configuration files. WARNING: Only for internal use!

Parameters

target_dir
  • mediawiki installation directory

Examples

mediawiki::files { $link_files:
  target_dir => $target_dir,

}

Authors

Martin Dluhos <martin@gnu.org>

Copyright 2012 Martin Dluhos

Parameters:

  • target_dir (Any)


24
25
26
27
28
29
30
31
32
33
34
# File 'manifests/files.pp', line 24

define mediawiki::files (
  $target_dir
  ) {
  file { $name:
    ensure  => link,
    owner   => 'apache',
    group   => 'apache',
    mode    => '0755',
    target  => gen_target_path($target_dir, $name),
  }
}