diff options
Diffstat (limited to 'manifests/subsystems/utils/ruby.pp')
-rw-r--r-- | manifests/subsystems/utils/ruby.pp | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/manifests/subsystems/utils/ruby.pp b/manifests/subsystems/utils/ruby.pp new file mode 100644 index 0000000..0835632 --- /dev/null +++ b/manifests/subsystems/utils/ruby.pp @@ -0,0 +1,42 @@ +class utils::ruby { + # Gem packages + package { 'capistrano': + ensure => installed, + provider => gem, + require => Package['rubygems'], + } + + # Gem packages + package { 'slideshow': + ensure => installed, + provider => gem, + require => Package['rubygems'], + } + + if !defined(Package['ruby']) { + package { 'ruby': + ensure => installed, + } + } + + if !defined(Package['rubygems']) { + package { 'rubygems': + ensure => installed, + require => Package['ruby'], + } + } + + if !defined(Package['ruby-dev']) { + package { 'ruby-dev': + ensure => installed, + require => Package['ruby'], + } + } + + if !defined(Package['libgpgme-ruby1.8']) { + package { 'libgpgme-ruby1.8': + ensure => installed, + require => Package['ruby'], + } + } +} |