From d3194f4d560c281faabc8e02ac1fe7e2eede38d2 Mon Sep 17 00:00:00 2001 From: thomashaw Date: Tue, 6 Sep 2016 13:21:00 +0100 Subject: [PATCH] Fix: Added a file resource for the /usr/lib/cgi-bin/ directory. --- .../services/unix/http/apache_bash_cgi/manifests/init.pp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/modules/services/unix/http/apache_bash_cgi/manifests/init.pp b/modules/services/unix/http/apache_bash_cgi/manifests/init.pp index 3a0114bba..0e53bbe5e 100644 --- a/modules/services/unix/http/apache_bash_cgi/manifests/init.pp +++ b/modules/services/unix/http/apache_bash_cgi/manifests/init.pp @@ -1,7 +1,11 @@ class apache_bash_cgi::init { + file { '/usr/lib/cgi-bin/': + ensure => directory, + } + file { '/usr/lib/cgi-bin/test.cgi': + ensure => file, source => 'puppet:///modules/apache_bash_cgi/test.cgi', - ensure => present, mode => '755', } } \ No newline at end of file