Skip to content

Commit

Permalink
(SIMP-MAINT) Fix call to Hiera.warn (#85)
Browse files Browse the repository at this point in the history
  • Loading branch information
trevor-vaughan authored Jun 26, 2019
1 parent 2c03517 commit 72efead
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
* Tue Jun 25 2019 Trevor Vaughan <[email protected]> - 2.4.5-0
- Fix call to Hiera.warn in the compliance mapper

* Mon Jun 24 2019 Trevor Vaughan <[email protected]> - 2.4.4-0
- Revert change from __dir__ to File.dirname(__FILE__) in compliance_map.rb due
to discovered incompatibility with some puppetserver configurations.
Expand Down
2 changes: 1 addition & 1 deletion lib/puppetx/simp/compliance_mapper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ def load(&block)
@compliance_data[filename] = JSON.parse(File.read(filename))
end
rescue
Hiera.warn(%{compliance_engine: Invalid '#{type}' file found at '#{filename}'})
warn(%{compliance_engine: Invalid '#{type}' file found at '#{filename}'})
end
end
end
Expand Down
2 changes: 1 addition & 1 deletion metadata.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "simp-compliance_markup",
"version": "2.4.4",
"version": "2.4.5",
"author": "SIMP Team",
"summary": "Compliance-mapping annotation for Puppet code",
"license": "Apache-2.0",
Expand Down

0 comments on commit 72efead

Please sign in to comment.