summaryrefslogtreecommitdiffstats
path: root/lib/puppet
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2008-04-01 00:45:45 -0500
committerLuke Kanies <luke@madstop.com>2008-04-01 00:45:45 -0500
commitb49fb68f768e8b98c555ef0ae08a7bd22f5d36bd (patch)
treea3d7964621a58b241d417f1f399629e23c8f9f10 /lib/puppet
parent5e78151d1736e2c4cb741c2cbb7c6b5a59ed3e13 (diff)
downloadpuppet-b49fb68f768e8b98c555ef0ae08a7bd22f5d36bd.tar.gz
puppet-b49fb68f768e8b98c555ef0ae08a7bd22f5d36bd.tar.xz
puppet-b49fb68f768e8b98c555ef0ae08a7bd22f5d36bd.zip
Fixing the tests in test/ that were broken as
a result of the move to no global resources.
Diffstat (limited to 'lib/puppet')
-rw-r--r--lib/puppet/type/yumrepo.rb3
1 files changed, 2 insertions, 1 deletions
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)