Sha256: 9c01343db1a520c4f551d99c7c1e100d3215853f445bce7630a236c726debefc

Contents?: true

Size: 758 Bytes

Versions: 32

Compression:

Stored size: 758 Bytes

Contents

class freighthop::language::clojure(
){
  $lein_url = 'https://github.com/technomancy/leiningen/raw/stable/bin/lein'
  $lein_home = '/usr/local/lein'

  package { 'leiningen/java':
    name => 'openjdk-6-jdk'
  } ->

  package { 'leiningen/install-wget':
    name   => 'wget',
  } ->

  exec { 'leiningen/download-script':
    cwd     => '/usr/local/bin',
    command => "wget ${lein_url} && chmod 755 lein",
    creates => '/usr/local/bin/lein',
  } ->

  file { '/etc/profile.d/leiningen.sh':
    content => template('freighthop/profile/leiningen.sh.erb'),
    owner   => 'root',
    group   => 'root',
    mode    => '0755',
  }

  Exec {
    path => [
      '/usr/local/bin',
      '/usr/bin',
      '/usr/sbin',
      '/bin',
      '/sbin',
    ]
  }
}

Version data entries

32 entries across 16 versions & 1 rubygems

Version Path
freighthop-0.3.0 local_modules/freighthop/manifests/language/clojure.pp
freighthop-0.3.0 modules/freighthop/manifests/language/clojure.pp
freighthop-0.2.1 local_modules/freighthop/manifests/language/clojure.pp
freighthop-0.2.1 modules/freighthop/manifests/language/clojure.pp
freighthop-0.2.0 modules/freighthop/manifests/language/clojure.pp
freighthop-0.2.0 local_modules/freighthop/manifests/language/clojure.pp
freighthop-0.1.0 modules/freighthop/manifests/language/clojure.pp
freighthop-0.1.0 local_modules/freighthop/manifests/language/clojure.pp
freighthop-0.0.6 local_modules/freighthop/manifests/language/clojure.pp
freighthop-0.0.6 modules/freighthop/manifests/language/clojure.pp
freighthop-0.0.5 modules/freighthop/manifests/language/clojure.pp
freighthop-0.0.5 local_modules/freighthop/manifests/language/clojure.pp