码迷,mamicode.com
首页 >  
搜索关键字:pxe 批量部署 无人值守 salt    ( 2674个结果
SaltStack runners模块分析之pillar模块
/usr/lib/python2.6/site-packages/salt/runners/pillar.pypillarrunner模块提供一些在Master端与Pillar编译器交互的函数返回指定minion的pillar的编译top数据,如果没有指定minion,就使用第一个找到的miniondefshow_top(minion=None,saltenv=‘base‘): ‘‘‘ Returnsthecompiled..
分类:其他好文   时间:2015-05-29 16:04:42    阅读次数:204
SaltStack runners模块分析之cache模块
/usr/lib/python2.6/site-packages/salt/runners/cache.pycache模块返回minion端缓存的数据返回目标minion缓存的grains数据defgrains(tgt=None,expr_form=‘glob‘,**kwargs): ‘‘‘ Returncachedgrainsofthetargetedminions CLIExample: ..code-block::bash salt-runcache.grai..
分类:系统相关   时间:2015-05-29 15:55:49    阅读次数:245
salt-run源码分析
/usr/bin/salt-run#!/usr/bin/python #EASY-INSTALL-ENTRY-SCRIPT:‘salt==2014.7.0‘,‘console_scripts‘,‘salt-run‘ __requires__=‘salt==2014.7.0‘ importsys frompkg_resourcesimportload_entry_point if__name__==‘__main__‘: sys.exit( load_entry_point(‘salt==2014.7.0‘,..
分类:其他好文   时间:2015-05-29 12:15:46    阅读次数:126
SaltStack runners模块分析之jobs模块
/usr/lib/python2.6/site-packages/salt/runners/jobs.pyjobsrunner模块用于方便管理正在运行或者处于活动状态的job返回所有正在运行的job的报告defactive(): ‘‘‘ Returnareportonallactivelyrunningjobsfromajobidcentric perspective CLIExample: ..code-block::bash salt..
分类:其他好文   时间:2015-05-29 12:12:18    阅读次数:199
SaltStack的Reactor System
Salt从0.11.0版本开始引入ReactorSystem。EventSystemTheeventsystemisalocalZeroMQPUBinterfacewhichfiressaltevents.ThiseventbusisanopensystemusedforsendinginformationnotifyingSaltandothersystemsaboutoperations.ReactorSLSfilesandeventtagsareassociatedinthemaster..
分类:其他好文   时间:2015-05-28 18:21:07    阅读次数:173
SaltStack源码分析之cmdmod模块
/usr/lib/python2.6/site-packages/salt/modules/cmdmod.pycmdmod模块用于执行一些命令行‘‘ Amoduleforshellingout Keepinmindthatthismoduleisinsecure,inthatitcangivewhomeverhas accesstothemasterrootexecutionaccesstoallsaltminions. ‘‘‘#Importpythonlibs importtime ..
分类:其他好文   时间:2015-05-28 14:17:59    阅读次数:278
Cobbler自动部署主机系统
Cobbler自动部署主机系统简介:Cobbler由python语言开发,是对PXE和Kickstart以及DHCP的封装。融合很多特性,提供了CLI和Web的管理形式。更加方便的实行网络安装。同时,Cobbler也提供了API接口,使用其它语言也很容易做扩展。它不仅可以安装物理机,同时也支持kvm、xen虚拟化..
分类:其他好文   时间:2015-05-27 16:04:16    阅读次数:243
SaltStack源码分析之pillar模块
/usr/lib/python2.6/site-packages/salt/modules/pillar.pydefget(key,default=‘‘,merge=False,delimiter=‘:‘): ‘‘‘ ..versionadded::0.14 Attempttoretrievethenamedvaluefrompillar,ifthenamedvalueisnot availablereturnthepasseddefault.Thedefaultreturnisanemptystring...
分类:其他好文   时间:2015-05-27 16:02:05    阅读次数:171
salt-call源码分析
使用salt-call可以在minion本机执行salt命令/usr/bin/salt-call#!/usr/bin/python #EASY-INSTALL-ENTRY-SCRIPT:‘salt==2014.7.0‘,‘console_scripts‘,‘salt-call‘ __requires__=‘salt==2014.7.0‘ importsys frompkg_resourcesimportload_entry_point if__name__==‘__main__‘: s..
分类:其他好文   时间:2015-05-27 16:00:41    阅读次数:247
虚拟机做服务器实现无人值守安装系统的思考和问题
无人之后安装linux系统,遇到了一些问题,希望大神不要吝啬你们的智商,为小弟解答一下。
分类:其他好文   时间:2015-05-26 15:49:31    阅读次数:120
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!