summaryrefslogtreecommitdiff
path: root/manifests/config/file.pp
AgeCommit message (Collapse)Author
2011-12-09config: Implement config files as linksGabriel Filion
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>
2011-12-09allow custom config file source in the form of an arrayJerome Charaoui
The $source argument is not flexible enough as it is. It currently forces the source to be unique. Sometimes we'd like to be able to specify an array of possible sources. So we'll use the $source directly with the file resource without enforcing its format. WATCH OUT: this could break currently deployed apache::config::file resources, so one should change occurences of this resource's argument from: source => "modules/site-apache/blah" to a full source specification string: source => "puppet:///modules/site-apache/blah"
2009-12-23simplify config subclassesJerome Charaoui
2009-12-23introduce config::global for global configs in conf.d and config::include ↵Jerome Charaoui
for vhost snippets in include.d
2009-11-14update apache module to 0.25.x stylemh
2009-11-02recursivly updating file path to new 0.25 stylemh
2009-05-17extracted every define and class in it's own filemh