On Wed, Sep 10, 2014 at 3:46 AM, Stephan <stephan.eckwei...@admin.ox.ac.uk> wrote:
> Hi All, > > I'm getting the following error: > > Error: Got an uncaught exception of type ArgumentError: comparison of > String with Array failed > /opt/freeware/lib/ruby/vendor_ruby/2.0.0/puppet/property/list.rb:38:in > `sort' > /opt/freeware/lib/ruby/vendor_ruby/2.0.0/puppet/property/list.rb:38:in > `dearrayify' > /opt/freeware/lib/ruby/vendor_ruby/2.0.0/puppet/property/list.rb:48:in > `should' > /opt/freeware/lib/ruby/vendor_ruby/2.0.0/puppet/type/user.rb:365:in `block > (2 levels) in <module:Puppet>' > /opt/freeware/lib/ruby/vendor_ruby/2.0.0/puppet/type.rb:1962:in > `instance_eval' > /opt/freeware/lib/ruby/vendor_ruby/2.0.0/puppet/type.rb:1962:in `block in > autorequire' > /opt/freeware/lib/ruby/vendor_ruby/2.0.0/puppet/type.rb:1940:in `block in > eachautorequire' > /opt/freeware/lib/ruby/vendor_ruby/2.0.0/puppet/type.rb:1939:in `each' > /opt/freeware/lib/ruby/vendor_ruby/2.0.0/puppet/type.rb:1939:in > `eachautorequire' > /opt/freeware/lib/ruby/vendor_ruby/2.0.0/puppet/type.rb:1957:in > `autorequire' > /opt/freeware/lib/ruby/vendor_ruby/2.0.0/puppet/graph/relationship_graph.rb:168:in > `block in build_autorequire_dependencies' > /opt/freeware/lib/ruby/vendor_ruby/2.0.0/puppet/graph/relationship_graph.rb:167:in > `each' > /opt/freeware/lib/ruby/vendor_ruby/2.0.0/puppet/graph/relationship_graph.rb:167:in > `build_autorequire_dependencies' > /opt/freeware/lib/ruby/vendor_ruby/2.0.0/puppet/graph/relationship_graph.rb:25:in > `populate_from' > /opt/freeware/lib/ruby/vendor_ruby/2.0.0/puppet/resource/catalog.rb:195:in > `relationship_graph' > /opt/freeware/lib/ruby/vendor_ruby/2.0.0/puppet/transaction.rb:141:in > `relationship_graph' > /opt/freeware/lib/ruby/vendor_ruby/2.0.0/puppet/transaction.rb:55:in > `evaluate' > /opt/freeware/lib/ruby/vendor_ruby/2.0.0/puppet/resource/catalog.rb:167:in > `block in apply' > /opt/freeware/lib/ruby/vendor_ruby/2.0.0/puppet/util/log.rb:149:in > `with_destination' > /opt/freeware/lib/ruby/vendor_ruby/2.0.0/puppet/transaction/report.rb:112:in > `as_logging_destination' > /opt/freeware/lib/ruby/vendor_ruby/2.0.0/puppet/resource/catalog.rb:166:in > `apply' > /opt/freeware/lib/ruby/vendor_ruby/2.0.0/puppet/configurer.rb:117:in > `block in apply_catalog' > /opt/freeware/lib/ruby/vendor_ruby/2.0.0/puppet/util.rb:161:in `block in > benchmark' > /opt/freeware/lib/ruby/2.0.0/benchmark.rb:296:in `realtime' > /opt/freeware/lib/ruby/vendor_ruby/2.0.0/puppet/util.rb:160:in `benchmark' > /opt/freeware/lib/ruby/vendor_ruby/2.0.0/puppet/configurer.rb:116:in > `apply_catalog' > /opt/freeware/lib/ruby/vendor_ruby/2.0.0/puppet/configurer.rb:191:in `run' > /opt/freeware/lib/ruby/vendor_ruby/2.0.0/puppet/agent.rb:47:in `block (4 > levels) in run' > /opt/freeware/lib/ruby/vendor_ruby/2.0.0/puppet/agent/locker.rb:20:in > `lock' > /opt/freeware/lib/ruby/vendor_ruby/2.0.0/puppet/agent.rb:47:in `block (3 > levels) in run' > /opt/freeware/lib/ruby/vendor_ruby/2.0.0/puppet/agent.rb:117:in > `with_client' > /opt/freeware/lib/ruby/vendor_ruby/2.0.0/puppet/agent.rb:44:in `block (2 > levels) in run' > /opt/freeware/lib/ruby/vendor_ruby/2.0.0/puppet/agent.rb:82:in > `run_in_fork' > /opt/freeware/lib/ruby/vendor_ruby/2.0.0/puppet/agent.rb:43:in `block in > run' > /opt/freeware/lib/ruby/vendor_ruby/2.0.0/puppet/application.rb:179:in > `call' > /opt/freeware/lib/ruby/vendor_ruby/2.0.0/puppet/application.rb:179:in > `controlled_run' > /opt/freeware/lib/ruby/vendor_ruby/2.0.0/puppet/agent.rb:41:in `run' > /opt/freeware/lib/ruby/vendor_ruby/2.0.0/puppet/application/agent.rb:355:in > `onetime' > /opt/freeware/lib/ruby/vendor_ruby/2.0.0/puppet/application/agent.rb:321:in > `run_command' > /opt/freeware/lib/ruby/vendor_ruby/2.0.0/puppet/application.rb:371:in > `block (2 levels) in run' > /opt/freeware/lib/ruby/vendor_ruby/2.0.0/puppet/application.rb:477:in > `plugin_hook' > /opt/freeware/lib/ruby/vendor_ruby/2.0.0/puppet/application.rb:371:in > `block in run' > /opt/freeware/lib/ruby/vendor_ruby/2.0.0/puppet/util.rb:479:in > `exit_on_fail' > /opt/freeware/lib/ruby/vendor_ruby/2.0.0/puppet/application.rb:371:in `run' > /opt/freeware/lib/ruby/vendor_ruby/2.0.0/puppet/util/command_line.rb:137:in > `run' > /opt/freeware/lib/ruby/vendor_ruby/2.0.0/puppet/util/command_line.rb:91:in > `execute' > /opt/freeware/bin/puppet:8:in `<main>' > > I'm seeing this error only when I try to realize a virtual defined > resource: > > User::Config <| title == "joedoe" |> > > The other weird thing is I see this error only on AIX. On Linux it does > exactly what I expect it to do. I'm using puppet 3.6.2 > Stephan, Not sure if this is related or not, but the AIX user provider has some quirks which we'd like to resolve for puppet 4.0. You might take a look at: https://tickets.puppetlabs.com/browse/PUP-3021 And see if that sheds any light. Best, Kylo -- Kylo Ginsberg k...@puppetlabs.com *Join us at **PuppetConf 2014, **September 20-24 in San Francisco - * www.puppetconf.com -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CALsUZFFBbhwkW-GjEnqn2HdFyn7K4MDhtrEt92A3q%2BoS%3D8faUQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.