Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MIGRATE4_OPTION_TYPE_MISMATCH when attempting to upgrade to 2015.3.x #73

Open
gepandz opened this issue Mar 1, 2016 · 0 comments
Open

Comments

@gepandz
Copy link

gepandz commented Mar 1, 2016

Hi! We are using this module in our 3.8 environment and are looking to go to PE 2015.3.1. That requires that we go to Puppet Language v4 (grumble...), and this module (at tag:v1.7.2) throws the following errors from the catalog_preview tool:

Preview Warnings (by issue)
MIGRATE4_OPTION_TYPE_MISMATCH (1)
/etc/puppetlabs/puppet/environments/ftr_test_puppet4/modules/wget/manifests/fetch.pp:147:5

The line is:

... case $source_hash{
'', undef: {
$command = "wget ${verbose_option}${nocheckcert_option}${no_cookies_option}${header_option}${user_option}${output_option}${flags_joined} "${source}""
...

Apparently, in Puppet Language 4, this throws an error because an empty string will never match a hash object, so it's a syntax error. (https://forge.puppetlabs.com/puppetlabs/catalog_preview#migration-warnings).

Is this already fixed in a higher version that we just aren't pulling in, yet? Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant