aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2018-06-30 18:06:26 +0200
committerIsmaël Bouya <ismael.bouya@normalesup.org>2018-06-30 18:06:26 +0200
commit77d4b0b7672ee0a840fb721463964c7edf0eb044 (patch)
tree1493379a20cac50f4a0ef703db2e4fbdbca6ac58
parent35a719cb7c2c6c5c1807b75f747782678c359406 (diff)
downloadPuppet-77d4b0b7672ee0a840fb721463964c7edf0eb044.tar.gz
Puppet-77d4b0b7672ee0a840fb721463964c7edf0eb044.tar.zst
Puppet-77d4b0b7672ee0a840fb721463964c7edf0eb044.zip
Fix duplicate package ruby-augeas
-rw-r--r--modules/profile/manifests/redis.pp10
1 files changed, 6 insertions, 4 deletions
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 {
17 notify => Service["redis"], 17 notify => Service["redis"],
18 } 18 }
19 19
20 package { "ruby-augeas": 20 ensure_packages(["ruby-augeas"])
21 ensure => installed, 21
22 } ->
23 class { '::redis': 22 class { '::redis':
24 unixsocket => "/run/redis/redis.sock", 23 unixsocket => "/run/redis/redis.sock",
25 unixsocketperm => "777", 24 unixsocketperm => "777",
@@ -28,7 +27,10 @@ class profile::redis {
28 config_file => "/etc/redis.conf", 27 config_file => "/etc/redis.conf",
29 config_file_orig => "/etc/redis.conf.puppet", 28 config_file_orig => "/etc/redis.conf.puppet",
30 port => 0, 29 port => 0,
31 require => File["/etc/systemd/system/redis.service.d/socket_shutdown.conf"], 30 require => [
31 File["/etc/systemd/system/redis.service.d/socket_shutdown.conf"],
32 Package["ruby-augeas"]
33 ]
32 } 34 }
33 35
34} 36}