Windows的配置管理 [英] Configuration Management for Windows

查看:225
本文介绍了Windows的配置管理的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有像* nix world那样的Windows工具?我正在寻找类似厨师

Are there any tools for windows like that *nix world has? I am looking for something like Chef or Puppet.

我发现 cfEngine ,但它看起来仍然非常* nix为中心.理想情况下,它将是开源的,并由命令行驱动.

I have found cfEngine but it still looks very *nix centric. Ideally it would be open source, and command line driven.

这个想法是将自动化的基础架构与基于Windows的服务器整合在一起.我们当前的IT部门不允许非Windows服务器.

The idea is to put together an automated infrastructure with windows based servers. Our current IT department does not allow non-windows servers.

推荐答案

Chef.尽管我们没有在任何基础架构上运行Windows,但确实有一些开发人员正在不断改善Windows支持.我们也得到了社区的贡献,Chef的大多数早期Windows功能都是由社区贡献的.

Chef is supported on Windows by Opscode. While we don't run Windows for any of our infrastructure, we do have developers who are continually improving our Windows support. We also get community contributions, and most of the early phase Windows functionality for Chef was contributed by the community.

重要:

Important: Opscode now provides an MSI installer for Chef on Windows. This makes it easier than ever to get Chef and Ruby installed on Windows.

尽管我们在团队中拥有大量Unix/Linux背景,但我们的意图是将Windows视为头等公民.对于Chef和Windows来说,2012年将是丰收的一年.随时关注 Opscode博客以获取公告.

While we have a lot of Unix/Linux background across our teams, our intention is that Windows is treated as a first class citizen. 2012 will be a big year for Chef and Windows. Keep an eye on the Opscode blog for announcements.

以下厨师资源在Windows上可以运行:

The following Chef Resources work on Windows:

Environment Resource: sets windows environment variables
User
Group
Mount
File
Gem Package
Remote File
Cookbook File
Template
Service
Ruby Block
Execute

也就是说,这些是Chef本身包含的资源.由于Chef可以通过菜谱进行扩展,因此可以通过各种Windows特定菜谱添加更多资源.继续阅读以获取更多信息.

That is, these are resources included in Chef itself. As Chef is extensible with cookbooks, many more resources are added through a variety of Windows specific cookbooks. Read on for more information.

您可以在此处开始使用Chef和Windows:

You can get started with using Chef and Windows here:

最初,道格·麦克埃舍恩(Doug MacEchern)也写了一些烹饪书来做很多事情来使Windows自动化.

Originally, Doug MacEchern wrote some cookbooks to do a number of things to automate windows, too.

此信息以及更多信息可以在Chef Wiki上获得:

This information and more available on the Chef Wiki:

更新

以下食谱将新资源添加到Chef中以管理Windows:

The following cookbook adds new resources to Chef to manage Windows:

这是Doug上面链接的资源库中的优良资源的更新/重写.可在厨师Wiki 中找到文档.

It is an update/rewrite of Doug's fine resources from his repository linked above. Documentation is available on the Chef Wiki.

以下食谱将部署PowerShell,并提供资源以直接在Chef Recipes中运行PowerShell命令/脚本:

The following cookbook deploys PowerShell and provides a resource to run PowerShell commands/scripts directly in Chef Recipes:

文档可在食谱tarball中的README.md中找到.

Documentation is available in the README.md included in the cookbook tarball.

用于安装 7-zip 以及管理 SQL服务器已添加.我们的"数据库"食谱已扩展为用于管理SQL Server数据库和用户的资源/提供者(和tds ruby​​gem).

Additional cookbooks for installing 7-zip, managing IIS and SQL Server have been added. Our "database" cookbook has been extended with a resource/provider for managing SQL Server databases and users (with the tds rubygem).

用于刀的刀Windows 插件添加了与Windows系统进行交互的功能,以便为其配置厨师安装.

The knife-windows plugin for knife adds functionality for interacting with Windows systems to provision them with Chef installation.

更新:我们现在已经向Chef添加了对Windows的文件ACL支持,用于所有常见的文件/目录可疑对象.

Update: We have now added File ACL support for Windows to Chef, for all the usual file/directory suspects.

这篇关于Windows的配置管理的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