该文被密码保护。 阅读全文
posted @ 2017-07-26 17:17 golangav 阅读(89) 评论(0) 推荐(0) 编辑
摘要: Saltstack 阅读全文
posted @ 2017-07-26 16:49 golangav 阅读(275) 评论(0) 推荐(0) 编辑
摘要: 一. 四种方式 a. Agent方式 ####server from django.shortcuts import render,HttpResponse # Create your views here. def asset(request): if request.method == "POS 阅读全文
posted @ 2017-07-26 15:22 golangav 阅读(588) 评论(0) 推荐(0) 编辑
摘要: 一. 安装配置 a. 环境准备 b. 服务端安装 c. 客户端安装 d. 服务端增加客户端 e. salt的常用命令 f. 匹配minion_id(IP和子网不是匹配minion_id) 二 模块 a. service模块 b. state模块 c. return模块 d. pkg模块 e. fil 阅读全文
posted @ 2017-07-26 12:46 golangav 阅读(544) 评论(0) 推荐(0) 编辑
摘要: 一. #!/usr/bin/env python # -*- coding:utf-8 -*- from django.core.exceptions import ValidationError from django import forms as django_forms from djang 阅读全文
posted @ 2017-07-26 09:05 golangav 阅读(412) 评论(0) 推荐(0) 编辑
摘要: 一. 数据库取时间,按年月分组 二. 前端显示 阅读全文
posted @ 2017-07-26 08:37 golangav 阅读(347) 评论(0) 推荐(0) 编辑