From 6c284f23696eb5d036537acab9a6d564b700d78a Mon Sep 17 00:00:00 2001 From: John Duarte Date: Tue, 6 May 2014 08:54:48 -0700 Subject: 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. --- spec/acceptance/git_clone_protocols_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'spec/acceptance') 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 -- cgit v1.2.3