Skip to content
This repository has been archived by the owner on Jul 21, 2021. It is now read-only.

Commit

Permalink
Merge pull request #12 from adamcstephens/dont_create_files_dir
Browse files Browse the repository at this point in the history
don't create files directory
  • Loading branch information
adamcrews committed Jan 10, 2015
2 parents afed77d + 324ca1b commit 2034cba
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion manifests/user.pp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

if $ensure == 'present' {
# create our directory structure for a user
file { [ "${user_base}/${title}", "${user_base}/${title}/auth", "${user_base}/${title}/reports", "${user_base}/${title}/files" ]:
file { [ "${user_base}/${title}", "${user_base}/${title}/auth", "${user_base}/${title}/reports" ]:
ensure => directory,
}

Expand Down
1 change: 0 additions & 1 deletion spec/defines/user_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
it { should contain_file("#{params[:user_base]}/#{title}").with_ensure('directory') }
it { should contain_file("#{params[:user_base]}/#{title}/auth").with_ensure('directory') }
it { should contain_file("#{params[:user_base]}/#{title}/reports").with_ensure('directory') }
it { should contain_file("#{params[:user_base]}/#{title}/files").with_ensure('directory') }

it { should contain_file("#{params[:user_base]}/#{title}/auth/hash").with_ensure('absent') }
it { should contain_file("#{params[:user_base]}/#{title}/auth/password").with(
Expand Down

0 comments on commit 2034cba

Please sign in to comment.