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:
Carlos Camacho 2017-07-20 20:42:03 +02:00
parent 76de885d5b
commit a3cef1d6cc
3 changed files with 8 additions and 8 deletions

View File

@ -49,8 +49,8 @@ define openstacklib::db::mysql::host_access (
password_hash => $password_hash, password_hash => $password_hash,
tls_options => $tls_options, tls_options => $tls_options,
} }
Mysql_database<| title == $database |> ~> Mysql_database<| title == $database |>
Mysql_user<| title == "${user}@${host}" |> ~> Mysql_user<| title == "${user}@${host}" |>
} }
if $create_grant { if $create_grant {
@ -59,7 +59,7 @@ define openstacklib::db::mysql::host_access (
table => "${database}.*", table => "${database}.*",
user => "${user}@${host}", user => "${user}@${host}",
} }
Mysql_user<| title == "${user}@${host}" |> ~> Mysql_user<| title == "${user}@${host}" |>
Mysql_grant<| title == "${user}@${host}/${database}.*" |> ~> Mysql_grant<| title == "${user}@${host}/${database}.*" |>
} }
} }

View File

@ -40,8 +40,8 @@ define openstacklib::policy::base (
changes => "set dict/entry[*][.=\"${key}\"]/string \"${value}\"", changes => "set dict/entry[*][.=\"${key}\"]/string \"${value}\"",
} }
Augeas<| title == "${file_path}-${key}-${value}-add" |> ~> Augeas<| title == "${file_path}-${key}-${value}-add" |>
Augeas<| title == "${file_path}-${key}-${value}" |> ~> Augeas<| title == "${file_path}-${key}-${value}" |>
} }

View File

@ -91,8 +91,8 @@ define openstacklib::service_validation(
logoutput => 'on_failure', logoutput => 'on_failure',
} }
anchor { "create ${service_name} anchor": } -> anchor { "create ${service_name} anchor": }
Exec<| title == "execute ${service_name} validation" |> -> Exec<| title == "execute ${service_name} validation" |>
} }