Fix other tests to include apt appropriately.
This commit is contained in:
parent
2f9c16a273
commit
ee24679f6d
3 changed files with 3 additions and 0 deletions
|
@ -12,6 +12,7 @@ describe 'apt::builddep' do
|
|||
context 'apt::builddep' do
|
||||
it 'should work with no errors' do
|
||||
pp = <<-EOS
|
||||
include '::apt'
|
||||
apt::builddep { 'glusterfs-server': }
|
||||
EOS
|
||||
|
||||
|
|
|
@ -12,6 +12,7 @@ describe 'apt::key' do
|
|||
context 'apt::key' do
|
||||
it 'should work with no errors' do
|
||||
pp = <<-EOS
|
||||
include '::apt'
|
||||
apt::key { 'puppetlabs':
|
||||
key => '4BD6EC30',
|
||||
key_server => 'pgp.mit.edu',
|
||||
|
|
|
@ -12,6 +12,7 @@ describe 'apt::source' do
|
|||
context 'apt::source' do
|
||||
it 'should work with no errors' do
|
||||
pp = <<-EOS
|
||||
include '::apt'
|
||||
apt::source { 'puppetlabs':
|
||||
location => 'http://apt.puppetlabs.com',
|
||||
repos => 'main',
|
||||
|
|
Loading…
Reference in a new issue