Merge pull request #237 from hunner/change_port
authorHunter Haugen <hunter@puppetlabs.com>
Fri, 21 Feb 2014 19:32:10 +0000 (11:32 -0800)
committerHunter Haugen <hunter@puppetlabs.com>
Fri, 21 Feb 2014 19:32:10 +0000 (11:32 -0800)
Port 8080 is a bad choice and bumps into puppetdb

spec/acceptance/apt_spec.rb

index 5b7379fb12d8a12f34634cc86dcd7f8d16521219..35a0d3e70b20ae17f3ed1e26413da5f502ba8245 100644 (file)
@@ -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