Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

There are quite a bit of data which are not associated to a specific service, but are rather used by various modules, and should thus generally allways be present:

KeyDescriptionExampleCreated byData-typeDatafile:

Used by:

profile::networking::rpfilterBefore we used multiple routing-tables on our hosts we had to turn off rpfilter to allow asymmetric routing. Now this should be turned on.trueN/ABooleannetworking.yamlAll
profile::networking::management::ipv4::prefixesA list over IPv4 prefixes for networks where management stations are found. Used to configure the firewall for SSH, stats-pages etc.

- '192.0.2.0/26'

N/AList of stringsnetworking.yamlAll
profile::networking::management::ipv6::prefixesA list over IPv6 prefixes for networks where management stations are found. Used to configure the firewall for SSH, stats-pages etc.- '2001:db8:beef:701::/64'N/AList of strings
All

Networks

The networks used in the deployment are all described in hiera to ensure that all configuration retrieves the same values when configuring anything network specific. There are one key in hiera which lists all networks:

networking.yamlAll
profile::ntp::serversA list over ntp servers to use.

- 'ntp.ntnu.no'

KeyDescriptionExampleCreated byData-type

Used by:

profile::networksA list over networks in this deployment. The values in this list is used as keys to retrieve the rest of the parameters.- 'management'

N/A

List of
Stringsrole::bootstrap, role::dashboard, role::kvm, role::dhcp

For each of the neworks listed in "profile::networks" the following keys should exist:

stringscommon.yamlAll
profile::keepalived::vrrp_passwordA password used to secure the vrrp instances'724EuvohTGOdlcFnLlDV'pwgen -s -1 20Stringcommon.yaml 
classesA list over puppet classes which should be installed on a node. Used when we do not have an ENC, but it is always required. It is thus recommended to have an empty list here if an ENC is used.[ ]N/AList of stringscommon.yaml or node-specific file.All
profile::productionlevelWhich production-level is this installation? "prod", "test" or "dev"?'dev
KeyDescriptionExampleCreated byData-type

Used by

profile::networks::<networkname>::domainThe network-specific domain-name.'management.example.com'N/AStringrole::bootstrap, role::dashboardprofile::networks::<networkname>::ipv4::dynamicrange(Optional) The range of ip-addresses for dynamic assignment to unregistered hosts.'192.0.2.230 192.0.2.240
'N/AString
role
common.yamlAll
profile::
bootstrap, role
baseconfig::
dashboard, role::dhcpprofile::networks::<networkname>::ipv4::gatewayThe IPv4 gateway on the network'192.0.2.1
smtp_relayAn SMTP relay which the server can use to send mail'smtp.example.com'N/AString
role::bootstrap, role::dashboard, role::dhcp
common.yamlAll
profile::
networks
baseconfig::
<networkname>::ipv4::id
maildomainThe domain the server sends mail from'example.com
The IPv4 network ID.'192.0.2.0
'N/AStringcommon.yamlAll

Networks

The networks used in the deployment are all described in hiera to ensure that all configuration retrieves the same values when configuring anything network specific. There are one key in hiera which lists all networks:

KeyDescriptionExampleCreated byData-typeDatafile:

Used by:

role::bootstrap, role::dashboard, role::dhcp

profile::networks
::<networkname>::ipv4::maskThe IPv4 network mask'255.255.255.0
A list over networks in this deployment. The values in this list is used as keys to retrieve the rest of the parameters.

- 'management'

N/A
String
List of Stringsnetworking.yamlrole::bootstrap, role::dashboard, role::kvm, role::dhcp

For each of the neworks listed in "profile::networks" the following keys should exist:

KeyDescriptionExampleCreated byData-typeDatafile:

Used by

profile::
<networkname>
networks::
ipv4
<networkname>::
prefix
domainThe
IPv4 CIDR prefix
network-specific domain-name.'
192
management.
0.2.0/24
example.com'N/AString
Most roles. Used as a source-net in firewall rules.
networking.yamlrole::bootstrap, role::dashboard
profile::networks::<networkname>::ipv4::
reserved
dynamicrange(Optional)
list over address-ranges which the dashboard should not assign to
The range of ip-addresses for dynamic assignment to unregistered hosts.
 -
'192.0.2.
245-
230 192.0.2.
248
240'N/AStringnetworking.yamlrole::bootstrap, role::dashboard, role::dhcp
profile::networks::<networkname>::
ipv6
ipv4::
prefix
gatewayThe
IPv6 CIDR prefix
IPv4 gateway on the network'192.0.2.1
'2001:db8:beef:707::/64
'N/AStringnetworking.yamlrole::bootstrap, role::
postgres::master
dashboard, role::
postgres::slave
dhcp
profile::networks::<networkname>::ipv4::
vlanid
idThe
VLAN
IPv4 network ID
of the network
.
504
'192.0.2.0'N/A
Integer
Stringnetworking.yamlrole::
kvm

Dashboard

The general configuration of the dashboard are based on the following keys:

KeyDescriptionExampleCreated byData-type

Used by:

