add puppet manifests for rubbos client module
[bottlenecks.git] / testsuites / rubbos / puppet_manifests / modules / rubbos_client / manifests / rubbos_client_off.pp
1 #############################################################################
2 # Copyright (c) 2016 Huawei Technologies Co.,Ltd and others.
3 #
4 # All rights reserved. This program and the accompanying materials
5 # are made available under the terms of the Apache License, Version 2.0
6 # which accompanies this distribution, and is available at
7 # http://www.apache.org/licenses/LICENSE-2.0
8 ##############################################################################
9
10
11 class rubbos_client::rubbos_client_off {
12
13   include params::rubbos_params
14
15   # Declare some variables
16   $rubbos_home          = $params::rubbos_params::rubbos_home
17
18   # build.properties
19   file {'${rubbos_home}/build.properties':
20         ensure          => absent,
21         path            => "${rubbos_home}/build.properties",
22         show_diff       => false,
23         backup          => false,
24   }
25
26   # config.mk
27   file {'${rubbos_home}/config.mk':
28         ensure          => absent,
29         path            => "${rubbos_home}/config.mk",
30         show_diff       => false,
31         backup          => false,
32   }
33
34   # Makefile
35   file {'${rubbos_home}/Makefile':
36         ensure          => absent,
37         path            => "${rubbos_home}/Makefile",
38         show_diff       => false,
39         backup          => false,
40   }
41
42   # bench/rubbos.properties.template
43   file {'${rubbos_home}/bench/rubbos.properties.template':
44         ensure          => absent,
45         path            => "${rubbos_home}/bench/rubbos.properties.template",
46         show_diff       => false,
47         backup          => false,
48   }
49
50   # bench/run_emulator.sh
51   file {'${rubbos_home}/bench/run_emulator.sh':
52         ensure          => absent,
53         path            => "${rubbos_home}/bench/run_emulator.sh",
54         show_diff       => false,
55         backup          => false,
56   }
57
58   file {'${rubbos_home}/Client.tar.gz':
59       ensure            => absent,
60       path              => "${rubbos_home}/Client.tar.gz",
61       backup            => false,
62   }
63
64   file {'${rubbos_home}/Client':
65         ensure          => absent,
66         path            => "${rubbos_home}/Client",
67         force           => true,
68         recurse         => true,
69         show_diff       => false,
70         backup          => false,
71   }
72
73   file {'${rubbos_home}/workload.tar.gz':
74         ensure          => absent,
75         path            => "${rubbos_home}/workload.tar.gz",
76         backup          => false,
77   }
78
79   file {'${rubbos_home}/workload':
80         ensure          => absent,
81         path            => "${rubbos_home}/workload",
82         force           => true,
83         recurse         => true,
84         show_diff       => false,
85         backup          => false,
86   }
87
88   file {'${rubbos_home}/database.tar.gz':
89         ensure          => absent,
90         path            => "${rubbos_home}/database.tar.gz",
91         backup          => false,
92   }
93
94   file {'${rubbos_home}/database':
95         ensure          => absent,
96         path            => "${rubbos_home}/database",
97         force           => true,
98         recurse         => true,
99         show_diff       => false,
100         backup          => false,
101   }
102
103 }