Skip to content

Conversation

@tphoney
Copy link
Contributor

@tphoney tphoney commented May 10, 2017

No description provided.

domcleal and others added 6 commits May 9, 2017 12:51
defined_with_params() now returns false for defined types, causing
duplicate resources when using ensure_resources().

Introduced by 4f19c27 in PE-20308.
```
file { '/tmp/somefile':
  ensure => 'file',
}

File['/tmp/somefile'] -> Package <| |>

ensure_packages($somearray)
```

If $somearray is undefined or one of the elements contains an empty
string, an error like the following is thrown:

Could not find resource 'Package[]' for relationship from
'File[/tmp/somefile]' on node $::fqdn
@pmcmaw pmcmaw merged commit 1862076 into master May 10, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants