File tree 5 files changed +18
-311
lines changed
5 files changed +18
-311
lines changed Original file line number Diff line number Diff line change 1
1
Puppet AEM Module - Manage your AEM Instances.
2
2
3
- Copyright 2015 Bryan Stopp
3
+ Copyright 2015 Bryan Stopp
([email protected] )
4
4
5
5
Licensed under the Apache License, Version 2.0 (the "License");
6
6
you may not use this file except in compliance with the License.
Original file line number Diff line number Diff line change 43
43
apply_manifest ( pp , :catch_failures => true )
44
44
end
45
45
46
- # after :context do
47
- # pp = <<-MANIFEST
48
- # File { backup => false, }
49
- # file { '/opt/aem' :
50
- # ensure => 'absent',
51
- # force => 'true',
52
- # }
53
- # MANIFEST
54
- # apply_manifest(pp, :catch_failures => true)
55
- # end
46
+ after :context do
47
+ pp = <<-MANIFEST
48
+ File { backup => false, }
49
+ file { '/opt/aem' :
50
+ ensure => 'absent',
51
+ force => 'true',
52
+ }
53
+ MANIFEST
54
+ apply_manifest ( pp , :catch_failures => true )
55
+ end
56
56
57
57
context '#create' do
58
58
72
72
home => '/opt/aem',
73
73
user => 'aem',
74
74
group => 'aem',
75
- user => 'aem',
76
75
}
77
76
MANIFEST
78
77
Original file line number Diff line number Diff line change 4
4
5
5
before :context do
6
6
pp = <<-MANIFEST
7
+ File { backup => false, }
8
+
7
9
file { '/opt/aem' :
8
10
ensure => 'directory',
9
11
42
44
43
45
after :context do
44
46
pp = <<-MANIFEST
47
+ File { backup => false, }
48
+
45
49
file { '/opt/aem' :
46
50
ensure => 'absent',
47
51
force => 'true',
55
59
56
60
it 'should work with no errors.' do
57
61
pp = <<-MANIFEST
62
+ File { backup => false, }
63
+
58
64
aem { '/opt/aem/faux' :
59
65
ensure => absent,
60
66
home => '/opt/aem/faux',
Original file line number Diff line number Diff line change 55
55
56
56
it 'requires the source to be specified' , :need_home => :true do
57
57
pp = <<-MANIFEST
58
+ File { backup => false, }
58
59
aem { 'aem' :
59
60
ensure => 'present',
60
61
version => '6.1.0',
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments