Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Salt Master directory structure:
- /srv/salt/prod/zabbix/init.sls
- init.sls file contains:
- zabbix:
- pkg.installed:
- - sources:
- - zabbix: http://repo.zabbix.com/zabbix/2.0/rhel/5/x86_64/zabbix-release-2.0-1.el6.noarch.rpm
- /etc/zabbix/zabbix_agentd.conf
- file.managed:
- - source: salt://prod/zabbix/zabbix-agentd.conf
- zabbix-agent:
- pkg.installed:
- service.running:
- - enable: True
- - require:
- - pkg.installed: zabbix-agent
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement