blob: 112cc4c2e746b83832c595e617385eac0d37ff1b (
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
tests_base="/var/lib/tests"
remote_directory '/var/lib/tests/testSuites' do
source 'testSuites'
owner 'root'
group 'root'
mode '0755'
action :create
end
remote_directory '/var/lib/tests/Files' do
source 'Files'
owner 'root'
group 'root'
mode '0755'
action :create
end
remote_directory '/var/lib/tests/conf' do
source 'conf'
owner 'root'
group 'root'
mode '0755'
action :create
end
directory "create_target_dir" do
path "/var/lib/tests/target"
owner 'root'
group 'root'
mode '0755'
action :create
end
directory "create_ExtentReport_dir" do
path "/var/lib/tests/ExtentReport"
owner 'root'
group 'root'
mode '0755'
action :create
end
cookbook_file '/var/lib/tests/startTest.sh' do
source 'startTest.sh'
owner 'root'
group 'root'
mode '0755'
action :create
end
|