Puppet Class: homeassistant

Inherited by:
homeassistant::config
homeassistant::install
homeassistant::service
Defined in:
manifests/init.pp

Overview

Parameters:

  • location_name (String)
  • latitude (Numeric)
  • longitude (Numeric)
  • elevation (Numeric)
  • unit_system (Enum['imperial', 'metric'])
  • time_zone (String)
  • known_devices (Optional[Hash]) (defaults to: undef)
  • home (Stdlib::Absolutepath) (defaults to: '/srv/homeassistant')
  • confdir (Stdlib::Absolutepath) (defaults to: '/etc/homeassistant')
  • known_devices_replace (Boolean) (defaults to: false)


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

class homeassistant (
  String $location_name,
  Numeric $latitude,
  Numeric $longitude,
  Numeric $elevation,
  Enum['imperial', 'metric'] $unit_system,
  String $time_zone,
  Optional[Hash] $known_devices = undef,
  Stdlib::Absolutepath $home   = '/srv/homeassistant',
  Stdlib::Absolutepath $confdir = '/etc/homeassistant',
  Boolean $known_devices_replace = false,
) {
  class { 'homeassistant::install': }
  -> class { 'homeassistant::config': }
  ~> class { 'homeassistant::service': }

  contain homeassistant::install
  contain homeassistant::config
  contain homeassistant::service
}