Moved generic puppet plugins from custom/lib under puppet/lib
This commit is contained in:
parent
dc5cd90bde
commit
2f7b76a47b
7 changed files with 0 additions and 0 deletions
10
puppet/lib/facter/puppet_ssldir.rb
Normal file
10
puppet/lib/facter/puppet_ssldir.rb
Normal file
|
@ -0,0 +1,10 @@
|
|||
require 'puppet'
|
||||
|
||||
Facter.add('puppet_ssldir') do
|
||||
setcode do
|
||||
if Facter.value('puppetversion').to_i < 3
|
||||
Puppet.parse_config
|
||||
end
|
||||
Puppet.settings.value('ssldir')
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue