aboutsummaryrefslogtreecommitdiff
path: root/tests/init.pp
blob: edbe663635bf6bc293d07aec07b96555bb912879 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Smoketest.

class {'samba::server':
    workgroup     => 'example',
    server_string => "Example Samba Server",
    interfaces    => "eth0 lo",
    security      => 'share'
  }

samba::server::share {'example-share':
  comment              => 'Example Share',
  path                 => '/path/to/share',
  guest_only           => true,
  guest_ok             => true,
  guest_account        => "guest",
  browsable            => false,
  create_mask          => 0777,
  force_create_mask    => 0777,
  directory_mask       => 0777,
  force_directory_mask => 0777,
  force_group          => 'group',
  force_user           => 'user',
  copy                 => 'some-other-share',
}