-
-
Save anonymous/07e8db3998e8c8fa555b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sensu: | |
pkgrepo.managed: | |
- humanname: Sensu Repository | |
{% if grains['os_family'] == 'Debian' %} | |
- name: deb http://repos.sensuapp.org/apt sensu main | |
- file: /etc/apt/sources.list.d/sensu.list | |
- key_url: http://repos.sensuapp.org/apt/pubkey.gpg | |
{% elif grains['os_family'] == 'RedHat' %} | |
- baseurl: http://repos.sensuapp.org/yum/el/$releasever/$basearch/ | |
- gpgcheck: 0 | |
- enabled: 1 | |
{% endif %} | |
pkg: | |
- installed | |
- refresh: true | |
- required: | |
- pkgrepo: sensu |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment