Fix lint issues to upgrade to puppet-lint 2.3

2017-07-20 14:41:18.752841 | manifests/cell_v2/simple_setup.pp:52:WARNING: arrow should be on the right operand's line
2017-07-20 14:41:18.752941 | manifests/cell_v2/simple_setup.pp:53:WARNING: arrow should be on the right operand's line
2017-07-20 14:41:18.752974 | manifests/deps.pp:85:WARNING: arrow should be on the right operand's line
2017-07-20 14:41:18.753009 | manifests/deps.pp:96:WARNING: arrow should be on the right operand's line
2017-07-20 14:41:18.753044 | manifests/deps.pp:105:WARNING: arrow should be on the right operand's line
2017-07-20 14:41:18.753079 | manifests/deps.pp:106:WARNING: arrow should be on the right operand's line
2017-07-20 14:41:18.753114 | manifests/deps.pp:114:WARNING: arrow should be on the right operand's line
2017-07-20 14:41:18.753154 | manifests/wsgi/apache_placement.pp:121:WARNING: arrow should be on the right operand's line
2017-07-20 14:41:18.753189 | manifests/wsgi/apache_placement.pp:122:WARNING: arrow should be on the right operand's line

Change-Id: Ic6233d66c4fee0564b646c21984db230eaf859b0
This commit is contained in:
Carlos Camacho 2017-07-20 20:28:44 +02:00
parent a27c62c046
commit 0e9ef8324b
3 changed files with 15 additions and 15 deletions

View File

@ -49,8 +49,8 @@ class nova::cell_v2::simple_setup (
include ::nova::cell_v2::discover_hosts
Class['nova::cell_v2::map_cell0'] ->
Nova_cell_v2 <| |> ~>
Class['nova::cell_v2::discover_hosts']
Class['nova::cell_v2::map_cell0']
-> Nova_cell_v2 <| |>
~> Class['nova::cell_v2::discover_hosts']
}

View File

@ -82,8 +82,8 @@ class nova::deps {
# Wedge this in after the db creation and before the services
anchor { 'nova::dbsync_api::begin':
subscribe => Anchor['nova::db::end']
} ->
anchor { 'nova::dbsync_api::end':
}
-> anchor { 'nova::dbsync_api::end':
notify => Anchor['nova::service::begin'],
}
@ -93,8 +93,8 @@ class nova::deps {
Anchor['nova::db::end'],
Anchor['nova::dbsync_api::end']
]
} ->
anchor { 'nova::dbsync::end':
}
-> anchor { 'nova::dbsync::end':
notify => Anchor['nova::service::begin']
}
@ -102,17 +102,17 @@ class nova::deps {
# be overridden using the spaceship operator to move it around when needed
anchor { 'nova::cell_v2::begin':
subscribe => Anchor['nova::dbsync_api::end']
} ->
Nova::Cell_v2::Cell<||> ~>
anchor { 'nova::cell_v2::end':
}
-> Nova::Cell_v2::Cell<||>
~> anchor { 'nova::cell_v2::end':
notify => Anchor['nova::dbsync::begin']
}
# Wedge online data migrations after db/api_sync and before service
anchor { 'nova::db_online_data_migrations::begin':
subscribe => Anchor['nova::dbsync_api::end']
} ->
anchor { 'nova::db_online_data_migrations::end':
}
-> anchor { 'nova::db_online_data_migrations::end':
notify => Anchor['nova::service::begin']
}
}

View File

@ -122,9 +122,9 @@ class nova::wsgi::apache_placement (
}
# Ubuntu requires nova-placement-api to be installed before apache to find wsgi script
Package<| title == 'nova-placement-api'|> -> Package<| title == 'httpd'|>
Package<| title == 'nova-placement-api' |> ->
File[$::nova::params::placement_httpd_config_file] ~>
Service['httpd']
Package<| title == 'nova-placement-api' |>
-> File[$::nova::params::placement_httpd_config_file]
~> Service['httpd']
::openstacklib::wsgi::apache { 'placement_wsgi':
bind_host => $bind_host,