summaryrefslogtreecommitdiff
path: root/vagrant/install-platform.pp
blob: 012a0eb07c2391c9e26e46a32e9a7da2789dc39f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
class {'apt': }
File['/etc/apt/preferences'] ->
  Exec['refresh_apt'] ->
    Package <| ( title != 'lsb' ) |>

package { [ 'rsync', 'ruby-hiera-puppet', 'git', 'ruby1.9.1-dev', 'rake', 'jq' ]:
  ensure => installed
}

package { 'leap_cli':
  ensure   => latest,
  provider => 'gem',
  require  => Package['ruby1.9.1-dev']
}

file { [ '/srv/leap', '/srv/leap/configuration', '/var/log/leap' ]:
  ensure => directory
}