Skip to content

Latest commit

 

History

History
64 lines (47 loc) · 1.71 KB

README.md

File metadata and controls

64 lines (47 loc) · 1.71 KB

About

The Masif Upgrader agent is a component of Masif Upgrader.

Consult Masif Upgrader's manual on its purpose and the agent's role in its architecture and demo for a full stack live demonstration.

Configuration

The configuration file (usually /etc/masif-upgrader-agent/config.ini) looks like this:

[interval]
check=300
report=300
retry=60

[master]
host=192.0.2.1:8150
cn=infra-mgmt.intern.example.com

[tls]
cert=/var/lib/puppet/ssl/certs/mail.example.com.pem
key=/var/lib/puppet/ssl/private_keys/mail.example.com.pem
ca=/var/lib/puppet/ssl/certs/ca.pem

[log]
level=info

The interval section defines several intervals:

option description
check Check every x seconds whether any packages can be upgraded
report Once any packages can be upgraded, report the set of required actions to upgrade all of them every x seconds to the master
retry If any action fails, retry it after x seconds (0 or not set = don't retry anything)

The master section describes the master:

option description
host Address (HOST:PORT)
cn X.509 certificate CN/SAN to require

The tls section describes the X.509 PKI:

option description
cert TLS client certificate chain (may include root CA)
key TLS client private key
ca TLS server root CA certificate

log.level defines the logging verbosity and is one of:

  • error
  • warning
  • info
  • debug