Created
February 11, 2014 20:54
-
-
Save ekohl/8943924 to your computer and use it in GitHub Desktop.
Revisions
-
ekohl created this gist
Feb 11, 2014 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,25 @@ define foreman::config::passenger::fragment( $content='', $ssl_content='', ) { require foreman::config::passenger file { "${apache::mod_dir}/05-foreman.d/${name}.conf": ensure => present, content => $content, owner => 'root', group => 'root', mode => '0644', notify => Class['apache::service'], } file { "${apache::mod_dir}/05-foreman-ssl.d/${name}.conf": ensure => present, content => $ssl_content, owner => 'root', group => 'root', mode => '0644', notify => Class['apache::service'], } }