fuel-library/deployment/puppet/ceph/lib/facter/ceph_conf.rb

10 lines
89 B
Ruby

Facter.add("ceph_conf") do
setcode do
File.exists? '/etc/ceph/ceph.conf'
end
end