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

Found value has wrong type, expects a Hash value, got Tuple #537

Open
ianssoftcom opened this issue Sep 27, 2019 · 1 comment
Open

Found value has wrong type, expects a Hash value, got Tuple #537

ianssoftcom opened this issue Sep 27, 2019 · 1 comment

Comments

@ianssoftcom
Copy link

ianssoftcom commented Sep 27, 2019

$real_pools = lookup('php::fpm::pools', Hash, {'strategy' => 'unique'}, $pools)

If I'm reading this correctly, Strategy => Unique returns an array, but the returned value needs to be a Hash.

https://puppet.com/docs/puppet/latest/hiera_merging.html#unique

Probably a stategy of 'Deep' is intended here and in the previous line?

  $real_pools = lookup('php::fpm::pools', Hash, {'strategy' => 'deep', 'merge_hash_arrays' => true}, $pools)
@ianssoftcom
Copy link
Author

Duplicate of #536

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