Files
puppet-nova/manifests/manage/floating.pp
Sebastien Badia 7a4e067e92 lint: Fix lint issues (missing documentation for define types)
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
2015-06-25 11:15:13 +02:00

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',
}
}