Jira (PUP-8590) puppet device --apply does not support pcore
Title: Message Title Thomas Kishel commented on PUP-8590 Re: puppet device --apply does not support pcore This affects the F5/F5 module. Copying from ZenDesk: Failure with apply (test.pp contains same f5_virtualserver resource as site.pp): puppet device --target bigip.example.com -v --apply test.pp --trace Error: Unsupported data type: 'Symbol' on node bigip.example.com /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/scope.rb:835:in `deep_freeze' ... Success without apply: puppet device --target bigip.example.com -v Info: starting applying configuration to bigip.example.com at https://54.188.194.14:443/ Info: Using configured environment 'production' Info: Retrieving pluginfacts Info: Retrieving plugin
Jira (PUP-8590) puppet device --apply does not support pcore
Title: Message Title Rick Sherman commented on PUP-8590 Re: puppet device --apply does not support pcore This was due to facts using symbols vs strings: -facts[:osfamily] = 'cisco-ios-xe' -facts[:os][:family] = 'cisco-ios-xe' -facts[:operatingsystem] = 'IOS-XE' -facts[:os][:name] = 'IOS-XE' +facts['osfamily'] = 'cisco-ios-xe' +facts['os']['family'] = 'cisco-ios-xe' +facts['operatingsystem'] = 'IOS-XE' +facts['os']['name'] = 'IOS-XE' Add Comment
Jira (PUP-8590) puppet device --apply does not support pcore
Title: Message Title Rick Sherman created an issue Puppet / PUP-8590 puppet device --apply does not support pcore Issue Type: Bug Assignee: Unassigned Created: 2018/03/22 3:49 PM Priority: Normal Reporter: Rick Sherman When trying to use pcore types the apply functionality in `puppet device` errors. Error: Unsupported data type: 'Symbol' on node csr1kv-local-1 /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/scope.rb:832:in `deep_freeze' /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/scope.rb:825:in `block in deep_freeze' /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/scope.rb:825:in `each' /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/scope.rb:825:in `deep_freeze' /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/scope.rb:808:in `set_facts'