lib/vagrant-invade/validator/provision/puppet_apply.rb in vagrant-invade-0.4.1 vs lib/vagrant-invade/validator/provision/puppet_apply.rb in vagrant-invade-0.4.2

- old
+ new

@@ -10,11 +10,11 @@ attr_accessor :env attr_accessor :puppet_apply DEFAULT = { - 'modules_path' => '.puppet/modules', + 'module_path' => '.puppet/modules', 'manifests_path' => './puppet/manifests', 'manifest_file' => 'init.pp', 'hiera_config_path' => nil, 'facter' => {} } @@ -27,11 +27,11 @@ def validate return nil unless @puppet_apply # MODULES PATH - @puppet_apply['modules_path'] = Validator.validate_array( - @puppet_apply['modules_path'], 'modules_path', DEFAULT['modules_path'] + @puppet_apply['module_path'] = Validator.validate_array( + @puppet_apply['module_path'], 'module_path', DEFAULT['module_path'] ) # MANIFESTS PATH @puppet_apply['manifests_path'] = Validator.validate_string( @puppet_apply['manifests_path'], 'manifests_path', DEFAULT['manifests_path']