1 #! /usr/bin/env ruby -S rspec
2 module PuppetSpec::Settings
4 # It would probably be preferable to refactor defaults.rb such that the real definitions of
5 # these settings were available as a variable, which was then accessible for use during tests.
6 # However, I'm not doing that yet because I don't want to introduce any additional moving parts
7 # to this already very large changeset.
8 # Would be nice to clean this up later. --cprice 2012-03-20
9 TEST_APP_DEFAULT_DEFINITIONS = {
10 :name => { :default => "test", :desc => "name" },
11 :logdir => { :type => :directory, :default => "test", :desc => "logdir" },
12 :confdir => { :type => :directory, :default => "test", :desc => "confdir" },
13 :vardir => { :type => :directory, :default => "test", :desc => "vardir" },
14 :rundir => { :type => :directory, :default => "test", :desc => "rundir" },