Skip to content

Commit

Permalink
fix include_src syntax #40
Browse files Browse the repository at this point in the history
  • Loading branch information
deric committed Jul 2, 2015
1 parent 6f7c74c commit 0ce9d11
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion manifests/repo.pp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
'id' => '81026D0004C44CF7EF55ADF8DF7D54CBE56151BF',
'server' => 'subkeys.pgp.net',
},
src => false
include => { 'src' => false }
}
}
default: {
Expand Down
10 changes: 5 additions & 5 deletions spec/classes/repo_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@
}}

it { should contain_apt__source('mesosphere').with(
'location' => "http://repos.mesosphere.io/#{operatingsystem.downcase}",
'repos' => 'main',
'release' => "#{lsbdistcodename}",
'key' => '81026D0004C44CF7EF55ADF8DF7D54CBE56151BF',
'src' => false
'location' => "http://repos.mesosphere.io/#{operatingsystem.downcase}",
'repos' => 'main',
'release' => "#{lsbdistcodename}",
'key' => {'id' => '81026D0004C44CF7EF55ADF8DF7D54CBE56151BF', 'server' => 'subkeys.pgp.net'},
'include' => {'src' => false}
)}

context "undef source" do
Expand Down

0 comments on commit 0ce9d11

Please sign in to comment.