Skip to content

Commit d6711f7

Browse files
author
armab
committed
Add some tests for deb/rpm /etc/logrotate.d/ configs
1 parent aa7fbee commit d6711f7

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

rake/spec/spec_helper.rb

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,13 +84,15 @@ class ST2Spec
8484
/opt/stackstorm/packs),
8585
mistral: [
8686
'/etc/mistral',
87+
'/etc/logrotate.d',
88+
'/opt/stackstorm/mistral',
8789
[ '/var/log/mistral', example: Proc.new {|_| be_writable.by('owner')} ]
8890
]
8991
},
9092

9193
package_has_files: {
92-
st2common: %w(/etc/st2/st2.conf),
93-
mistral: %w(/etc/mistral/mistral.conf)
94+
st2common: %w(/etc/st2/st2.conf /etc/logrotate.d/st2),
95+
mistral: %w(/etc/mistral/mistral.conf /etc/logrotate.d/mistral)
9496
},
9597

9698
package_has_users: {

0 commit comments

Comments
 (0)