Module: Chef::Sugar::Vagrant
Instance Method Summary collapse
-
#vagrant?(node) ⇒ Boolean
Determine if the current node is running in vagrant mode.
Instance Method Details
#vagrant?(node) ⇒ Boolean
Determine if the current node is running in vagrant mode.
31 32 33 |
# File 'lib/chef/sugar/vagrant.rb', line 31 def vagrant?(node) vagrant_key?(node) || vagrant_domain?(node) || vagrant_user?(node) end |