summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHunter Haugen <hunter@puppetlabs.com>2014-06-18 11:17:15 -0700
committerHunter Haugen <hunter@puppetlabs.com>2014-06-18 11:17:15 -0700
commitbb3b5283fc40226cad5a616b93bef492dba37f25 (patch)
tree6c3d9acbc4d1c4a781fde6229310e9ffa69f2a0e
parent3f2e4f85e5a5f1bc59a3826430e94d1d267aff62 (diff)
parent508373904f746242f5ac9a8132269c25081f26fc (diff)
downloadpuppet-vcsrepo-bb3b5283fc40226cad5a616b93bef492dba37f25.tar.gz
puppet-vcsrepo-bb3b5283fc40226cad5a616b93bef492dba37f25.tar.bz2
Merge branch 'add-group-to-clone-spec' into 1.0.x
-rw-r--r--spec/acceptance/clone_repo_spec.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/spec/acceptance/clone_repo_spec.rb b/spec/acceptance/clone_repo_spec.rb
index e76f4bc..a989661 100644
--- a/spec/acceptance/clone_repo_spec.rb
+++ b/spec/acceptance/clone_repo_spec.rb
@@ -324,8 +324,12 @@ describe 'clones a remote repo' do
before(:all) do
shell("chmod 707 #{tmpdir}")
pp = <<-EOS
+ group { 'testuser':
+ ensure => present,
+ }
user { 'testuser':
ensure => present,
+ groups => 'testuser',
}
EOS
@@ -388,8 +392,12 @@ describe 'clones a remote repo' do
before(:all) do
# create user
pp = <<-EOS
+ group { 'testuser-ssh':
+ ensure => present,
+ }
user { 'testuser-ssh':
ensure => present,
+ groups => 'testuser-ssh',
managehome => true,
}
EOS