summaryrefslogtreecommitdiff
path: root/puppet/modules/site_config/manifests/default.pp
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2013-10-16 00:02:27 +0200
committervarac <varacanero@zeromail.org>2013-10-16 00:02:27 +0200
commit27f6e30c0096970c49efcf572227d39fe5612ed9 (patch)
tree50eaec5ef585f5b8722837cafbf746dcc201ddcf /puppet/modules/site_config/manifests/default.pp
parentd4ba280889651c16ffe99e3e2136a02665240e70 (diff)
vagrant: support other providers besides virtualbox (Bug #4158)
Diffstat (limited to 'puppet/modules/site_config/manifests/default.pp')
-rw-r--r--puppet/modules/site_config/manifests/default.pp3
1 files changed, 2 insertions, 1 deletions
diff --git a/puppet/modules/site_config/manifests/default.pp b/puppet/modules/site_config/manifests/default.pp
index a645cb1a..c7243d5f 100644
--- a/puppet/modules/site_config/manifests/default.pp
+++ b/puppet/modules/site_config/manifests/default.pp
@@ -2,6 +2,7 @@ class site_config::default {
tag 'leap_base'
$domain_hash = hiera('domain')
+ include site_config::params
# make sure apt is updated before any packages are installed
include apt::update
@@ -32,7 +33,7 @@ class site_config::default {
include site_config::dhclient
}
- if ( $::virtual == 'virtualbox' ) {
+ if ( $::site_config::params::environment == 'local' ) {
include site_config::vagrant
}