Sha256: 5be39c4385af831489ea4e5ed9e58ef3aa75e823f5cd7ad1257381ece77feb44

Contents?: true

Size: 873 Bytes

Versions: 94

Compression:

Stored size: 873 Bytes

Contents

module PuppetSpec::Settings

  # It would probably be preferable to refactor defaults.rb such that the real definitions of
  #  these settings were available as a variable, which was then accessible for use during tests.
  #  However, I'm not doing that yet because I don't want to introduce any additional moving parts
  #  to this already very large changeset.
  #  Would be nice to clean this up later.  --cprice 2012-03-20
  TEST_APP_DEFAULT_DEFINITIONS = {
    :name         => { :default => "test", :desc => "name" },
    :logdir       => { :type => :directory, :default => "test", :desc => "logdir" },
    :confdir      => { :type => :directory, :default => "test", :desc => "confdir" },
    :vardir       => { :type => :directory, :default => "test", :desc => "vardir" },
    :rundir       => { :type => :directory, :default => "test", :desc => "rundir" },
  }
end

Version data entries

94 entries across 94 versions & 2 rubygems

Version Path
puppet-3.8.7 spec/lib/puppet_spec/settings.rb
puppet-3.8.7-x86-mingw32 spec/lib/puppet_spec/settings.rb
puppet-3.8.7-x64-mingw32 spec/lib/puppet_spec/settings.rb
puppet-3.8.6 spec/lib/puppet_spec/settings.rb
puppet-3.8.6-x86-mingw32 spec/lib/puppet_spec/settings.rb
puppet-3.8.6-x64-mingw32 spec/lib/puppet_spec/settings.rb
puppet-3.8.5 spec/lib/puppet_spec/settings.rb
puppet-3.8.5-x86-mingw32 spec/lib/puppet_spec/settings.rb
puppet-3.8.5-x64-mingw32 spec/lib/puppet_spec/settings.rb
puppet-3.8.4 spec/lib/puppet_spec/settings.rb
puppet-3.8.4-x86-mingw32 spec/lib/puppet_spec/settings.rb
puppet-3.8.4-x64-mingw32 spec/lib/puppet_spec/settings.rb
puppet-3.8.3 spec/lib/puppet_spec/settings.rb
puppet-3.8.3-x86-mingw32 spec/lib/puppet_spec/settings.rb
puppet-3.8.3-x64-mingw32 spec/lib/puppet_spec/settings.rb
puppet-3.8.2 spec/lib/puppet_spec/settings.rb
puppet-3.8.2-x86-mingw32 spec/lib/puppet_spec/settings.rb
puppet-3.8.2-x64-mingw32 spec/lib/puppet_spec/settings.rb
puppet-3.8.1 spec/lib/puppet_spec/settings.rb
puppet-3.8.1-x86-mingw32 spec/lib/puppet_spec/settings.rb