summaryrefslogtreecommitdiff
path: root/manifests/master/storeconfigs.pp
blob: 5099fe5831663f19132e23965ccddaa28746666d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# This class sets up the necessary ActiveRecord bits
# so storeconfigs works.

class puppet::master::storeconfigs {
  if $::operatingsystem == 'Debian' {
    ensure_packages(['ruby-activerecord'])
    if $::operatingsystemmajrelease == 8 {
      ensure_packages(['ruby-activerecord-deprecated-finders'])
    }
  } else {
    include rails
  }
  include mysql::client::ruby
}