Skip to content

Commit

Permalink
Merge pull request #237 from hunner/change_port
Browse files Browse the repository at this point in the history
Port 8080 is a bad choice and bumps into puppetdb
  • Loading branch information
hunner committed Feb 21, 2014
2 parents 6f46fba + 80ea5a7 commit d0b8ed8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions spec/acceptance/apt_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ class { 'apt': disable_keys => false }
pp = <<-EOS
class { 'apt':
proxy_host => 'localhost',
proxy_port => '8080',
proxy_port => '7042',
}
EOS

Expand All @@ -77,7 +77,7 @@ class { 'apt':

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

Expand Down Expand Up @@ -110,7 +110,7 @@ class { 'apt':
pp = <<-EOS
class { 'apt':
proxy_host => 'localhost',
proxy_port => '8080',
proxy_port => '7042',
}
EOS

Expand All @@ -119,7 +119,7 @@ class { 'apt':

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

Expand Down

0 comments on commit d0b8ed8

Please sign in to comment.