Fix lint issues to upgrade to puppet-lint 2.3
2017-07-20 14:41:23.253791 | manifests/db/mysql/host_access.pp:52:WARNING: arrow should be on the right operand's line 2017-07-20 14:41:23.253911 | manifests/db/mysql/host_access.pp:62:WARNING: arrow should be on the right operand's line 2017-07-20 14:41:23.253949 | manifests/policy/base.pp:43:WARNING: arrow should be on the right operand's line 2017-07-20 14:41:23.253987 | manifests/service_validation.pp:94:WARNING: arrow should be on the right operand's line Change-Id: I4cee893ae8f2e430149e2cd56b2e9d9d592a75d5
This commit is contained in:
parent
76de885d5b
commit
a3cef1d6cc
@ -49,8 +49,8 @@ define openstacklib::db::mysql::host_access (
|
||||
password_hash => $password_hash,
|
||||
tls_options => $tls_options,
|
||||
}
|
||||
Mysql_database<| title == $database |> ~>
|
||||
Mysql_user<| title == "${user}@${host}" |>
|
||||
Mysql_database<| title == $database |>
|
||||
~> Mysql_user<| title == "${user}@${host}" |>
|
||||
}
|
||||
|
||||
if $create_grant {
|
||||
@ -59,7 +59,7 @@ define openstacklib::db::mysql::host_access (
|
||||
table => "${database}.*",
|
||||
user => "${user}@${host}",
|
||||
}
|
||||
Mysql_user<| title == "${user}@${host}" |> ~>
|
||||
Mysql_grant<| title == "${user}@${host}/${database}.*" |>
|
||||
Mysql_user<| title == "${user}@${host}" |>
|
||||
~> Mysql_grant<| title == "${user}@${host}/${database}.*" |>
|
||||
}
|
||||
}
|
||||
|
@ -40,8 +40,8 @@ define openstacklib::policy::base (
|
||||
changes => "set dict/entry[*][.=\"${key}\"]/string \"${value}\"",
|
||||
}
|
||||
|
||||
Augeas<| title == "${file_path}-${key}-${value}-add" |> ~>
|
||||
Augeas<| title == "${file_path}-${key}-${value}" |>
|
||||
Augeas<| title == "${file_path}-${key}-${value}-add" |>
|
||||
~> Augeas<| title == "${file_path}-${key}-${value}" |>
|
||||
|
||||
}
|
||||
|
||||
|
@ -91,8 +91,8 @@ define openstacklib::service_validation(
|
||||
logoutput => 'on_failure',
|
||||
}
|
||||
|
||||
anchor { "create ${service_name} anchor": } ->
|
||||
Exec<| title == "execute ${service_name} validation" |>
|
||||
anchor { "create ${service_name} anchor": }
|
||||
-> Exec<| title == "execute ${service_name} validation" |>
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user