Sha256: c050bc6bca481d0b56e83693eaebbdc57f036f91dafade14e81799878193863c

Contents?: true

Size: 387 Bytes

Versions: 70

Compression:

Stored size: 387 Bytes

Contents

class ruby::rubygems {
  package { "rubygems": 
    ensure => present,
    tag    => "puppet"
  }

  exec { "export-rubygems-path":
    command => "echo 'export PATH=\$PATH:/var/lib/gems/1.8/bin' >> /etc/bash.bashrc",
    path    => "/bin:/usr/bin",
    unless  => "grep -c '/var/lib/gems/1.8/bin' /etc/bash.bashrc",
    require => [ Package["rubygems"] ],
    tag     => "puppet"
  }
}

Version data entries

70 entries across 70 versions & 1 rubygems

Version Path
flapjack-0.6.29 dist/puppet/ruby/manifests/rubygems.pp
flapjack-0.6.28 dist/puppet/ruby/manifests/rubygems.pp
flapjack-0.6.27 dist/puppet/ruby/manifests/rubygems.pp
flapjack-0.6.26 dist/puppet/ruby/manifests/rubygems.pp
flapjack-0.6.25 dist/puppet/ruby/manifests/rubygems.pp
flapjack-0.6.24 dist/puppet/ruby/manifests/rubygems.pp
flapjack-0.6.23 dist/puppet/ruby/manifests/rubygems.pp
flapjack-0.5.5 dist/puppet/ruby/manifests/rubygems.pp
flapjack-0.5.4 dist/puppet/ruby/manifests/rubygems.pp
flapjack-0.5.3 dist/puppet/ruby/manifests/rubygems.pp