itamae配置管理工具
受Chef启发的配置管理工具,但更简单,轻便。原名Lightchef。
概念
-
Chef-like DSL (但不兼容 Chef)
-
比Chef更简单、轻便
-
只有食谱
-
Idempotent
安装
$ gem install itamae
开始
创建一个 recipe 文件 recipe.rb:
package 'nginx' do action :installendservice 'nginx' do action [:enable, :start]end
然后执行itamae命令将 recipe 应用到本地计算机。
$ itamae local recipe.rb INFO : Starting Itamae... INFO : Recipe: /home/user/recipe.rb INFO : package[nginx] INFO : action: install INFO : installed will change from 'false' to 'true' INFO : service[nginx] INFO : action: enable INFO : action: start
或者你也可以通过 itamae ssh将recipe应用到远程计算机。
$ itamae ssh --host host001.example.jp recipe.rb
您还可以通过itamae ssh--vagrant申请一个recipe到Vagrant VM。
$ itamae ssh --vagrant --host vm_name recipe.rb
点击 Itamae Wiki 查看更多信息
运行测试
要求:Vagrant
$ bundle exec rake spec
评论
itamae配置管理工具
受Chef启发的配置管理工具,但更简单,轻便。原名Lightchef。概念Chef-likeDSL(但不兼容Chef)比Chef更简单、轻便只有食谱Idempotent安装$ gem install
itamae配置管理工具
0
varnish-agentvarnish 配置管理工具
varnish-agent 提供界面化的配置管理,配置信息保存于 etcd 中,当配置信息有更新时,
varnish-agentvarnish 配置管理工具
0
Confd配置管理工具
Confd是一个轻量级的配置管理工具。通过查询Etcd,结合配置模板引擎,保持本地配置最新,同时具备定期探测机制,配置变更自动reload。构建Go1.10是构建confd所必需的。$mkdir-p$
Confd配置管理工具
0
varnish-agentvarnish 配置管理工具
varnish-agent提供界面化的配置管理,配置信息保存于etcd中,当配置信息有更新时,自动更新配置并重新加载,方便多实例的配置管理。varnish-agent设置的varnish默认的ttl为
varnish-agentvarnish 配置管理工具
0