profile::dashboard::django::secretA secret key used for misc. security features in the django backend. Should be the same on all dashboard servers'pM[`SiZd'=+ycXOAKm`srXY?@8DRw=BVdQXg$blHD"RD\2iv97'pwgen -s -y 50 -1String
bootstrap, role::dashboard, role::dhcp
profile::networks::<networkname>::ipv4::maskThe IPv4 network mask'255.255.255.0'N/AStringnetworking.yaml
role::bootstrap, role::dashboard, role::dhcp
profile::networks::<networkname>::
dashboard
ipv4::
name
prefixThe
DNS name used to access the dashboard. This name should have an A and AAAA record configured with the address of the dashboard server (or loadbalancer). 'dashboard.example.com'N/A String role::bootstrap, role::dashboardprofile::dashboard::name::v4onlyA DNS name wich also points to the dashboard, but this name should only resolve to an IPv4 address. This is because of some processes currently only works over IPv4 (Authorization of the retrieval of PXE preseed files for example)  'v4dashboard.example.com'N/A 
IPv4 CIDR prefix.'192.0.2.0/24'N/AStringnetworking.yamlMost roles. Used as a source-net in firewall rules.
profile::networks::<networkname>::ipv4::reserved(Optional) list over address-ranges which the dashboard should not assign to hosts. - '192.0.2.245-192.0.2.248'N/AStringnetworking.yaml
String 
role::bootstrap, role::dashboard
profile::
dashboard
networks::
ldap
<networkname>::
urlThe url for the LDAP server used for authentication.
ipv6::prefixThe IPv6 CIDR prefix'2001:db8:beef:707::/64
'ldaps://ldap.example.com:636
'N/AStringnetworking.yamlrole::bootstrap, role::
dashboard
postgres::master, role::postgres::slave
profile::
dashboard
networks::
ldap
<networkname>::
search_baseLDAP search base
vlanidThe VLAN ID of the network.504
'OU=Users,DC=ldap,DC=example,DC=com'
N/A
String
Integernetworking.yamlrole::
bootstrap, role::dashboardprofile::dashboard::ldap::domainLDAP domain nam'example-com'N/AStringrole::bootstrap, role::dashboard

There are also some keys which have a suggested value wich should work for all installations, but are still included in hiera for flexibility:

KeyDescriptionSuggested valueData-type

Used by:

profile::dashboard::apiA HTTP link used by external clients connecting to the dashboard.'http://%{hiera('profile::dashboard::name::v4only')}'Stringrole::bootstrap, role::dashboard
profile::dashboard::datadirA location where the dashboard can store files.'/var/lib/machineadmin'Stringrole::bootstrap, role::dashboard

Database

kvm

Legacy keys

As there still are a couple of puppet profiles expecting the management network to be named management, the following keys are needed:

KeyDescriptionExampleCreated byData-typeDatafile:

Used by

profile::networks::management::ipv4::prefixIPv4 prefix for management network"%{hiera('profile::networks::infrastructure::ipv4::prefix')}"N/AStringnetworking.yaml 
profile::networks::management::ipv6::prefixIPv6 prefix for management network"%{hiera('profile::networks::infrastructure::ipv6::prefix')}"N/AStringnetworking.yaml 


Users

To create users the following general keys are needed:

KeyDescriptionExampleCreated byData-typeDatafile:

Used by:

profile::
dashboard::database::typeThe database type.'mysql' or 'sqlite
usersA list over usernames which puppet should configure users for

- 'eigil'

N/A
Stringrole::bootstrap, role::dashboard
List of Stringsusers.yamlAll machines

For each username the following keys should be created.

KeyDescriptionExampleCreated byData-typeDatafile:

Used by:

profile::
dashboard
user::
database
<username>::
nameThe database name (for mysql) or location (for sqlite)'dashboard' or '/var/dashboard.sqlite'
uidThe user-id

801

N/A
Stringrole::bootstrap, role::dashboard
Integerusers.yamlAll machines
profile::
dashboard
user::
database
<username>::groupsA list over groups the user
The database username'dashboard
should belong to.

- 'sudo'

N/A
Stringrole::bootstrap, role::dashboard
List of stringsusers.yamlAll machines
profile::
dashboard
user::
database
<username>::
pass
hashThe
database password'x&1/7LjWbz:i<:W&p+PG'pwgen -s -y 20 -1Stringrole::bootstrap, role::dashboardprofile::dashboard::database::hostThe database host. Could be a static string, or a hiera lookup.
password-hash to be injected into /etc/shadow  Stringusers.yamlAll machines
profile::user::<username>::keysList over ssh-keys which should be added to the users authorized_keys

 

N/AList of stringsusers.yamlAll machines
profile::user::<username>::key::<keyname>A specific ssh key. Needs one for each key listed in profile::user::<username>::keys 
'mysql.example.com', '192.0.2.38' or "%{hiera('profile::haproxy::management::ip')}"
N/AString
role::bootstrap, role::dashboard

DHCP configuration:

users.yamlAll machines


Ceph

The dashboard needs the keys listed at the section DHCP server in addition to the following keys to configure the DHCP servers:These keys will be subject to change, when they get to be a part of new roles

KeyDescriptionExampleCreated byData-type

Used by:

profile::
dhcp
ceph::
serversA list of hashes describing the dhcp servers. Key=DHCP-Server-name and value=DHCP-IPv4'dhcp1': '192.0.2.21'N/AList of hashes
fsidUUID for cluster'23a2d131-99f7-4ad0-9fb4-1977f59ce530'uuidgenString

role::

bootstrap

controller,
role::

dashboard

DNS configuration:

The Dashboard requires some keys listed under the section DNS-Server, in addition to the following keys:

KeyDescriptionExampleCreated byData-type

Used by:

profile::dns::<shortname>::keyThe TSIG key used for updates sent to this server. It can be useful to let this be a hiera-lookup for the zones managed by our own DNS servers.

'UvetjoX5zMiw/NbQr3biug=='

"%{hiera('profile::dns::key::update')}"

dnssec-keygen -a HMAC-MD5 -b 128 -n HOST <keyname>Stringrole::bootstrap, role::dashboard

PXE-Booting

The dashboard and the DHCP servers are together providing a pxeboot environment where we boot and install operatingsystem images. 

KeyDescriptionExampleCreated byData-type

Used by:

profile::pxe::imagesA list over image short-names (ID's used to identify images later).- '1604amd64'N/AList of stringsrole::bootstrap, role::dhcp
profile::pxe::<shortname>::nameA descriptive name of the specific image'Ubuntu 16.04 Server amd64'N/AStringrole::bootstrap, role::dhcp
profile::pxe::<shortname>::kernelA URL to the kernel of the specific OS'http://archive.ubuntu.com/ubuntu/dists/xenial-proposed/main/installer-amd64/current/images/netboot/ubuntu-installer/amd64/linux'N/AStringrole::bootstrap, role::dhcp
profile::pxe::<shortname>::initrdA URL to the initrd image of the specific OS'http://archive.ubuntu.com/ubuntu/dists/xenial-proposed/main/installer-amd64/current/images/netboot/ubuntu-installer/amd64/initrd.gz'N/AStringrole::bootstrap, role::dhcp

DHCP server

When running DHCP servers, the following keys are needed:

compute,
role::storage

profile::ceph::replicasAmount of replicas in cluster3N/AInteger

role::controller,
role::compute,
role::storage

profile::ceph::journal::sizeSize of journal (not relevant in luminous(?)) in MB15800N/AInteger

role::controller,
role::compute,
role::storage

profile::ceph::admin_keyAdmin key

'AQCIhy9a9ozCKhAApX5UoAnjad+KZ4VzWxBYJQ=='

ceph-authtool --gen-print-keyString

role::controller,
role::compute,
role::storage

profile::ceph::monitor_keyceph-mon key

'AQCIhy9a9ozCKhAApX5UoAnjad+KZ4VzWxBYJQ=='

ceph-authtool --gen-print-keyStringrole::controller,
role::compute
profile::ceph::mgr_keyceph-mgr key

'AQCIhy9a9ozCKhAApX5UoAnjad+KZ4VzWxBYJQ=='

ceph-authtool --gen-print-keyString

role::controller

profile::ceph::osd_bootstrap_keyceph-osd bootstrap key

'AQCIhy9a9ozCKhAApX5UoAnjad+KZ4VzWxBYJQ=='

ceph-authtool --gen-print-keyString

role::controller,
role::storage

profile::ceph::glance_keyglance key

'AQCIhy9a9ozCKhAApX5UoAnjad+KZ4VzWxBYJQ=='

ceph-authtool --gen-print-keyStringrole::controller
(glance hosts)
profile::ceph::nova_keynova (and cinder) key

'AQCIhy9a9ozCKhAApX5UoAnjad+KZ4VzWxBYJQ=='

ceph-authtool --gen-print-keyStringrole::controller,
role::compute
(nova hosts)
(cinder hosts)
profile::ceph::nova_uuidUUID for nova/libvrt and cinder'23a2d131-99f7-4ad0-9fb4-1977f59ce530'uuidgenStringrole::controller,
role::compute
(nova and cinder hosts)
profile::ceph::cluster_networkCeph frontend network'172.17.2.0/24
KeyDescriptionExampleCreated byData-typeUsed by:profile::dhcp::omapi::keyThe omapi key used to update the DHCP servers'omapi_key=='
dnssec-keygen -r /dev/urandom -a HMAC-MD5 -b 512 -n HOST key_name
String

role::bootstrap, role::dashboard, role::dhcp

profile::dhcp::omapi::nameThe omapi key name

'key_name'

String

role::bootstrap, role::dashboard, role::dhcp

profile::dhcp::searchdomainThe default search-domain handed to DHCP clients'cloud.domain.com
'N/AStringrole::
bootstrap, role::dhcp
storage
profile::
dns
ceph::
resolversThe DNS resolvers for clients to use
public_networkCeph backend (replication) network'172.17.3.0/24

- '<ip-addres-DNS1>'

- '<ip-address-DNS2>
'N/A
List of strings
Stringrole::
bootstrap, role::dhcp

DNS server

storage


Dashboard

The general configuration of the dashboard are based on If you are hosting a DNS server the following keys are needed:

KeyDescriptionExampleCreated byData-typeDatafile:

Used by:

profile::
dns
dashboard::django::
forwardersWhich DNS servers your DNS server should use to resolve domainnames where it is not an authorative DNS

- '<ip-addres-DNS1>'

- '<ip-address-DNS2>'

N/A
secret

A secret key used for misc. security features in the django backend. Should be the same on all dashboard servers

NB: The pwgen command lacks -y because some special characters will cause errors

'9tAMGEAEO4ln3t3PEXvN7dJov5SlbKU5AxxkSO50WQH6yIMt8X'pwgen -s 50 -1Stringcommon.yaml
List of strings
role::bootstrap, role::
dns::master
dashboard
profile::
dns
dashboard::
key::transfer
nameThe
TSIG keys used for zone-transfers'UvetjoX5zMiw/NbQr3biug=='dnssec-keygen -a HMAC-MD5 -b 128 -n HOST <keyname>String
DNS name used to access the dashboard. This name should have an A and AAAA record configured with the address of the dashboard server (or loadbalancer). 'dashboard.example.com'N/A String common.yamlrole
role
::bootstrap, role::
dns::master, role::dns::slave
dashboard
profile::
dns
dashboard::
key
name::
updateThe TSIG keys used for DNS updates'UvetjoX5zMiw/NbQr3biug=='dnssec-keygen -a HMAC-MD5 -b 128 -n HOST <keyname>
v4onlyA DNS name wich also points to the dashboard, but this name should only resolve to an IPv4 address. This is because of some processes currently only works over IPv4 (Authorization of the retrieval of PXE preseed files for example)  'v4dashboard.example.com'N/A String common.yaml
String
role::bootstrap, role::
dns
dashboard
profile::
master, role
dashboard::
dns
ldap::
slaveprofile::dns::slavesA list over DNS slave-servers which replicates the zone-files from the main DNS server. The hash is structured as key=Servername and value=DNS-IPv4'ns2.example.com': '192.0.2.130'N/A
urlThe url for the LDAP server used for authentication.'ldaps://ldap.example.com:636'N/AStringcommon.yaml
List of Hashes
role::bootstrap, role::
dns::master, role::dns::slaveprofile::dns::zonesA list over DNS zones managed by our DNS servers, or used by our dashboard. The hash is structured as key=DNS-zone and value=DNS-server-shortname.'zone.example.com': 'ns1'N/AList of Hashes
dashboard
profile::dashboard::ldap::search_baseLDAP search base'OU=Users,DC=ldap,DC=example,DC=com'N/AStringcommon.yamlrole::bootstrap, role::dashboard
profile::dashboard::ldap::domainLDAP domain nam'example-com'N/AStringcommon.yamlrole::bootstrap, role::dashboard
, role::dns::master, role::dns::slave

There are also some keys which have a suggested value wich should work for all installations, but are still included in hiera for flexibility:I addition there are a set of keys which are needed for each DNS server managing a DNS zone used by us. Shortname is here the name used in "profile::dns::zones".

KeyDescription
Example
Suggested value
Created by
Data-typeDatafile:

Used by:

profile::
dns
dashboard::
<shortname>::ipv4The IPv4 address of a specific DNS server.'192.0.2.129'N/AStringrole::bootstrap, role::dashboard, role::dns::master, role::dns::slaveprofile::dns::<shortname>::nameThe fqdn of a specific DNS server'ns1.example.com'N/A
apiA HTTP link used by external clients connecting to the dashboard.'http://%{hiera('profile::dashboard::name::v4only')}'Stringcommon.yamlrole::bootstrap, role::dashboard
profile::dashboard::datadirA location where the dashboard can store files.'/var/lib/shiftleader'Stringcommon.yaml
String
role::bootstrap, role::
dns::master, role::dns::slave

Haproxy

We use haproxy to loadbalance multiple of our services. It needs the following keys present in hiera to work:

dashboard

Database

Key
Key
DescriptionExampleCreated byData-typeDatafile:

Used by:

profile::
haproxy
dashboard::
management
database::
ipv4
typeThe
IPv4 address used in front og the loadbalancer used for managemnet services
database type.'mysql' or 'sqlite'
'192.0.2.151' 
N/AStringcommon.yamlrole::bootstrap, role::
puppet
dashboard
profile::
db, role
dashboard::
puppet::server,
database::nameThe database name (for mysql) or location (for sqlite)'dashboard' or '/var/dashboard.sqlite'N/AStringcommon.yamlrole::
mysql
bootstrap, role::
balancer::management
dashboard
profile::
haproxy
dashboard::
management
database::
ipv4::idThe VRRP id used by the IPv4 VRRP instance.11
userThe database username

'dashboard'

N/AString
Integer
common.yamlrole::bootstrap, role::
balancer::management
dashboard
profile::
haproxy
dashboard::
management
database::
ipv4::priority
passThe database password'x&1/7LjWbz:i<:W&p+PG'pwgen -s -y 20 -1Stringcommon.yaml
The VRRP priority used by the IPv4 VRRP instance.10 N/AInteger
role::bootstrap, role::
balancer::management
dashboard
profile::
haproxy
dashboard::
management
database::
ipv6The IPv4 address used in front og the loadbalancer used for managemnet services
hostThe database host. Could be a static string, or a hiera lookup.'mysql.example.com', '192.0.2.38' or "%{hiera('profile::haproxy::management::ip')}"
'2001:db8:beef:707::7b1'
N/AStringcommon.yamlrole::bootstrap, role::
:puppet::db, role::puppet::server, role::mysql, role::balancer::management profile::haproxy::management::ipv6::idThe VRRP id used by the IPv6 VRRP instance. 
dashboard

DHCP configuration:

The dashboard needs the keys listed at the section DHCP server in addition to the following keys to configure the DHCP servers:

KeyDescriptionExampleCreated byData-typeDatafile

Used by:

profile::dhcp::serversA list of hashes describing the dhcp servers. Key=DHCP-Server-name and value=DHCP-IPv4'dhcp1': '192.0.2.21'N/AList of hashescommon.yaml
12N/AInteger
role::bootstrap, role::
balancer::managementprofile::haproxy::management::ipv6::priorityThe VRRP priority used by the IPv6 VRRP instance.10N/AIntegerrole::bootstrap, role::balancer::management

MySQL

dashboard

DNS configuration:

The Dashboard requires some keys listed under the section DNS-Server, in addition to the following Our mysql cluster uses the following hiera- keys:

KeyDescriptionExampleCreated byData-typeDatafile:

Used by:

profile::dns::
mysqlcluster
<shortname>::
serversThis is a list over IPv4 addresses used by servers in the cluster. This list are used when a server starts up, to discover at least one of the machines already in the cluster.

- '192.0.2.201'

N/AStringrole::bootstrap, role::mysql
keyThe TSIG key used for updates sent to this server. It can be useful to let this be a hiera-lookup for the zones managed by our own DNS servers.

'UvetjoX5zMiw/NbQr3biug=='

"%{hiera('profile::dns::key::update')}"

dnssec-keygen -a HMAC-MD5 -b 128 -n HOST <keyname>Stringcommon.yaml
profile::mysqlcluster::masterThe fqdn of one of the mysql-servers. This are in theory used by the puppet-galera module to start one server in case all servers are down.'mysql1.example.com'N/AString
role::bootstrap, role::
mysqlprofile::mysqlcluster::root_passwordThis is the password of the mysql root user'OwT$Etc$=|;h(=upip#3'pwgen -s -y 20 -1
dashboard

PXE-Booting

The dashboard and the DHCP servers are together providing a pxeboot environment where we boot and install operatingsystem images. 

KeyDescriptionExampleCreated byData-typeDatafile:

Used by:

profile::pxe::imagesA list over image short-names (ID's used to identify images later).- '1604amd64'N/AList of stringscommon.yaml
String
role::bootstrap, role::
mysql
dhcp
profile::
mysqlcluster
pxe::<shortname>::
status_passwordThis is the password of the mysql status user

';^8P"M,Oem6le\T"am!0'

pwgen -s -y 20 -1String
nameA descriptive name of the specific image'Ubuntu 16.04 Server amd64'N/AStringcommon.yamlrole::bootstrap, role::
mysql
dhcp
profile::pxe::
mysqlcluster
<shortname>::
haproxy_passwordThis is the password of the mysql haproxy user. This user is so that haproxy can create more robust checks than just see if port 3306 is open.'4g36-&jHNFF?J-7yQZHa'pwgen -s -y 20 -1
kernelA URL to the kernel of the specific OS'http://archive.ubuntu.com/ubuntu/dists/xenial-proposed/main/installer-amd64/current/images/netboot/ubuntu-installer/amd64/linux'N/AStringcommon.yaml
String
role::bootstrap, role::
mysql

Postgres

dhcp
profile::pxe::<shortname>::initrdA URL to the initrd image of the specific OS'http://archive.ubuntu.com/ubuntu/dists/xenial-proposed/main/installer-amd64/current/images/netboot/ubuntu-installer/amd64/initrd.gz'N/AStringcommon.yamlrole::bootstrap, role::dhcp

DHCP server

When running DHCP servers, the following keys are neededOur postgres servers uses the following hiera keys:

KeyDescriptionExampleCreated byData-typeDatafile:Used by:
profile::
postgres
dhcp::
ipv4'192.0.2.204'N/A String
omapi::keyThe
IPv4 address to use in front of the postgres servers.
omapi key used to update the DHCP servers'omapi_key=='
dnssec-keygen -r /dev/urandom -a HMAC-MD5 -b 512 -n HOST key_name
Stringcommon.yaml

role::bootstrap, role::

postgres::master

dashboard, role::

postgres::slave, role::puppet::db

dhcp

profile::
postgres
dhcp::
ipv4
omapi::
idThe VRRP id to use for the VRRP instance negotiating for postgres's IPv4 address13N/AInteger
nameThe omapi key name

'key_name'

Stringcommon.yaml

role::bootstrap, role::

postgres::master

dashboard, role::

postgres::slave

dhcp

profile::
postgres
dhcp::
ipv4::priority
searchdomainThe
VRRP priority to use for the VRRP instance negotiating for postgres's IPv4 address10
default search-domain handed to DHCP clients'cloud.domain.com'N/AString
Integer
common.yaml

role::bootstrap, role::

postgres

dhcp

profile::
master, role
dns::
postgres::slaveprofile::postgres::ipv6The IPv6 address to use in front of the postgres servers.'2001:db8:beef:707::9:6591'N/A 
resolversThe DNS resolvers for clients to use

- '<ip-addres-DNS1>'

- '<ip-address-DNS2>'

N/AList of stringscommon.yaml
String

role::bootstrap, role::

postgres::master, role::postgres::slave

dhcp

DNS server

If you are hosting a DNS server the following keys are needed:

KeyDescriptionExampleCreated byData-typeDatafile:Used by:
profile::dns::forwardersWhich DNS servers your DNS server should use to resolve domainnames where it is not an authorative DNS

- '<ip-addres-DNS1>'

- '<ip-address-DNS2>'

N/AList of stringscommon.yaml

role::bootstrap, role::

puppet

dns::

db

master

profile::
postgres
dns::
ipv6
key::
id
transferThe
VRRP id to use for the VRRP instance negotiating for postgres's IPv6 address
TSIG keys used for zone-transfers'UvetjoX5zMiw/NbQr3biug=='dnssec-keygen -a HMAC-MD5 -b 128 -n HOST <keyname>Stringcommon.yaml
14N/AInteger
role::bootstrap, role::
postgres
dns::master, role::
postgres
dns::slave
profile::
postgres
dns::
ipv6
key::
priority
updateThe
VRRP priority to use for the VRRP instance negotiating for postgres's IPv6 address10N/A
TSIG keys used for DNS updates'UvetjoX5zMiw/NbQr3biug=='dnssec-keygen -a HMAC-MD5 -b 128 -n HOST <keyname>Stringcommon.yaml
Integer
role::bootstrap, role::
postgres
dns::master, role::
postgres
dns::slave
profile::
postgres
dns::
masterserver
slavesA
fqdn identifying the postgres server which is supposed to be the master. This affects which servers are going to create databases and users.
list over DNS slave-servers which replicates the zone-files from the main DNS server. The hash is structured as key=Servername and value=DNS-IPv4'ns2.example.com': '192.0.2.130'N/AList of Hashescommon.yaml
'pgsql1.example.com'N/AString
role::bootstrap, role::
postgres
dns::master, role::
postgres
dns::slave
profile::
postgres
dns::
passwordThe password for the "postgres" postgresql user.'d4Cwfl)W}onosE~Y[]G,'pwgen -s -y 20 -1
zonesA list over DNS zones managed by our DNS servers, or used by our dashboard. The hash is structured as key=DNS-zone and value=DNS-server-shortname.'zone.example.com': 'ns1'N/AList of Hashescommon.yaml
String
role::bootstrap, role::
postgres
dashboard, role::dns::master, role::
postgres
dns::slave

I addition there are a set of keys which are needed for each DNS server managing a DNS zone used by us. Shortname is here the name used in "profile::

...

dns::zones".

KeyDescriptionExampleCreated byData-typeDatafile:Used by:
profile::dns::<shortname>::ipv4The IPv4 address of a specific DNS server.'192.0.2.129'N/AStringcommon.yaml
replicatorpasswordThe password used for the "replicator" postgresql user.'Gz,j*>Qt'dF{-\Sr4N-_'pwgen -s -y 20 -1String
role::bootstrap, role::dashboard, role:
postgres
:dns::master, role::
postgres
dns::slave

Puppet

These are our puppet-related hiera keys:

profile::dns::<shortname>::nameThe fqdn of a specific DNS server'ns1
KeyDescriptionExampleCreated byData-type

Used by

profile::puppet::aptkeyThe gpg key used to authenticate the puppetlabs apt repository'6F6B15509CF8E59E6E469F327F438280EF8D349F'puppetlabsStringAllprofile::puppet::caserverThe fqdn of the puppetca server'puppetca
.example.com'N/AString
Allprofile::puppet::environmentThe puppet environment a certain host should be configured to use. This needs to be a valid puppet environment, but it will also be owerridden by the ENC, so it is not important exactly which environment are listed her as long as it exists. If you do not use an ENC, this is the puppet environment a client will retrieve config from.'production'N/AStringAllprofile::puppet::hostnameThis is the fqdn the clients use to contact the puppetmasters.'puppet.example.com'N/AStringAllprofile::puppet::r10k::repoThe path to the git-repository which r10k uses to retrieve environments and modules.'https://github.com/myorg/r10k.git
common.yamlrole::bootstrap, role::dns::master, role::dns::slave

KVM / Libvirt

Networks

The class role::kvm makes use of the following general purpose keys to auto create OVS bridges, which the VMs can connect to:

  • profile::networks
  • profile::networks::${network}::vlanid

In addition every KVM host needs to specify which physical interface(s) that carries the networks specified in the profile::networks key

KeyDescriptionExampleCreated byData-typeUsed by:

profile::kvm::interfaces::<networkname>

Example:

profile::kvm::interfaces::management

Name of the physical interfaces that carries the given networkname.

Multiple networks can have the same physical interface, which will be the case if the NIC is connected to a VLAN trunk port.

'eno2'N/AStringrole::
bootstrap, role::puppet::server, role::puppet::caprofile::puppet::runintervalHow often the puppet client should run. Given as a string consisting of a number and a prefix (h, m).
kvm

 

Haproxy

We use haproxy to loadbalance multiple of our services. It needs the following keys present in hiera to work:

KeyDescriptionExampleCreated byData-typeDatafile:Used by:
profile::haproxy::web::profileWhich web profile  should this haproxy node have'management
'60mprofile::puppetdb::database::name

The name of the postgres database used by puppetdb

'puppetdb'N/AString
'N/AString
All
node-specific
role::bootstrap, role::
puppet
balancer::
db, role::postgres::master
*
profile::
puppetdb
haproxy::
database
${profile}::
user
ipv4The
username of the postgres database used by puppetdb
IPv4 address used in front og the loadbalancer used for managemnet services'192.0.2.151' 
'puppetdb'
N/AStringnetworking.yamlrole::bootstrap, role::puppet::db, role::
postgres
puppet::
masterprofile::puppetdb::database::passThe password of the postgres database used by puppetdb'teY.>&3@Ub$X-OGxOFQ7'pwgen -s -y 20 -1
server, role::mysql, role::balancer::management
profile::haproxy::${profile}::ipv4::idThe VRRP id used by the IPv4 VRRP instance.11N/AIntegernetworking.yaml
String
role::bootstrap, role::
puppet
balancer::
db, role
management
profile::
postgres
haproxy::
master
${profile}::
puppetdb
ipv4::
hostname
priorityThe
hostname which the puppetservers use to contact the puppetdb service
VRRP priority used by the IPv4 VRRP instance.10 
'puppetdb.example.com'
N/A
String
Integernetworking.yamlrole::bootstrap, role::balancer:
puppet
:management
profile::
server role
haproxy::
puppet
${profile}::
ca

Redis

KeyDescriptionExampleCreated byData-typeUsed by:
profile::redis::masterName or IP address of initial redis master

'redis1.cloud.domain.com' or '192.168.100.12'

WARNING: If you use DNS name, ensure that the name DOESN'T resolve to 127.0.0.1 at the given redis host, or else this node will not add itself to the redis-sentinel cluster

N/A

String

role::redis

profile::redis::nodetypeDefined on each redis-node. Only valid values are 'master' or 'slave''master'N/AStringrole::redis
profile::redis::ipThe IP redis clients should contact redis on. Typically the haproxy ip

'192.168.100.10'

or

"%{hiera('profile::haproxy::management::ip')}"

or

redis.cloud.domain.com

N/AStringroles::sensuserver

Sensu

ipv6The IPv4 address used in front og the loadbalancer used for managemnet services'2001:db8:beef:707::7b1'N/AStringnetworking.yamlrole::bootstrap, role::puppet::db, role::puppet::server, role::mysql, role::balancer::management 
profile::haproxy::${profile}::ipv6::idThe VRRP id used by the IPv6 VRRP instance. 12N/AIntegernetworking.yamlrole::bootstrap, role::balancer::management
profile::haproxy::${profile}::ipv6::priorityThe VRRP priority used by the IPv6 VRRP instance.10N/AIntegernetworking.yamlrole::bootstrap, role::balancer::management
profile::haproxy::${profile}::domainsWhich domains haproxy should forward for in frontend "ft_web" for given profile

-'foo.com'

-'bar.foo.com'

N/AList of stringscommon.yamlrole::balancer::*
profile::haproxy::management::apicertA .pem certificate bundle with private key, CAcert and server certtl;dr

cat private_key.key server.crt ca.crt > haproxy_web.pem

The order is important!

TLS from CertManager: Choose the "as Certificate (w/ issuer after)" alternative

Multiline stringcerts.yamlrole::bootstrap, role::balancer::management
profile::haproxy::services::apicertA .pem certificate bundle with private key, CAcert and server certtl;dr

cat private_key.key server.crt ca.crt > haproxy_web.pem

The order is important!

TLS from CertManager: Choose the "as Certificate (w/ issuer after)" alternative

Multiline stringcerts.yamlrole::bootstrap, role::balancer::services
profile::haproxy::${profile}::webcertA .pem certificate bundle with private key, CAcert and server certtl;dr

cat private_key.key server.crt ca.crt > haproxy_web.pem

The order is important!

TLS from CertManager: Choose the "as Certificate (w/ issuer after)" alternative

Multiline stringcerts.yaml

role::balancer::*

 

profile::haproxy::management::apicert::certfileFilepath and name for the apicert bundle'/etc/ssl/private/haproxy_web.pem'N/AStringcerts.yamlrole::balancer::web

Munin

KeyDescriptionExampleCreated byData-typeDatafile

Used by

profile::munin::urls

List of FQDNs the munin server should create a vhost in apache for.

Typically - set the "world reachable" FQDN in common.yaml

Each node will get a vhost with their FQDN automaticly, through the apache class.

Only set a munin url in node specific file if it's different from the servers hostname.

- 'munin.exaxmple.com'

- 'munin1.example

KeyDescriptionExampleCreated byData-typeUsed by:profile::sensu::installOpt-out for installing sensu. If not set to false, sensu-clients will be installed everywherefalseN/ABooleanAllprofile::sensu::uchiwa::private_keyPrivate key for uchiwa JWT creationContent of generated file

openssl genrsa -out uchiwa.rsa 2048

String

role::sensuserver

profile::sensu::uchiwa::public_keyPublic key for uchiwa JWT creationContent of generated fileopenssl rsa -in uchiwa.rsa -pubout > uchiwa.rsa.pubStringrole::sensuserverprofile::sensu::uchiwa::passwordPassword for default (and only) user 'sensu' in Uchiwa'g00dp@$$w0rd'pwgen -s -y 20 1Stringrole::sensuserverprofile::sensu::uchiwa::fqdnFQDN for uchiwa web frontend (not FQDN for the server running an instance of it)'sensu.cloud.domain.com'N/AStringrole::sensuserverprofile::sensu::rabbit_passwordPassword for sensu user at the /sensu rabbitmq vhost. Needed for rabbitmq servers, sensu servers AND all sensu clients.'g00dp@$$w0rd'pwgen -s -y 20 1StringAllprofile::sensu::mailer::urlURL to Uchiwa web frontend, that will appear in e-mails from Sensu"http://%{hiera('profile::sensu::uchiwa::fqdn')}"N/AStringrole::sensuserverprofile::sensu::mailer::mail_fromThe address sensu will send e-mail alerts from'sensu@sensu.domain.com'N/AStringrole::sensuserverprofile::sensu::mailer::mail_toList of addresses that sensu will send e-mail alerts to

- 'sysadmin1@cloud.domain.com'

- 'sysadmin2@cloud.domain

.com'

N/AList of
strings
Strings

common.yaml

Node specific

role::
sensuserverprofile::sensu::mailer::smtp_address
munin

MySQL

Our mysql cluster uses the following hiera-keys:

KeyDescriptionExampleCreated byData-typeDatafile

Used by

profile::mysqlcluster::serversThis is a list over IPv4 addresses used by servers in the cluster. This list are used when a server starts up, to discover at least one of the machines already in the cluster.

- '192.0.2.201

Outgoing SMTP server mail alerts'smtp.cloud.domain.com

'

N/AStringcommon.yamlrole::bootstrap, role::
sensuserver
mysql
profile::
sensu
mysqlcluster::
mailer::smtp_portTCP port used for connections to the given SMTP server25
masterThe fqdn of one of the mysql-servers. This are in theory used by the puppet-galera module to start one server in case all servers are down.'mysql1.example.com'N/A
Integerrole::sensuserverprofile::sensu::mailer::smtp_domainSMTP domain'cloud.domain.com'N/AStringrole::sensuserverprofile::sensu::pluginsThe plugins listed here will be installed on all clients
Stringcommon.yamlrole::bootstrap, role::mysql
profile::mysqlcluster::root_passwordThis is the password of the mysql root user'OwT$Etc$=|;h(=upip#3'pwgen -s -y 20 -1Stringcommon.yamlrole::bootstrap, role::mysql
profile::mysqlcluster::status_passwordThis is the password of the mysql status user

';^8P"M,Oem6le\T"am!0'

pwgen -s -y 20 -1Stringcommon.yamlrole::bootstrap, role::mysql
profile::mysqlcluster::haproxy_passwordThis is the password of the mysql haproxy user. This user is so that haproxy can create more robust checks than just see if port 3306 is open.'4g36-&jHNFF?J-7yQZHa'pwgen -s -y 20 -1Stringcommon.yamlrole::bootstrap, role::mysql

Openstack

General keys, shared amongst various Openstack services

KeyDescriptionExampleCreated byData-typeDatafile:

Used by

profile::openstack::foofoofooN/A Stringopenstack.yamlrole::foo

Cinder

KeyDescriptionExampleCreated byData-typeDatafile:

Used by

profile::cinder::foofoofooN/A Stringopenstack.yamlrole::foo

Glance

KeyDescriptionExampleCreated byData-typeDatafile:

Used by

profile::glance::foofoofooN/A Stringopenstack.yamlrole::foo

Heat

KeyDescriptionExampleCreated byData-typeDatafile:

Used by

profile::heat::foofoofooN/A Stringopenstack.yamlrole::foo

Horizon

KeyDescriptionExampleCreated byData-typeDatafile:

Used by

profile::horizon::foofoofooN/A Stringopenstack.yamlrole::foo

Keystone

KeyDescriptionExampleCreated byData-typeDatafile:

Used by

profile::keystone::foofoofooN/A Stringopenstack.yamlrole::foo

Neutron

KeyDescriptionExampleCreated byData-typeDatafile:

Used by

profile::neutron::foofoofooN/A Stringopenstack.yamlrole::foo

Nova

KeyDescriptionExampleCreated byData-typeDatafile:

Used by

profile::nova::foofoofooN/A Stringopenstack.yamlrole::foo

 

Postgres

Our postgres servers uses the following hiera keys:

KeyDescriptionExampleCreated byData-typeDatafile:

Used by

profile::postgres::ipv4The IPv4 address to use in front of the postgres servers.'192.0.2.204'N/A Stringcommon.yamlrole::bootstrap, role::postgres::master, role::postgres::slave, role::puppet::db
profile::postgres::ipv4::idThe VRRP id to use for the VRRP instance negotiating for postgres's IPv4 address13N/AIntegercommon.yamlrole::bootstrap, role::postgres::master, role::postgres::slave
profile::postgres::ipv4::priorityThe VRRP priority to use for the VRRP instance negotiating for postgres's IPv4 address10N/AIntegercommon.yamlrole::bootstrap, role::postgres::master, role::postgres::slave
profile::postgres::ipv6The IPv6 address to use in front of the postgres servers.'2001:db8:beef:707::9:6591'N/A Stringcommon.yamlrole::bootstrap, role::postgres::master, role::postgres::slave, role::puppet::db
profile::postgres::ipv6::idThe VRRP id to use for the VRRP instance negotiating for postgres's IPv6 address14N/AIntegercommon.yamlrole::bootstrap, role::postgres::master, role::postgres::slave
profile::postgres::ipv6::priorityThe VRRP priority to use for the VRRP instance negotiating for postgres's IPv6 address10N/AIntegercommon.yamlrole::bootstrap, role::postgres::master, role::postgres::slave
profile::postgres::masterserverA fqdn identifying the postgres server which is supposed to be the master. This affects which servers are going to create databases and users.'pgsql1.example.com'N/AStringcommon.yamlrole::bootstrap, role::postgres::master, role::postgres::slave
profile::postgres::passwordThe password for the "postgres" postgresql user.'d4Cwfl)W}onosE~Y[]G,'pwgen -s -y 20 -1Stringcommon.yamlrole::bootstrap, role::postgres::master, role::postgres::slave
profile::postgres::replicatorpasswordThe password used for the "replicator" postgresql user.'Gz,j*>Qt'dF{-\Sr4N-_'pwgen -s -y 20 -1Stringcommon.yamlrole::bootstrap, role::postgres::master, role::postgres::slave

Puppet

These are our puppet-related hiera keys:

KeyDescriptionExampleCreated byData-typeDatafile:

Used by

profile::puppet::aptkeyThe gpg key used to authenticate the puppetlabs apt repository'6F6B15509CF8E59E6E469F327F438280EF8D349F'puppetlabsStringcommon.yamlAll
profile::puppet::caserverThe fqdn of the puppetca server'puppetca.example.com'N/AStringcommon.yamlAll
profile::puppet::environmentThe puppet environment a certain host should be configured to use. This needs to be a valid puppet environment, but it will also be owerridden by the ENC, so it is not important exactly which environment are listed her as long as it exists. If you do not use an ENC, this is the puppet environment a client will retrieve config from.'production'N/AStringcommon.yamlAll
profile::puppet::hostnameThis is the fqdn the clients use to contact the puppetmasters.'puppet.example.com'N/AStringcommon.yamlAll
profile::puppet::r10k::repoThe path to the git-repository which r10k uses to retrieve environments and modules.'https://github.com/myorg/r10k.git'N/AStringcommon.yamlrole::bootstrap, role::puppet::server, role::puppet::ca
profile::puppet::runintervalHow often the puppet client should run. Given as a string consisting of a number and a prefix (h, m).'60m'N/AStringcommon.yamlAll
profile::puppetdb::database::name

The name of the postgres database used by puppetdb

'puppetdb'N/AStringcommon.yamlrole::bootstrap, role::puppet::db, role::postgres::master
profile::puppetdb::database::userThe username of the postgres database used by puppetdb'puppetdb'N/AStringcommon.yamlrole::bootstrap, role::puppet::db, role::postgres::master
profile::puppetdb::database::pass

The password of the postgres database used by puppetdb

NB: The pwgen command lacks -y because some special characters will cause errors

'ys0c85FlLhhfqeteFIfx'pwgen -s  20 -1Stringcommon.yamlrole::bootstrap, role::puppet::db, role::postgres::master
profile::puppetdb::hostnameThe hostname which the puppetservers use to contact the puppetdb service'puppetdb.example.com'N/AStringcommon.yamlrole::bootstrap, role::puppet::server role::puppet::ca

Rabbitmq

KeyDescriptionExampleCreated byData-typeDatafileUsed by:
 profile::rabbitmq::ipIP address for rabbitmq keepalived VIP'10.212.132.11'

N/A

Stringnetworking.yaml

role::rabbitmq,
role::compute

profile::rabbitmq::vrrp::id The VRRP id to use for the VRRP instance negotiating for rabbitmq's IPv4 address12N/AIntegernetworking.yamlrole::rabbitmq
 profile::rabbitmq::vrrp::priorityThe VRRP priority to use for the VRRP instance negotiating for rabbitmq's IPv4 address100N/AInteger

networking.yaml

or node-specific

role::rabbitmq
profile::rabbitmq::rabbituser Default user to create in rabbitmq'rabbit'N/AStringcommon.yamlrole::rabbitmq,
role::compute
profile::rabbitmq::rabbitpassPassword for default vhost / pwgen -s -y 20 -1String 

role::rabbitmq,

role::compute

profile::rabbitmq::rabbitsecret rabbitmq master secret pwgen -s -y 20 -1String 

role::rabbitmq

Redis

KeyDescriptionExampleCreated byData-typeDatafileUsed by:
profile::redis::masterName or IP address of initial redis master

'redis1.cloud.domain.com' or '192.168.100.12'

WARNING: If you use DNS name, ensure that the name DOESN'T resolve to 127.0.0.1 at the given redis host, or else this node will not add itself to the redis-sentinel cluster

N/A

Stringcommon.yaml

role::redis

profile::redis::masterauthPassword for master communitcation'teY.>&3@Ub$X-OGxOFQ7'pwgen -s -y 20 -1Stringcommon.yaml

role::redis

role::balancer::management

role::sensuserver

role::bootstrap

profile::redis::nodetypeDefined on each redis-node. Only valid values are 'master' or 'slave''master'N/AStringnode specific filerole::redis
profile::redis::ipThe IP redis clients should contact redis on. Typically the haproxy ip

'192.168.100.10'

or

"%{hiera('profile::haproxy::management::ipv4')}"

or

redis.cloud.domain.com

N/AStringcommon.yamlroles::sensuserver


Sensu

KeyDescriptionExampleCreated byData-typeDatafileUsed by:
profile::sensu::installOpt-out for installing sensu. If not set to false, sensu-clients will be installed everywherefalseN/ABooleansensu.yaml or node-specificAll
profile::sensu::uchiwa::private_keyPrivate key for uchiwa JWT creationContent of generated file

openssl genrsa -out uchiwa.rsa 2048

Stringsensu.yaml

role::sensuserver

profile::sensu::uchiwa::public_keyPublic key for uchiwa JWT creationContent of generated fileopenssl rsa -in uchiwa.rsa -pubout > uchiwa.rsa.pubStringsensu.yamlrole::sensuserver
profile::sensu::uchiwa::passwordPassword for default (and only) user 'sensu' in Uchiwa'g00dp@$$w0rd'pwgen -s -y 20 1Stringsensu.yamlrole::sensuserver
profile::sensu::uchiwa::fqdnFQDN for uchiwa web frontend (not FQDN for the server running an instance of it)'sensu.cloud.domain.com'N/AStringsensu.yamlrole::sensuserver, role::bootstrap, role::balancer::mangement
profile::sensu::rabbit_passwordPassword for sensu user at the /sensu rabbitmq vhost. Needed for rabbitmq servers, sensu servers AND all sensu clients.'g00dp@$$w0rd'pwgen -s -y 20 1Stringsensu.yamlAll
profile::sensu::mailer::urlURL to Uchiwa web frontend, that will appear in e-mails from Sensu"http://%{hiera('profile::sensu::uchiwa::fqdn')}"N/AStringsensu.yamlrole::sensuserver
profile::sensu::mailer::mail_fromThe address sensu will send e-mail alerts from'sensu@sensu.domain.com'N/AStringsensu.yamlrole::sensuserver
profile::sensu::mailer::mail_toList of addresses that sensu will send e-mail alerts to

- 'sysadmin1@cloud.domain.com'

- 'sysadmin2@cloud.domain.com'

N/AList of stringssensu.yamlrole::sensuserver
profile::sensu::mailer::smtp_addressOutgoing SMTP server mail alerts'smtp.cloud.domain.com'N/AStringsensu.yamlrole::sensuserver
profile::sensu::mailer::smtp_portTCP port used for connections to the given SMTP server25N/AIntegersensu.yamlrole::sensuserver
profile::sensu::mailer::smtp_domainSMTP domain'cloud.domain.com'N/AStringsensu.yamlrole::sensuserver
profile::sensu::plugins

The plugins listed here will be installed on all clients.

OBS:

The example value is actually mandatory, because the checks tagged with 'all' in profile::sensu::checks rely on them. Puppet will not fail without defining this key, but none of the cheks will make any sense...

- 'sensu-plugins-disk-checks'
- 'sensu-plugins-load-checks'
- 'sensu-plugins-memory-checks'
- 'sensu-plugins-process-checks'
- 'sensu-plugins-hardware'
- 'sensu-plugins-puppet'
- 'sensu-plugins-dns'
- 'sensu-plugins-ntp'

N/AList of stringssensu.yamlAll
sensu::redactValues that match the patterns in this list will be redacted in all output from sensu

- 'password'
- 'pass'
- 'pw'

N/AList of stringssensu.yamlAll
sensu::subscriptionsWhich checks a sensu-client should subscribe to. This is typically set per node. By default, a sensu-client will subscribe to checks tagged with 'all', and if the client is a physical server, it will also subscribe to 'physical-servers'

- 'mysql'

- 'rabbitmq'

- 'roundrobin:ceph

- 'sensu-plugins-disk-checks'
- 'sensu-plugins-load-checks'
- 'sensu-plugins-memory-checks'
- 'sensu-plugins-process-checks'
- 'sensu-plugins-hardware'
- 'sensu-plugins-haproxy'
- 'sensu-plugins-dns

'

N/AList of stringsnode-specificAll
sensu::
redactValues that match the patterns in this list will be redacted in all output from sensu
client_customIf you want to override parameters for check command. I.e thresholds, specifying passowrd etc. This where you do that. Should only be set per node

'load':

warning: "8,4,2"

critical: "16,8,4"

'mysql':

password: "%{hiera('profile::mysqlcluster::status_password')}"

'disk':

mountpoints: '/,/home,/var

- 'password'
- 'pass'
- 'pw

'

N/AList of
strings
hashes
Allsensu::subscriptionsWhich checks a sensu-client should subscribe to. This is typically set per node. By default, a sensu-client will subscribe to checks tagged with 'all', and if the client is a physical server, it will also subscribe to 'physical-servers'

- 'mysql'

- 'rabbitmq'

node-specific

or really anywhere if you configure lookup_options to deep merge

All (or, more precise, just the client you add this key to)
profile::sensu::checks::tlsexpiryA hash of 'fqdn[:port]' : 'shortname' which should be checked for TLS Expiry

'www.foo.com' : 'foo'

'api.foo.com:8080' : 'api'

'munin.foo.com' : 'munin

- 'roundrobin:ceph

'

N/A
List of stringsAll
Hashsensu.yamlrole::sensuserver

lookup_options:

You might wanna set this in sensu.yaml to allow client_custom settings to be set in multple hiera files without overwriting them with the settings in the top of the hierarchy

  sensu::client_custom:

    merge:

     strategy: 'deep'

     merge_hash_arrays: true

sensu::client_customIf you want to override parameters for check command. I.e thresholds, specifying passowrd etc. This where you do that. Should only be set per node

'load':

warning: "8,4,2"

critical: "16,8,4"

'mysql':

password: "%{hiera('profile::mysqlcluster::status_password')}"

'disk':

mountpoints: '/,/home,/var'

N/AList of hashes
All (or, more precise, just the client you add this key to)
sensu.yamlAll