Puppet Class: kickstack::nova::vncproxy

Inherits:
kickstack
Defined in:
manifests/nova/vncproxy.pp

Overview



1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# File 'manifests/nova/vncproxy.pp', line 1

class kickstack::nova::vncproxy inherits kickstack {

  include kickstack::nova::config

  class { '::nova::vncproxy':
    enabled => true,
    host => getvar("ipaddress_${::kickstack::nic_management}"),
    ensure_package => $::kickstack::package_version
  }

  unless getvar("${::kickstack::fact_prefix}vncproxy_host") {
    kickstack::exportfact::export { "vncproxy_host":
      value => "${hostname}",
      tag => "nova",
      require => Class['::nova::vncproxy']
    }
  }
}