Skip to content

Commit 0748bcd

Browse files
author
Eoghan Glynn
committed
Automatic update
This module update commit was generated by Bade. For more info please check https://github.com/paramite/bade This commit is setting modules to following state: redis - old commit: f4ffa1b - new commit: b820d82
1 parent fd29e1f commit 0748bcd

File tree

4 files changed

+17
-13
lines changed

4 files changed

+17
-13
lines changed

Puppetfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ mod 'rabbitmq',
139139
:git => 'https://github.com/puppetlabs/puppetlabs-rabbitmq.git'
140140

141141
mod 'redis',
142-
:commit => 'f4ffa1b907281472c8572c7dbcee8d2f454f3e27',
142+
:commit => 'b820d82dcf1b4631f6acb63d65be617a2fb64b8a',
143143
:git => 'https://github.com/arioch/puppet-redis.git'
144144

145145
mod 'rsync',

redis/manifests/sentinel.pp

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -136,16 +136,14 @@
136136
file {
137137
$config_file_orig:
138138
ensure => present,
139-
content => template($conf_template);
140-
141-
$config_file:
142139
owner => $service_user,
143140
group => $service_group,
144-
mode => $config_file_mode;
141+
mode => $config_file_mode,
142+
content => template($conf_template);
145143
}
146144

147145
exec {
148-
"cp ${config_file_orig} ${config_file}":
146+
"cp -p ${config_file_orig} ${config_file}":
149147
path => '/usr/bin:/bin',
150148
subscribe => File[$config_file_orig],
151149
notify => Service[$service_name],

redis/metadata.json

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "arioch-redis",
3-
"version": "1.0.2",
3+
"version": "1.0.3",
44
"author": "Tom De Vylder",
55
"summary": "Redis module",
66
"license": "Apache License, Version 2.0",
@@ -37,6 +37,13 @@
3737
"7.5"
3838
]
3939
},
40+
{
41+
"operatingsystem": "Ubuntu",
42+
"operatingsystemrelease": [
43+
"14.04",
44+
"14.10"
45+
]
46+
},
4047
{
4148
"operatingsystem": "RedHat",
4249
"operatingsystemrelease": [
@@ -61,6 +68,8 @@
6168
}
6269
],
6370
"dependencies": [
64-
71+
{
72+
"name": "puppetlabs/apt"
73+
}
6574
]
6675
}

redis/spec/classes/redis_sentinel_spec.rb

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,12 @@
3333

3434
it { should contain_file('/etc/redis/redis-sentinel.conf.puppet').with(
3535
'ensure' => 'present',
36+
'mode' => '0644',
37+
'owner' => 'redis',
3638
'content' => $expected_noparams_content
3739
)
3840
}
3941

40-
it { should contain_file('/etc/redis/redis-sentinel.conf').with(
41-
'mode' => '0644'
42-
)
43-
}
44-
4542
it { should contain_service('redis-sentinel').with(
4643
'ensure' => 'running',
4744
'enable' => 'true',

0 commit comments

Comments
 (0)