Sha256: b5e10f9e46c863af3dc69eb9072c2d95207d354a7df96333747b48b74e4ff770

Contents?: true

Size: 722 Bytes

Versions: 2

Compression:

Stored size: 722 Bytes

Contents

# NOTE: This is old and failing tests
class profile::vagrant {
  $version = '1.7.4'

  file { ['/opt/vagrant','/opt/vagrant/packages']:
    ensure => directory,
    owner  => 'root',
    group  => 'root',
    mode   => '0644',
  }

  archive::download { "vagrant_${version}_x86_64.rpm":
    url        => "https://releases.hashicorp.com/vagrant/1.7.4/vagrant_${version}_x86_64.rpm",
    src_target => '/opt/vagrant/packages',
    checksum   => false,
    require    => File['/opt/vagrant/packages'],
  }

  class { '::vagrant':
    ensure  => 'present',
    version => $version,
    source  => "/opt/vagrant/packages/vagrant_${version}_x86_64.rpm",
    require => Archive::Download["vagrant_${version}_x86_64.rpm"],
  }
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
onceover-4.0.0 spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/vagrant.pp
onceover-3.22.0 spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/vagrant.pp