Sha256: 76809e60b230c8c92192380859b454b208f944ef223011b6be31657f6ad887d2

Contents?: true

Size: 831 Bytes

Versions: 7

Compression:

Stored size: 831 Bytes

Contents

# This is a configuration file for octocatalog-diff (https://github.com/github/octocatalog-diff).
module OctocatalogDiff
  # Configuration class.
  class Config
    def self.config
      settings = {}
      octocatalog_diff_dir = File.dirname(__FILE__) + '/'

      settings[:hiera_config] = octocatalog_diff_dir + 'hiera.yaml'
      settings[:hiera_path] = octocatalog_diff_dir + 'hieradata'
      settings[:fact_file] = octocatalog_diff_dir + 'facts.yaml'
      settings[:puppet_binary] = if File.directory?('/home/travis')
                                   octocatalog_diff_dir + '../../bin/puppet'
                                 else
                                   '/usr/local/bin/puppet'
                                 end
      settings[:bootstrapped_to_dir] = octocatalog_diff_dir

      settings
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
puppet-check-2.0.1 spec/octocatalog-diff/octocatalog-diff.cfg.rb
puppet-check-2.0.0 spec/octocatalog-diff/octocatalog-diff.cfg.rb
puppet-check-1.6.1 spec/octocatalog-diff/octocatalog-diff.cfg.rb
puppet-check-1.6.0 spec/octocatalog-diff/octocatalog-diff.cfg.rb
puppet-check-1.5.1 spec/octocatalog-diff/octocatalog-diff.cfg.rb
puppet-check-1.5.0 spec/octocatalog-diff/octocatalog-diff.cfg.rb
puppet-check-1.4.1 spec/octocatalog-diff/octocatalog-diff.cfg.rb