
The gem 'puppet-lint-param-docs' was bumped to 1.2.0 and now handle class and define type. This patch fix lint issues (missing documentation). Change-Id: I15ee384bf48ef21adaf7577216b3ad234988c615
20 lines
384 B
Puppet
20 lines
384 B
Puppet
# Creates floating networks
|
|
#
|
|
# === Parameters:
|
|
#
|
|
# [*network*]
|
|
# (mandatory) The network name to work on
|
|
#
|
|
define nova::manage::floating ( $network ) {
|
|
|
|
File['/etc/nova/nova.conf'] -> Nova_floating[$name]
|
|
Exec<| title == 'nova-db-sync' |> -> Nova_floating[$name]
|
|
|
|
nova_floating { $name:
|
|
ensure => present,
|
|
network => $network,
|
|
provider => 'nova_manage',
|
|
}
|
|
|
|
}
|