summaryrefslogtreecommitdiff
path: root/puppet
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2017-05-23 13:56:57 +0200
committervarac <varacanero@zeromail.org>2017-05-23 14:19:56 +0200
commitd2824a6bc1178c6c2ce4923faacfde8e05f8389a (patch)
tree89ef7e31e70c696ef234cbceef431bfdb1cf1d4e /puppet
parent0dec9e7305001353beca3b32e180bc9e707ce8b9 (diff)
Include site_config::vagrant on vagrant nodes
Diffstat (limited to 'puppet')
-rw-r--r--puppet/modules/site_config/manifests/setup.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/puppet/modules/site_config/manifests/setup.pp b/puppet/modules/site_config/manifests/setup.pp
index 82dfe76d..a96f87a6 100644
--- a/puppet/modules/site_config/manifests/setup.pp
+++ b/puppet/modules/site_config/manifests/setup.pp
@@ -37,7 +37,7 @@ class site_config::setup {
# we need to include shorewall::interface{eth0} in setup.pp so
# packages can be installed during main puppetrun, even before shorewall
# is configured completly
- if ( $::site_config::params::environment == 'local' ) {
+ if $::vagrant {
include site_config::vagrant
}