Home | 簡體中文 | 繁體中文 | 雜文 | 知乎專欄 | Github | OSChina 博客 | 雲社區 | 雲棲社區 | Facebook | Linkedin | 視頻教程 | 打賞(Donations) | About
知乎專欄多維度架構 微信號 netkiller-ebook | QQ群:128659835 請註明“讀者”

部分 XI. Configuration Management(配置管理)

運維自動化

目錄

153. Ansible - SSH-based configuration management, deployment, and task execution system
153.1. install
153.2. Getting Started
153.3. ansible - run a command somewhere else
153.3.1. host-pattern
153.3.2. -a MODULE_ARGS, --args=MODULE_ARGS module arguments
153.3.3. -i INVENTORY, --inventory-file=INVENTORY specify inventory host file (default=/etc/ansible/hosts)
153.3.4. -m MODULE_NAME, --module-name=MODULE_NAME module name to execute (default=command)
153.3.5. -s, --sudo run operations with sudo (nopasswd)
153.3.6. -u REMOTE_USER, --user=REMOTE_USER connect as this user (default=root)
153.3.7. 使用實例
153.4. ansible-doc - Show Ansible module documentation
153.5. ansible-playbook - run an ansible playbook
153.5.1. 包含檔案用法
154. Capistrano
155. Puppet
155.1. Installing Puppet CentOS 6.3
155.2. Puppet 簽名
155.2.1. Agent 節點
155.2.2. Master 伺服器
155.3. test
155.3.1. Master
155.3.2. Agent
155.4. 配置檔案
155.4.1. /etc/sysconfig/puppet
155.4.2. /etc/puppet/fileserver.conf
155.5. manifests
155.5.1. node
155.5.2. group, user 用戶組管理
155.5.2.1. group
155.5.2.2. user
155.5.3. file
155.5.3.1. ensure
155.5.3.2. source
155.5.3.3. owner, group, mode
155.5.4. package
155.5.5. service
155.5.6. exec
155.5.7. cron
155.6. modules
155.7. firewall 配置
155.8. debug
155.8.1. master
155.8.2. node
155.9. FAQ
155.9.1. err: Could not request certificate: No route to host - connect(2)
155.9.2. No help available unless you have RDoc::usage installed
156. SaltStack
156.1. 安裝 Salt Stack
156.1.1. 服務端安裝
156.1.2. 客戶端安裝
156.1.3. 防火牆配置
156.1.4. key 管理
156.1.5. 測試
156.1.6. Demo
156.2. salt-key - Salt key is used to manage Salt authentication keys
156.3. salt 命令
156.3.1. cmd
156.3.1.1. cmd.run
156.3.1.2. cmd.script
156.3.2. pkg.install
156.3.3. network.interfaces
156.3.4. salt example
156.4. /etc/salt/master
156.4.1. File Server settings
156.4.2. Pillar settings
156.4.3. Node Groups
156.4.4. File Server Backend
156.5. sls 腳本
156.5.1. pkg
156.5.2. service
156.6. FAQ
156.6.1. Git fileserver backend is enabled in configuration but could not be loaded, is git-python installed
157. Chef
157.1. 安裝 Chef
157.1.1. CentOS
158. Cobbler
159. Cfengine
160. func
161. (R)?ex Deployment & Configuration Management
162. 基于Web的系統管理軟件
162.1. Webmin
162.1.1. webalizer
162.2. ajenti

表 8. 表格標題

名稱流行度開發語言工作模式其他
Puppet主流RubyC/S 
Chef主流RubyC/S 
SaltStack主流(新星)PythonC/S 
ansible一般PythonServer 結構無需 clientRedhat 開發