[root@master01 web]# salt 'node02' state.sls web.apache
node02:
----------
          ID: apache-install
    Function: pkg.installed
        Name: httpd
      Result: True
     Comment: The following packages were installed/updated: httpd
     Started: 15:41:52.392857
    Duration: 71890.921 ms
     Changes:   
              ----------
              apr:
                  ----------
                  new:
                      1.4.8-3.el7_4.1
                  old:
              apr-util:
                  ----------
                  new:
                      1.5.2-6.el7
                  old:
              httpd:
                  ----------
                  new:
                      2.4.6-80.el7.centos.1
                  old:
              httpd-tools:
                  ----------
                  new:
                      2.4.6-80.el7.centos.1
                  old:
              mailcap:
                  ----------
                  new:
                      2.1.41-2.el7
                  old:
----------
          ID: apache-service
    Function: service.running
        Name: httpd
      Result: True
     Comment: Service httpd has been enabled, and is running
     Started: 15:43:04.432341
    Duration: 921.521 ms
     Changes:   
              ----------
              httpd:
                  True
Summary
------------
Succeeded: 2 (changed=2)
Failed:    0
------------
Total states run:     2
[root@master01 web]#

最新文章

  1. Chrome 中的彩蛋,一款小游戏,你知道吗?
  2. html5地理位置定位功能小析
  3. Lind.DDD.Events事件总线~自动化注册
  4. SQL Server 2008 各种DateTime的取值范围
  5. 20151124001 关闭C#主窗体弹出是否关闭对话框
  6. Activation successful 数据库邮件无法发送
  7. Day12 线程池、RabbitMQ和SQLAlchemy
  8. socket 发送Ping包
  9. KVC、KVO
  10. Vue 项目实战系列 (一)
  11. StackExchange.Redis学习笔记(三) 数据库及密码配置 GetServer函数
  12. 同一台机器上多个tomcat启动造成的内存溢出问题的解决方法。
  13. [Swift]LeetCode318. 最大单词长度乘积 | Maximum Product of Word Lengths
  14. Openstack中用秘钥对(keypair)生成和访问虚机的方法
  15. CocoaPods的使用(一) 安装
  16. Selenium学习(Python)
  17. POJ-3744 Scout YYF I (矩阵优化概率DP)
  18. CS231n学习笔记-图像分类笔记(下篇)
  19. DNS原理及解析过程
  20. ctime, atime与mtime释疑

热门文章

  1. background--详解(背景图片根据屏幕的自适应)
  2. Vue学习之路第一篇(学习准备)
  3. sql limit 的用法
  4. Redis字符串(STRING)中BIT相关命令
  5. Postgresql数据库的一些字符串操作函数
  6. VUE:UI组件库(Mint UI & Elment)
  7. WampServer更改或重置数据库密码
  8. Springboot 应用启动分析
  9. 2015 Multi-University Training Contest 3 hdu 5324 Boring Class
  10. LaTeX 图片色偏解决方法