Merge pull request #36 from rcoleman/tickets/13261/improve_smoke_tests
Tickets/13261/improve smoke tests
This commit is contained in:
commit
551a0d2188
6 changed files with 20 additions and 12 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1 +1,2 @@
|
|||
*.swp
|
||||
pkg/
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
class { 'apt': }
|
||||
apt::builddep{ 'foo': }
|
||||
apt::builddep{ 'glusterfs-server': }
|
||||
|
|
5
tests/key.pp
Normal file
5
tests/key.pp
Normal file
|
@ -0,0 +1,5 @@
|
|||
# Declare Apt key for apt.puppetlabs.com source
|
||||
apt::key { "puppetlabs":
|
||||
key => "4BD6EC30",
|
||||
key_server => "pgp.mit.edu",
|
||||
}
|
|
@ -1,2 +1,4 @@
|
|||
class { 'apt': }
|
||||
apt::ppa{ 'foo': }
|
||||
|
||||
# Example declaration of an Apt PPA
|
||||
apt::ppa{ 'ppa:openstack-ppa/bleeding-edge': }
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
class { 'apt': }
|
||||
class { 'apt::release':
|
||||
release_id => 'foo'
|
||||
release_id => 'karmic'
|
||||
}
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
# Declare the apt class to manage /etc/apt/sources.list and /etc/sources.list.d
|
||||
class { 'apt': }
|
||||
apt::source { 'foo':
|
||||
location => '',
|
||||
release => 'karmic',
|
||||
repos => 'main',
|
||||
include_src => true,
|
||||
required_packages => false,
|
||||
key => false,
|
||||
key_server => 'keyserver.ubuntu.com',
|
||||
pin => '600',
|
||||
|
||||
# Install the puppetlabs apt source
|
||||
# Release is automatically obtained from lsbdistcodename fact if available.
|
||||
apt::source { 'puppetlabs':
|
||||
location => 'http://apt.puppetlabs.com',
|
||||
repos => 'main',
|
||||
key => '4BD6EC30',
|
||||
key_server => 'pgp.mit.edu',
|
||||
}
|
||||
|
||||
# test two sources with the same key
|
||||
|
|
Loading…
Reference in a new issue