Skip to content

Commit

Permalink
use exist? for puppet/filesystem
Browse files Browse the repository at this point in the history
  • Loading branch information
waveclaw committed Oct 25, 2017
1 parent eda377d commit cbcd42c
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
2017-10-23 Release 0.2.1
- Use exit? for puppet/file_system

2016-05-16 Release 0.1.1
- Update documentation with examples for testing
- Drop ruby 1.8.7 for rake requires 1.9.3 or later now
Expand Down
2 changes: 1 addition & 1 deletion lib/puppet/feature/facter_cacheable.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
else
# use default
if !Puppet::Util::Platform.windows?
Puppet::FileSystem.exist('/var/lib/puppet/facts.d')
Puppet::FileSystem.exist?('/var/lib/puppet/facts.d')
end
end
end
15 changes: 6 additions & 9 deletions metadata.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "waveclaw-facter_cacheable",
"version": "0.2.0",
"version": "0.2.1",
"author": "JD Powell <[email protected]>",
"summary": "Provide a Cache for Facter facts",
"license": "Apache-2.0",
Expand All @@ -26,39 +26,36 @@
{
"operatingsystem":"SLES",
"operatingsystemrelease":[
"11.0",
"12.1",
"12.2"
"12.2",
"12.3"
]
},
{
"operatingsystem":"openSUSE",
"operatingsystemrelease":[
"13.1",
"13.2",
"42.1"
"42.1",
"42.2",
"42.3"
]
},
{
"operatingsystem":"RedHat",
"operatingsystemrelease":[
"5.0",
"6.0",
"7.0"
]
},
{
"operatingsystem":"CentOS",
"operatingsystemrelease":[
"5.0",
"6.0",
"7.0"
]
},
{
"operatingsystem":"Scientific",
"operatingsystemrelease":[
"5.0",
"6.0",
"7.0"
]
Expand Down

0 comments on commit cbcd42c

Please sign in to comment.