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.6.1 modules/freighthop/manifests/language/clojure.pp
freighthop-0.6.1 local_modules/freighthop/manifests/language/clojure.pp
freighthop-0.6.0 modules/freighthop/manifests/language/clojure.pp
freighthop-0.6.0 local_modules/freighthop/manifests/language/clojure.pp
freighthop-0.5.2 local_modules/freighthop/manifests/language/clojure.pp
freighthop-0.5.2 modules/freighthop/manifests/language/clojure.pp
freighthop-0.5.1 modules/freighthop/manifests/language/clojure.pp
freighthop-0.5.1 local_modules/freighthop/manifests/language/clojure.pp
freighthop-0.5.0 modules/freighthop/manifests/language/clojure.pp
freighthop-0.5.0 local_modules/freighthop/manifests/language/clojure.pp
freighthop-0.4.1 modules/freighthop/manifests/language/clojure.pp
freighthop-0.4.1 local_modules/freighthop/manifests/language/clojure.pp
freighthop-0.4.0 modules/freighthop/manifests/language/clojure.pp
freighthop-0.4.0 local_modules/freighthop/manifests/language/clojure.pp
freighthop-0.3.3 local_modules/freighthop/manifests/language/clojure.pp
freighthop-0.3.3 modules/freighthop/manifests/language/clojure.pp
freighthop-0.3.2 modules/freighthop/manifests/language/clojure.pp
freighthop-0.3.2 local_modules/freighthop/manifests/language/clojure.pp
freighthop-0.3.1 modules/freighthop/manifests/language/clojure.pp
freighthop-0.3.1 local_modules/freighthop/manifests/language/clojure.pp