summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJerome Charaoui <jcharaoui@cmaisonneuve.qc.ca>2015-05-21 14:53:06 -0400
committerJerome Charaoui <jcharaoui@cmaisonneuve.qc.ca>2015-05-21 14:56:54 -0400
commit55677983a65e03efda27b5ec9419c77ce9b8f72a (patch)
tree20e098356790f350a30ac8b0dc461f2d49b21110
parent4c750e29d48a462f2afccdf0f62625a40cab9ef8 (diff)
Fix storeconfig dependencies on Debian
-rw-r--r--manifests/master/storeconfigs.pp9
1 files changed, 8 insertions, 1 deletions
diff --git a/manifests/master/storeconfigs.pp b/manifests/master/storeconfigs.pp
index fed4c26..5099fe5 100644
--- a/manifests/master/storeconfigs.pp
+++ b/manifests/master/storeconfigs.pp
@@ -2,6 +2,13 @@
# so storeconfigs works.
class puppet::master::storeconfigs {
- include rails
+ if $::operatingsystem == 'Debian' {
+ ensure_packages(['ruby-activerecord'])
+ if $::operatingsystemmajrelease == 8 {
+ ensure_packages(['ruby-activerecord-deprecated-finders'])
+ }
+ } else {
+ include rails
+ }
include mysql::client::ruby
}