Skip to content

Instantly share code, notes, and snippets.

@tmtk75
Created December 29, 2013 03:40
Show Gist options
  • Select an option

  • Save tmtk75/8167156 to your computer and use it in GitHub Desktop.

Select an option

Save tmtk75/8167156 to your computer and use it in GitHub Desktop.
class vagrant {
include vagrant::install::centos
}
class vagrant::install::centos {
$rpm_url = "https://dl.bintray.com/mitchellh/vagrant/vagrant_1.4.0_i686.rpm"
exec { vagrant:
command => "rpm -Uvh ${rpm_url}",
creates => "/usr/bin/vagrant",
path => '/usr/bin:/usr/sbin:/bin:/usr/local/bin',
}
}
include vagrant
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment