File tree 2 files changed +5
-8
lines changed
2 files changed +5
-8
lines changed Original file line number Diff line number Diff line change 32
32
$logbindir = dirname($logbin )
33
33
34
34
# Stop puppet from managing directory if just a filename/prefix is specified or is not already managed
35
- if ($logbindir != ' .' and !($logbindir in $managed_dirs_path )) {
35
+ if ($logbindir != ' .' or !($logbindir in $managed_dirs_path )) {
36
36
file { $logbindir:
37
37
ensure => directory ,
38
38
mode => ' 0700' ,
Original file line number Diff line number Diff line change @@ -51,20 +51,17 @@ class { 'mysql::server':
51
51
let ( :pp ) do
52
52
<<-MANIFEST
53
53
class { '::mysql::server':
54
- root_password => 'strongpassword',
55
- remove_default_accounts => true,
56
- restart => true,
57
54
override_options => {
58
55
'mysqld' => {
59
56
'log-bin' => '/var/log/mariadb/mariadb-bin.log',}
60
57
}
61
58
}
62
59
MANIFEST
63
- end
60
+ end
64
61
65
- it 'can be set' do
66
- apply_manifest ( pp , catch_failures : true ) do |r |
67
- expect ( r . stderr ) . to be_empty
62
+ it 'can be set' do
63
+ apply_manifest ( pp , catch_failures : true ) do |r |
64
+ expect ( r . stderr ) . to be_empty
68
65
end
69
66
end
70
67
end
You can’t perform that action at this time.
0 commit comments