1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# File 'manifests/master/dependencies/rubygems.pp', line 1
class classroom_legacy::master::dependencies::rubygems {
assert_private('This class should not be called directly')
# These are required by rubygems compiling native code
package { ['cmake3', 'gcc', 'zlib', 'zlib-devel']:
ensure => present,
}
# these are used for various scripts
package { ['puppetdb-ruby', 'colorize', 'puppetclassify']:
ensure => present,
provider => puppet_gem,
}
# Several gems won't run OOTB on RHEL or CentOS. Because reasons.
package { 'public_suffix':
ensure => '2.0.5',
provider => gem,
}
# https://github.com/sparklemotion/nokogiri/blob/master/CHANGELOG.md#170--2016-12-26
package { 'nokogiri':
ensure => '1.6.8.1',
provider => gem,
}
package { 'rack':
ensure => '1.6.8',
provider => gem,
}
package { 'rack-contrib':
ensure => '1.8.0',
provider => gem,
}
# This is a soft relationship. It won't fail if showoff isn't included.
Package['nokogiri'] -> Package<| title == 'showoff' |>
Package['public_suffix'] -> Package<| title == 'showoff' |>
Package['rack'] -> Package<| title == 'showoff' |>
Package['rack-contrib'] -> Package<| title == 'showoff' |>
}
|