aboutsummaryrefslogtreecommitdiff
path: root/spec/acceptance
diff options
context:
space:
mode:
authorDaniel Sung <daniel.sung@me.com>2016-02-15 15:50:43 +0000
committerDaniel Sung <daniel.sung@me.com>2016-02-15 15:50:43 +0000
commit2e78387a530b2c987bf3c26712f30a641abd2081 (patch)
treee5596b1c4f71061d8bb8d1d6fae2fd934d2ce0a9 /spec/acceptance
parent430054887e7894690524bcd7d4a629280f18479f (diff)
downloadpuppet-samba-2e78387a530b2c987bf3c26712f30a641abd2081.tar.gz
puppet-samba-2e78387a530b2c987bf3c26712f30a641abd2081.tar.bz2
Fix name of 'force directory mode' option
Previously the class was setting a value for 'force directory mask' which was getting ignored by samba. Running testparm -v would give: Unknown parameter encountered: "force directory mask" Ignoring unknown parameter "force directory mask" The correct option name is 'force directory mode' according to the man page.
Diffstat (limited to 'spec/acceptance')
-rw-r--r--spec/acceptance/basic_samba_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/acceptance/basic_samba_spec.rb b/spec/acceptance/basic_samba_spec.rb
index 0dd6ac6..76e7f9f 100644
--- a/spec/acceptance/basic_samba_spec.rb
+++ b/spec/acceptance/basic_samba_spec.rb
@@ -18,7 +18,7 @@ describe 'basic samba' do
create_mask => 0777,
force_create_mask => 0777,
directory_mask => 0777,
- force_directory_mask => 0777,
+ force_directory_mode => 0777,
force_group => 'group',
force_user => 'user',
}