From 3f379c2a19006fe21da9775c2fa9649d8e1bd8c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Sat, 30 Jun 2018 17:50:07 +0200 Subject: Fix apache owner --- modules/profile/manifests/apache.pp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'modules/profile') diff --git a/modules/profile/manifests/apache.pp b/modules/profile/manifests/apache.pp index 382633b..7187350 100644 --- a/modules/profile/manifests/apache.pp +++ b/modules/profile/manifests/apache.pp @@ -4,6 +4,8 @@ class profile::apache { root_directory_options => ["All"], default_mods => false, default_vhost => false, + user => "http", + group => "http", log_formats => { combined => '%v %h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %p', common => '%h %l %u %t \"%r\" %>s %b', -- cgit v1.2.3 From 77d4b0b7672ee0a840fb721463964c7edf0eb044 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Sat, 30 Jun 2018 18:06:26 +0200 Subject: Fix duplicate package ruby-augeas --- modules/profile/manifests/redis.pp | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'modules/profile') diff --git a/modules/profile/manifests/redis.pp b/modules/profile/manifests/redis.pp index 79871b1..d912c59 100644 --- a/modules/profile/manifests/redis.pp +++ b/modules/profile/manifests/redis.pp @@ -17,9 +17,8 @@ class profile::redis { notify => Service["redis"], } - package { "ruby-augeas": - ensure => installed, - } -> + ensure_packages(["ruby-augeas"]) + class { '::redis': unixsocket => "/run/redis/redis.sock", unixsocketperm => "777", @@ -28,7 +27,10 @@ class profile::redis { config_file => "/etc/redis.conf", config_file_orig => "/etc/redis.conf.puppet", port => 0, - require => File["/etc/systemd/system/redis.service.d/socket_shutdown.conf"], + require => [ + File["/etc/systemd/system/redis.service.d/socket_shutdown.conf"], + Package["ruby-augeas"] + ] } } -- cgit v1.2.3