Module: Berkshelf::Vagrant::EnvHelpers
- Defined in:
- lib/multi_berksfile/env_helpers.rb
Overview
A module of common helper functions that can be mixed into Berkshelf::Vagrant actions
Instance Method Summary collapse
-
#berkshelf_enabled?(env) ⇒ Boolean
Determine if the Berkshelf plugin should be run for the given environment.
Instance Method Details
#berkshelf_enabled?(env) ⇒ Boolean
Determine if the Berkshelf plugin should be run for the given environment
13 14 15 |
# File 'lib/multi_berksfile/env_helpers.rb', line 13 def berkshelf_enabled?(env) env[:machine].config.berkshelf.enabled end |