diff options
author | Gabriel Filion <lelutin@gmail.com> | 2011-09-19 15:11:32 -0400 |
---|---|---|
committer | Gabriel Filion <lelutin@gmail.com> | 2011-12-09 10:34:18 -0500 |
commit | 08f6c9b218893ea94b3611d687a56090e7fea5b2 (patch) | |
tree | 8061989c9544091f9dc33a64396d0a4e65eaf9d7 /manifests/file.pp | |
parent | a51e1de81e1200751613216ab7a074e82a5dc1c8 (diff) |
config: Implement config files as links
Some packages in Debian manage an Apache config file in their own /etc
directory and create a link to that file in Apache's conf.d directory.
One example package that does this is nagios3.
Introduce a new argument, $target, that can be used to specify the link
destination. When using $target, the value to $ensure must also be
'link' to make the file into a symbolic link. This is to make it
explicit when we want the apache::config::file to behave differently
than the normal behaviour of creating a plain text file in conf.d.
Signed-off-by: Gabriel Filion <lelutin@gmail.com>
Diffstat (limited to 'manifests/file.pp')
0 files changed, 0 insertions, 0 deletions