(#13261) Add real examples to smoke tests.
This commit modifies some smoke tests with real-world usage examples instead of providing things like 'foo' that the module user must replace in order to conduct a smoke test or try out example functionality.
This commit is contained in:
parent
d159a78a8f
commit
41cedbb7ba
4 changed files with 6 additions and 3 deletions
|
@ -1,2 +1,2 @@
|
||||||
class { 'apt': }
|
class { 'apt': }
|
||||||
apt::builddep{ 'foo': }
|
apt::builddep{ 'glusterfs-server': }
|
||||||
|
|
|
@ -1,2 +1,4 @@
|
||||||
class { 'apt': }
|
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': }
|
||||||
class { 'apt::release':
|
class { 'apt::release':
|
||||||
release_id => 'foo'
|
release_id => 'karmic'
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
class { 'apt': }
|
class { 'apt': }
|
||||||
|
|
||||||
# Install the puppetlabs apt source
|
# Install the puppetlabs apt source
|
||||||
|
# Release is automatically obtained from lsbdistcodename fact if available.
|
||||||
apt::source { 'puppetlabs':
|
apt::source { 'puppetlabs':
|
||||||
location => 'http://apt.puppetlabs.com',
|
location => 'http://apt.puppetlabs.com',
|
||||||
repos => 'main',
|
repos => 'main',
|
||||||
|
|
Loading…
Reference in a new issue