Fixing syntax issue with puppet server 5.3
Fixing syntax issue with puppet server 5.3

Probably some issue with jruby parser.
Using more simple syntax fixed the issue

Error: Could not retrieve catalog from remote server: Error 500 on
SERVER: Server Error: Evaluation Error: Error while evaluating a
Resource Statement, Could not autoload puppet/type/firewalld_zone: Could
not autoload puppet/type/firewalld_rich_rule:
/etc/puppetlabs/code/environments/firewalld/modules/firewalld/lib/puppet_x/firewalld/property/rich_rule_action.rb:10:
unknown type of %string
            if value.keys.sort != %i[action type]
                                                ^
(file: /etc/puppetlabs/code/environments/firewalld/modules/firewalld/manifests/init.pp, line: 117, column: 7) on node test.example.com
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run

crayfishx/puppet-firewalld,crayfishx/puppet-firewalld