Versions Compared

Key

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

...

Table of Contents
outlinetrue
excludeTable of Contents

Configuration

...

Files

Include Page
Configuration Files
Configuration Files

Puppet

By default, on Squirro in a Box also ships with a Puppet configuration, which automates the management of those configuration files .

...

titleWhat is Puppet?

are managed by Puppet. Puppet is a configuration management

...

Puppet configuration

Squirro's Puppet recipe is driven by one file: /etc/squirro.yaml. The available configuration settings are described on the separate page squirro.yaml.

Puppet execution

Whenever the squirro.yaml file is modified, Puppet should be executed to apply the new configuration. Puppet is executed by running the following command as root:

Code Block
languagetext
[root@localhost ~]# puppetrun
Info
titleAutomatic Puppet execution

Puppet is run every 60 minutes and upon reboot. When changing a Squirro config file directly, it might be under puppet control and thus any changes are reverted again with the next Puppet run.

If you choose not to use Puppet, puppet can be disabled with the following command:
puppet agent --disable

Configuration Files

Squirro

Each service has its own configuration file /etc/squirro/<servicename>.ini. Additionally there is a common configuration file which applies to all services at /etc/squirro/common.ini.

Content by Label
showLabelsfalse
showSpacefalse
sorttitle
excerptTypesimple
cqllabel = "squirro-configuration" and space = currentSpace()

Elasticsearch

For configuration of Elasticsearch, please refer to its documentation: Elasticsearch Configurationsolution. Please refer to Puppet and squirro.yaml for information about how to change configuration in that case.