summaryrefslogtreecommitdiffstats
path: root/test/ral
diff options
context:
space:
mode:
Diffstat (limited to 'test/ral')
-rwxr-xr-xtest/ral/type/yumrepo.rb8
1 files changed, 7 insertions, 1 deletions
diff --git a/test/ral/type/yumrepo.rb b/test/ral/type/yumrepo.rb
index 273179bc4..a42fa9058 100755
--- a/test/ral/type/yumrepo.rb
+++ b/test/ral/type/yumrepo.rb
@@ -48,7 +48,10 @@ class TestYumRepo < Test::Unit::TestCase
:enabled => "1",
:gpgcheck => "1",
:includepkgs => "absent",
- :gpgkey => "file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora"
+ :gpgkey => "file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora",
+ :proxy => "http://proxy.example.com:80/",
+ :proxy_username => "username",
+ :proxy_password => "password"
}
repo = make_repo("base", values)
@@ -102,6 +105,9 @@ baseurl=http://example.com/yum/$releasever/$basearch/os/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
+proxy=http://proxy.example.com:80/
+proxy_username=username
+proxy_password=password
EOF
end