# common/manifests/defines/config_file.pp -- put a config file with default permissions # Copyright (C) 2007 David Schmitt # See LICENSE for the full license granted to you. # Usage: # config_file { filename: # content => "....\n", # } define config_file ($content) { file { $name: content => $content, # keep old versions on the server backup => server, # default permissions for config files mode => 0644, owner => root, group => root, # really detect changes to this file checksum => md5, } }