Skip to content

Expand file text comparison to cover arrays of sources#151

Merged
kpaulisse merged 4 commits intomasterfrom
kpaulisse-source-array
Oct 18, 2017
Merged

Expand file text comparison to cover arrays of sources#151
kpaulisse merged 4 commits intomasterfrom
kpaulisse-source-array

Conversation

@kpaulisse
Copy link
Contributor

This PR expands the "compare file text" option, which back-fills the actual text of a file into the catalog so that comparison can occur. The change here enables arrays as well:

file { '/tmp/some-file.txt':
  source => ['puppet:///modules/test/some-file.txt.special', 'puppet:///modules/test/some-file.txt'], 
}

Fixes #150

@kpaulisse kpaulisse mentioned this pull request Oct 18, 2017
@kpaulisse kpaulisse merged commit 993943c into master Oct 18, 2017
@kpaulisse kpaulisse deleted the kpaulisse-source-array branch October 18, 2017 13:55
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

Successfully merging this pull request may close these issues.

1 participant