Port 8080 is a bad choice and bumps into puppetdb
pp = <<-EOS
class { 'apt':
proxy_host => 'localhost',
- proxy_port => '8080',
+ proxy_port => '7042',
}
EOS
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
pp = <<-EOS
class { 'apt':
proxy_host => 'localhost',
- proxy_port => '8080',
+ proxy_port => '7042',
}
EOS
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