]> git.donarmstrong.com Git - dsa-puppet.git/blob - 3rdparty/modules/nova/manifests/manage/floating.pp
try again, with puppetforge modules, correctly included now
[dsa-puppet.git] / 3rdparty / modules / nova / manifests / manage / floating.pp
1 # Creates floating networks
2 define nova::manage::floating ( $network ) {
3
4   File['/etc/nova/nova.conf'] -> Nova_floating[$name]
5   Exec<| title == 'nova-db-sync' |> -> Nova_floating[$name]
6
7   nova_floating { $name:
8     ensure   => present,
9     network  => $network,
10     provider => 'nova_manage',
11   }
12
13 }