From: Hunter Haugen Date: Fri, 21 Feb 2014 19:32:10 +0000 (-0800) Subject: Merge pull request #237 from hunner/change_port X-Git-Tag: 1.4.2~11 X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=d0b8ed8f64e413b4d33eaa6b9ce06dd197f1e9b1;hp=6f46fba2afe74cf2a15f53401a94c386bc46afd6;p=puppet-modules%2Fpuppetlabs-apt.git Merge pull request #237 from hunner/change_port Port 8080 is a bad choice and bumps into puppetdb --- diff --git a/spec/acceptance/apt_spec.rb b/spec/acceptance/apt_spec.rb index 5b7379f..35a0d3e 100644 --- a/spec/acceptance/apt_spec.rb +++ b/spec/acceptance/apt_spec.rb @@ -68,7 +68,7 @@ describe 'apt class' do pp = <<-EOS class { 'apt': proxy_host => 'localhost', - proxy_port => '8080', + proxy_port => '7042', } EOS @@ -77,7 +77,7 @@ describe 'apt class' do describe file('/etc/apt/apt.conf.d/proxy') do it { should be_file } - it { should contain 'Acquire::http::Proxy "http://localhost:8080\";' } + it { should contain 'Acquire::http::Proxy "http://localhost:7042\";' } end end @@ -110,7 +110,7 @@ describe 'apt class' do pp = <<-EOS class { 'apt': proxy_host => 'localhost', - proxy_port => '8080', + proxy_port => '7042', } EOS @@ -119,7 +119,7 @@ describe 'apt class' do describe file('/etc/apt/apt.conf.d/proxy') do it { should be_file } - it { should contain 'Acquire::http::Proxy "http://localhost:8080\";' } + it { should contain 'Acquire::http::Proxy "http://localhost:7042\";' } end end