标签:logs saltstack reload net state nbsp rem csharp sharp
1.SaltStack安装zabbix_agent端.
vim /etc/salt/states/init/zabbix_agnet.sls
zabbix_agnet: pkg.installed: #pkg.removed: - names: - zabbix22-agent file.managed: - name: /etc/zabbix_agent.conf - source: salt://init/files/zabbix_agentd.conf - user: root - group: root - mode: 644 service.running: - name: zabbix-agentd - enable: True #- reload: True - watch: - file: zabbix_agnet
2.vim /etc/salt/states/top.sls
base: ‘*‘: - init.zabbix_agnet
标签:logs saltstack reload net state nbsp rem csharp sharp
原文地址:http://www.cnblogs.com/saneri/p/6398675.html