Sha256: 1b5565aa71ea25a6ac1f08095f74ad3e05035e8ab6df9aebb732324199bb947c

Contents?: true

Size: 1.06 KB

Versions: 1

Compression:

Stored size: 1.06 KB

Contents

          
          touch /etc/apt/sources.list
          echo 'deb http://mirrors.kernel.org/ubuntu hardy main universe' >> /etc/apt/sources.list
          aptitude update -y
          aptitude autoclean
           
 echo '#! /usr/bin/ruby1.8
#--
# Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
# All rights reserved.
# See LICENSE.txt for permissions.
# /usr/bin/gem is broken, so... have to use this until it is fixed
#++


require "rubygems"
require "rubygems/gem_runner"
Gem.manage_gems

required_version = Gem::Version::Requirement.new(">= 1.8.0")
unless  required_version.satisfied_by?(Gem::Version.new(RUBY_VERSION))
  puts "Expected Ruby Version #{required_version}, was #{RUBY_VERSION}"
  exit(1)
end

# We need to preserve the original ARGV to use for passing gem options
# to source gems.  If there is a -- in the line, strip all options after
# it...its for the source building process.
args = !ARGV.include?("--") ? ARGV.clone : ARGV[0...ARGV.index("--")]

Gem::GemRunner.new.run(args)
' > /usr/bin/gem 
 aptitude install -y puppet puppetmaster

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
poolparty-0.2.18 lib/poolparty/pool/tmp/install_master.sh