Sha256: 38a9704b2b8777bf06d0eed8e1ad5a893395c3e25db93df05afe33bbb16a6985

Contents?: true

Size: 238 Bytes

Versions: 30

Compression:

Stored size: 238 Bytes

Contents

Facter.add(:corl_config_ready) do  
  setcode do
    begin 
      require 'corl'      
      configured = CORL::Config.config_initialized?
      
    rescue Exception # Prevent abortions.
    end
  
    configured ? true : nil
  end
end

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
corl-0.4.29 lib/facter/corl_config_ready.rb
corl-0.4.28 lib/facter/corl_config_ready.rb
corl-0.4.27 lib/facter/corl_config_ready.rb
corl-0.4.26 lib/facter/corl_config_ready.rb
corl-0.4.25 lib/facter/corl_config_ready.rb
corl-0.4.24 lib/facter/corl_config_ready.rb
corl-0.4.23 lib/facter/corl_config_ready.rb
corl-0.4.22 lib/facter/corl_config_ready.rb
corl-0.4.21 lib/facter/corl_config_ready.rb
corl-0.4.20 lib/facter/corl_config_ready.rb
corl-0.4.19 lib/facter/corl_config_ready.rb
corl-0.4.18 lib/facter/corl_config_ready.rb
corl-0.4.17 lib/facter/corl_config_ready.rb
corl-0.4.16 lib/facter/corl_config_ready.rb
corl-0.4.15 lib/facter/corl_config_ready.rb
corl-0.4.14 lib/facter/corl_config_ready.rb
corl-0.4.13 lib/facter/corl_config_ready.rb
corl-0.4.12 lib/facter/corl_config_ready.rb
corl-0.4.11 lib/facter/corl_config_ready.rb
corl-0.4.10 lib/facter/corl_config_ready.rb