mirror of
https://github.com/voxpupuli/puppet-hashi_stack.git
synced 2025-05-25 19:35:02 +01:00
switching fixtures to git checkout, and making examples more verbose
This commit is contained in:
parent
44a4665782
commit
9c317eba10
4 changed files with 22 additions and 11 deletions
|
@ -6,7 +6,11 @@ describe 'hashi_stack::repo class' do
|
|||
# Using puppet_apply as a helper
|
||||
it 'should work with no errors based on the example' do
|
||||
pp = <<-EOS
|
||||
class { 'hashi_stack::repo': } -> package { 'packer': ensure => installed }
|
||||
include hashi_stack::repo
|
||||
package { 'packer':
|
||||
ensure => installed,
|
||||
require => Class['Hashi_stack::Repo'],
|
||||
}
|
||||
EOS
|
||||
|
||||
# Run it twice and test for idempotency
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue