summaryrefslogtreecommitdiff
path: root/spec/acceptance/is_ip_address_spec.rb
diff options
context:
space:
mode:
authorDominic Cleal <dominic@cleal.org>2017-02-03 12:37:27 +0000
committerDominic Cleal <dominic@cleal.org>2017-02-04 10:24:32 +0100
commit89a36c67d8efe22a16c2ce8ab2a40fc69ce589b2 (patch)
tree525988f27f164ebd164a6edb0d86246086d70c35 /spec/acceptance/is_ip_address_spec.rb
parentb65dd1f45d10e10e45455358aeabb29167990e2c (diff)
Fix unsupported data type error with rspec-puppet master
The symbol used in the value of the facts hash is not a valid type of value for facts, and results in the following error since rspec-puppet@d50acf0e. Puppet::Error: Unsupported data type: 'Symbol' # puppet/lib/puppet/parser/scope.rb:788:in `deep_freeze' # puppet/lib/puppet/parser/scope.rb:781:in `block in deep_freeze' # puppet/lib/puppet/parser/scope.rb:781:in `each' # puppet/lib/puppet/parser/scope.rb:781:in `deep_freeze' # puppet/lib/puppet/parser/scope.rb:764:in `set_facts' # puppet/lib/puppet/parser/compiler.rb:850:in `set_node_parameters' # puppet/lib/puppet/parser/compiler.rb:166:in `block (2 levels) in compile' # puppet/lib/puppet/util/profiler/around_profiler.rb:58:in `profile' # puppet/lib/puppet/util/profiler.rb:51:in `profile' # puppet/lib/puppet/parser/compiler.rb:166:in `block in compile' # puppet/lib/puppet/context.rb:65:in `override' # puppet/lib/puppet.rb:293:in `override' # puppet/lib/puppet/parser/compiler.rb:162:in `compile' # rspec-puppet/lib/rspec-puppet/example/function_example_group.rb:161:in `build_compiler' The fact's presence doesn't change the behaviour, so remove it.
Diffstat (limited to 'spec/acceptance/is_ip_address_spec.rb')
0 files changed, 0 insertions, 0 deletions