Puppet Users, 

I am in the process of finally upgrading from puppet 3.x to puppet 4.10.1. 
As a part of that I am finding I need to update several pieces of my code 
but the most confusing one is this: 

When I run puppet master --compile I get this resource: 
    {
      "type": "Package",
      "title": "java_properties",
      "tags": ["package","java_properties","class","linux_common"],
      "file": 
"/etc/puppetlabs/code/environments/production/modules/linux_common/manifests/init.pp",
      "line": 47,
      "exported": false,
      "parameters": {
        "ensure": "present",
        "provider": "gem",
        "install_options": [
          [
            "--clear-sources",
            {
              "--source": "http://geminabox.example.com:8008/";
            }
          ]
        ],
        "allow_virtual": false
      }
    },

When I try to run this same host against the puppetserver I get this error: 
Error: Failed to apply catalog: Parameter install_options failed on 
Package[java_properties]: Expected either a string or hash of options at 
/etc/puppetlabs/code/environments/production/modules/linux_common/manifests/init.pp:47

Any ideas? 

This used to work under the old puppetserver I was running with puppet 3.8. 

-- 
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/335e2a63-bec0-448f-ba4e-1132ed49a0e5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to