|
22 | 22 | 'resources.source.1.config.includeServerNode' => 'false',
|
23 | 23 | 'resources.source.1.config.generateFileAutomatically' => 'true',
|
24 | 24 | 'resources.source.1.config.format' => 'resourcexml',
|
25 |
| - 'resources.source.1.config.file' => '/var/rundeck/projects/test/etc/source one.xml', |
| 25 | + 'resources.source.1.config.file' => '/var/lib/rundeck/projects/test/etc/source one.xml', |
26 | 26 | 'resources.source.1.type' => 'file'
|
27 | 27 | }
|
28 | 28 |
|
29 | 29 | file_details.each do |key,value|
|
30 | 30 | it { should contain_ini_setting("source one::#{key}").with(
|
31 |
| - 'path' => '/var/rundeck/projects/test/etc/project.properties', |
| 31 | + 'path' => '/var/lib/rundeck/projects/test/etc/project.properties', |
32 | 32 | 'setting' => key,
|
33 | 33 | 'value' => value
|
34 | 34 | ) }
|
35 | 35 | end
|
36 | 36 |
|
37 | 37 | it do
|
38 |
| - should contain_file('/var/rundeck/projects/test').with( |
| 38 | + should contain_file('/var/lib/rundeck/projects/test').with( |
39 | 39 | 'owner' => 'rundeck',
|
40 | 40 | 'group' => 'rundeck'
|
41 | 41 | )
|
|
66 | 66 |
|
67 | 67 | url_details.each do |key,value|
|
68 | 68 | it { should contain_ini_setting("source one::#{key}").with(
|
69 |
| - 'path' => '/var/rundeck/projects/test/etc/project.properties', |
| 69 | + 'path' => '/var/lib/rundeck/projects/test/etc/project.properties', |
70 | 70 | 'setting' => key,
|
71 | 71 | 'value' => value
|
72 | 72 | ) }
|
|
94 | 94 |
|
95 | 95 | directory_details.each do |key,value|
|
96 | 96 | it { should contain_ini_setting("source one::#{key}").with(
|
97 |
| - 'path' => '/var/rundeck/projects/test/etc/project.properties', |
| 97 | + 'path' => '/var/lib/rundeck/projects/test/etc/project.properties', |
98 | 98 | 'setting' => key,
|
99 | 99 | 'value' => value
|
100 | 100 | ) }
|
|
131 | 131 |
|
132 | 132 | script_details.each do |key,value|
|
133 | 133 | it { should contain_ini_setting("source one::#{key}").with(
|
134 |
| - 'path' => '/var/rundeck/projects/test/etc/project.properties', |
| 134 | + 'path' => '/var/lib/rundeck/projects/test/etc/project.properties', |
135 | 135 | 'setting' => key,
|
136 | 136 | 'value' => value
|
137 | 137 | ) }
|
|
0 commit comments