Advertisement
Guest User

Untitled

a guest
Jul 24th, 2013
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. Salt Master directory structure:
  2. /srv/salt/prod/zabbix/init.sls
  3.  
  4. init.sls file contains:
  5.  
  6. zabbix:
  7. pkg.installed:
  8. - sources:
  9. - zabbix: http://repo.zabbix.com/zabbix/2.0/rhel/5/x86_64/zabbix-release-2.0-1.el6.noarch.rpm
  10.  
  11.  
  12. /etc/zabbix/zabbix_agentd.conf
  13. file.managed:
  14. - source: salt://prod/zabbix/zabbix-agentd.conf
  15.  
  16. zabbix-agent:
  17. pkg.installed:
  18. service.running:
  19. - enable: True
  20. - require:
  21. - pkg.installed: zabbix-agent
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement