8000 GitHub - keesbos/sysstat-formula
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

keesbos/sysstat-formula

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sysstat

Formula to install sysstat/sar and configure it.

Status

  • This formula has been tested on Ubuntu 12.04.4 LTS and CentOS 6.5.
  • Supports configuration through pillar data for all

Usage

Install the formula files as required by your salt master configuration.

To use the formula in a state setup the following code block: .. code-block:: Saltstack

include:
  • sysstat

To override defaults for the formula setup and include pillar as recommended in pillar.example file.

Available states

Include the following states in order of package, config, service. Each state is fully configurable by the pillar. There shouldnt be a need to include the rest of the states as this state sets up sysstat fully based on the pillar.

Included states

sysstat.package

Installs package specified in pillar['sysstat:lookup:pkg'], defaults to value specified in sysstat/defaults.yml

sysstat.config

Sets up the config in pillar['sysstat:lookup:config:path'] with values setup under pillar['sysstat:lookup:config'].

sysstat.service

Toggled by sysstat:service:running config, will enable service or not. Defaults off for RedHat setup in sysstat/map.jinja and on for rest as setup in sysstat/defaults.yml

Disclaimer

Parts of the formula may or may not work in versions earlier than 2014.7

Note

Some of the Changes are backwards incompatible, please review the following diff for clarification of the same:

New Pillar Style:

Old Pillar Style

.. code-blockk:: Saltstack
    sysstat:
        lookup:
            pkg: sysstat
    sysstat_config:
        enabled: "true"
        sa1_options: "-S DISK"
        sa2_options: ""

Releases

No releases published

Packages

No packages published

Languages

  • SaltStack 71.1%
  • HTML 28.9%
0