summaryrefslogtreecommitdiff
path: root/spec/acceptance
diff options
context:
space:
mode:
authorJohn Duarte <john.duarte@puppetlabs.com>2014-05-06 08:54:48 -0700
committerJohn Duarte <john.duarte@puppetlabs.com>2014-05-18 11:38:18 -0700
commit6c284f23696eb5d036537acab9a6d564b700d78a (patch)
treef8e3a29fefb3dc0a7e3b7ba24e190c3129f6b903 /spec/acceptance
parentfc8c177fbbe0f3cecfb1f984725bf4cbcfbeb54d (diff)
downloadpuppet-vcsrepo-6c284f23696eb5d036537acab9a6d564b700d78a.tar.gz
puppet-vcsrepo-6c284f23696eb5d036537acab9a6d564b700d78a.tar.bz2
Add managehome to testuser
In order to make sure that the home directory for the test user is created and destroyed, add managehome to the setup and teardown manifests for the testuser.
Diffstat (limited to 'spec/acceptance')
-rw-r--r--spec/acceptance/git_clone_protocols_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/acceptance/git_clone_protocols_spec.rb b/spec/acceptance/git_clone_protocols_spec.rb
index 77a1adb..a3f897a 100644
--- a/spec/acceptance/git_clone_protocols_spec.rb
+++ b/spec/acceptance/git_clone_protocols_spec.rb
@@ -7,7 +7,7 @@ hosts.each do |host|
before(:all) do
# {{{ setup
- on(host,apply_manifest("user{'testuser': ensure => present, }"))
+ on(host,apply_manifest("user{'testuser': ensure => present, managehome => true }"))
on(host,apply_manifest("user{'vagrant': ensure => present, }"))
# install git
install_package(host, 'git')
@@ -34,7 +34,7 @@ hosts.each do |host|
after(:all) do
# {{{ teardown
- on(host,apply_manifest("user{'testuser': ensure => absent,}"))
+ on(host,apply_manifest("user{'testuser': ensure => absent, managehome => true }"))
# }}}
end