let(:title) { 'ppa:needs/substitution' }
it { is_expected.not_to contain_package('python-software-properties') }
let(:title) { 'ppa:needs/substitution' }
it { is_expected.not_to contain_package('python-software-properties') }
.that_notifies('Class[Apt::Update]')
.with(*ppa_exec_params('needs', 'substitution'))
}
.that_notifies('Class[Apt::Update]')
.with(*ppa_exec_params('needs', 'substitution'))
}
.that_notifies('Class[Apt::Update]')
.with(*ppa_exec_params('user', 'foo', 'wily'))
}
.that_notifies('Class[Apt::Update]')
.with(*ppa_exec_params('user', 'foo', 'wily'))
}
}
end
let(:title) { 'ppa:needs/substitution' }
it { is_expected.to contain_package('software-properties-common') }
}
end
let(:title) { 'ppa:needs/substitution' }
it { is_expected.to contain_package('software-properties-common') }
.that_notifies('Class[Apt::Update]')
.with(*ppa_exec_params('needs', 'substitution'))
}
.that_notifies('Class[Apt::Update]')
.with(*ppa_exec_params('needs', 'substitution'))
}
}
end
let(:title) { 'ppa:needs/substitution' }
it { is_expected.not_to contain_package('python-software-properties') }
}
end
let(:title) { 'ppa:needs/substitution' }
it { is_expected.not_to contain_package('python-software-properties') }
.that_notifies('Class[Apt::Update]')
.with(*ppa_exec_params('needs', 'substitution'))
}
.that_notifies('Class[Apt::Update]')
.with(*ppa_exec_params('needs', 'substitution'))
}
it { is_expected.to compile.with_all_deps }
it { is_expected.to contain_package('software-properties-common') }
it { is_expected.to compile.with_all_deps }
it { is_expected.to contain_package('software-properties-common') }
.that_notifies('Class[Apt::Update]')
.with(*ppa_exec_params('user', 'foo'))
}
.that_notifies('Class[Apt::Update]')
.with(*ppa_exec_params('user', 'foo'))
}
.that_notifies('Class[Apt::Update]')
.with(*ppa_exec_params('user', 'foo', 'trusty', ['http_proxy=http://localhost:8080']))
}
.that_notifies('Class[Apt::Update]')
.with(*ppa_exec_params('user', 'foo', 'trusty', ['http_proxy=http://localhost:8080']))
}
.that_notifies('Class[Apt::Update]')
.with(*ppa_exec_params('user', 'foo', 'trusty', ['http_proxy=http://localhost:8180']))
}
.that_notifies('Class[Apt::Update]')
.with(*ppa_exec_params('user', 'foo', 'trusty', ['http_proxy=http://localhost:8180']))
}
.that_notifies('Class[Apt::Update]')
.with(*ppa_exec_params('user', 'foo', 'trusty', ['http_proxy=http://localhost:8180', 'https_proxy=https://localhost:8180']))
}
.that_notifies('Class[Apt::Update]')
.with(*ppa_exec_params('user', 'foo', 'trusty', ['http_proxy=http://localhost:8180', 'https_proxy=https://localhost:8180']))
}
.with('path' => '/etc/apt/sources.list.d/user-ubuntu-foo-trusty.list')
.that_notifies('Class[Apt::Update]')
}
.with('path' => '/etc/apt/sources.list.d/user-ubuntu-foo-trusty.list')
.that_notifies('Class[Apt::Update]')
}