- Module Description - What the module does and why it is useful
- Setup - The basics of getting started with puppet-calico
- Usage - Configuration options and additional functionality
- Reference - An under-the-hood peek at what the module is doing and how
- Limitations - OS compatibility, etc.
- Development - Guide for contributing to the module
This module installs and configures the calico-felix daemon on your system
- puppet-calico will ensure the calico-felix package is installed
- puppet-calico will ensure the service is started and running
- puppet-calico will modify the config file for calico-felix
Simply include the calico module like so:
include ::calico
You may want to use a class include if you wish to override parameters:
class { '::calico' :
config_dir => '/etc/calico-felix'
}
include ::calico
Set the etcd_endpoints param
::calico {
etcd_endpoints => ['https://etcd1:2379','http://etcd2:4001'],
}
calico
: Installs and configures calico in your environment.
- [
calico::install
]: Installs the required calico package - [
calico::configure
]: Configures calico's required directories - [
calico::service
]: Manages the calico service
Specifies the package to install for calico
Specifies the version of the calico package to install (default: calico-felix)
Specifies the calico service to manage (default: calico-felix)
Specifies the state of the calico service (running, stopped - default: running)
Specifies whether the calico service should be enabled on startup (true, false - default: true)
Specifies the path to the configuration directory for calico (default: /etc/calico
)
Specifies the name of a configuration file for calico (default: felix.cfg
)
Specifies a calico/felix hostname in the config file (default: ::hostname
)
Specifies etcd endpoints to connect to (default: ['http://localhost:2379']
)
Specifies the path to a private key when connecting to etcd over SSL (default: undef
)
Specifies the path to a certfile when connecting to etcd over SSL (default: undef
)
Specifies the path to a cafile when connecting to etcd over SSL (default: undef
)
Specify whether to insert or append rules to the iptables chains (insert,append - default: undef
)