lib/vagrant-invade/validator/provision/puppet_apply.rb in vagrant-invade-0.4.2 vs lib/vagrant-invade/validator/provision/puppet_apply.rb in vagrant-invade-0.4.3
- old
+ new
@@ -27,10 +27,10 @@
def validate
return nil unless @puppet_apply
# MODULES PATH
- @puppet_apply['module_path'] = Validator.validate_array(
+ @puppet_apply['module_path'] = Validator.validate_string_or_array(
@puppet_apply['module_path'], 'module_path', DEFAULT['module_path']
)
# MANIFESTS PATH
@puppet_apply['manifests_path'] = Validator.validate_string(