aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Hodrien <J.H.Hodrien@leeds.ac.uk>2016-03-15 10:25:38 +0000
committerAdam Jahn <ajjahn@gmail.com>2016-07-10 15:00:26 -0400
commit4c2e759147b6a5fd0ce62709944189ada538e64e (patch)
treedeba781db1e5a3f8a6daab4ab9aeff8801bd037b
parente5bea510003dd77683ac991e808b6983281dde44 (diff)
downloadpuppet-samba-4c2e759147b6a5fd0ce62709944189ada538e64e.tar.gz
puppet-samba-4c2e759147b6a5fd0ce62709944189ada538e64e.tar.bz2
Add spec test for msdfs root
-rw-r--r--spec/acceptance/basic_samba_spec.rb1
-rw-r--r--spec/classes/samba__server_spec.rb2
2 files changed, 3 insertions, 0 deletions
diff --git a/spec/acceptance/basic_samba_spec.rb b/spec/acceptance/basic_samba_spec.rb
index 8a9e363..e50cb2a 100644
--- a/spec/acceptance/basic_samba_spec.rb
+++ b/spec/acceptance/basic_samba_spec.rb
@@ -22,6 +22,7 @@ describe 'basic samba' do
force_group => 'group',
force_user => 'user',
hide_dot_files => false,
+ msdfs_root => true,
}
"}
diff --git a/spec/classes/samba__server_spec.rb b/spec/classes/samba__server_spec.rb
index cbd0a80..37d5aa8 100644
--- a/spec/classes/samba__server_spec.rb
+++ b/spec/classes/samba__server_spec.rb
@@ -30,6 +30,7 @@ describe 'samba::server' do
'writable' => true,
'guest_ok' => true,
'guest_only' => true,
+ 'msdfs_root' => true,
},
'testShare2' => {
'path' => '/some/other/path'
@@ -43,6 +44,7 @@ describe 'samba::server' do
'writable' => true,
'guest_ok' => true,
'guest_only' => true,
+ 'msdfs_root' => true,
})
}
it { should contain_samba__server__share( 'testShare2' ).with_path('/some/other/path') }