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.49 dist/puppet/ruby/manifests/rubygems.pp
flapjack-0.6.48 dist/puppet/ruby/manifests/rubygems.pp
flapjack-0.6.47 dist/puppet/ruby/manifests/rubygems.pp
flapjack-0.6.46 dist/puppet/ruby/manifests/rubygems.pp
flapjack-0.6.45 dist/puppet/ruby/manifests/rubygems.pp
flapjack-0.6.44 dist/puppet/ruby/manifests/rubygems.pp
flapjack-0.6.43 dist/puppet/ruby/manifests/rubygems.pp
flapjack-0.6.42 dist/puppet/ruby/manifests/rubygems.pp
flapjack-0.6.41 dist/puppet/ruby/manifests/rubygems.pp
flapjack-0.6.40 dist/puppet/ruby/manifests/rubygems.pp
flapjack-0.6.39 dist/puppet/ruby/manifests/rubygems.pp
flapjack-0.6.38 dist/puppet/ruby/manifests/rubygems.pp
flapjack-0.6.37 dist/puppet/ruby/manifests/rubygems.pp
flapjack-0.6.36 dist/puppet/ruby/manifests/rubygems.pp
flapjack-0.6.35 dist/puppet/ruby/manifests/rubygems.pp
flapjack-0.6.34 dist/puppet/ruby/manifests/rubygems.pp
flapjack-0.6.33 dist/puppet/ruby/manifests/rubygems.pp
flapjack-0.6.32 dist/puppet/ruby/manifests/rubygems.pp
flapjack-0.6.31 dist/puppet/ruby/manifests/rubygems.pp
flapjack-0.6.30 dist/puppet/ruby/manifests/rubygems.pp