From b49fb68f768e8b98c555ef0ae08a7bd22f5d36bd Mon Sep 17 00:00:00 2001 From: Luke Kanies Date: Tue, 1 Apr 2008 00:45:45 -0500 Subject: Fixing the tests in test/ that were broken as a result of the move to no global resources. --- lib/puppet/type/yumrepo.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/puppet') diff --git a/lib/puppet/type/yumrepo.rb b/lib/puppet/type/yumrepo.rb index 558ad7929..8800dd71d 100644 --- a/lib/puppet/type/yumrepo.rb +++ b/lib/puppet/type/yumrepo.rb @@ -67,8 +67,9 @@ module Puppet class << self attr_accessor :filetype # The writer is only used for testing, there should be no need - # to change yumconf in any other context + # to change yumconf or inifile in any other context attr_accessor :yumconf + attr_writer :inifile end self.filetype = Puppet::Util::FileType.filetype(:flat) -- cgit