English 中文(简体)
我如何利用主任来证实先前安装和配置是正确的?
原标题:How do I use Chef to validate that a previous install and configuration was done correctly?

如何使用 主任重复Puppet干租赁办法,以验证机器是否具备与对应设备相匹配的状态?

最佳回答

很明显,你可以:

通过在使用报告手提器进行客户管理结束时审查最新资源的数量,你可以取得一些类似的成就:

以及相关例子:

http://jtimberman.posterous.com/a-simple-report-handler

然而,这实际上并不能取代——在不采取行动改变国家的情况下——干run经营的方案。

而且,如果行动是在任何时候进行,无论这些行动是否必要,则很容易写出reci。 因此,你的报告手稿中将最新行动算作非零,但没有国家改变机器。

问题回答

Opscode did come out with their own dry run mode last year, called why-run , www.opscode.com/blog/2012/09/07/chef-10-14-0-released/. But you have to be careful as there are limits with the accuracy of all these self-monitoring features, as explained here: http://blog.afistfulofservers.net/post/2012/12/21/promises-lies-and-dryrun-mode/

采用外部工具来核查机器相对于已知的良好状态的目前状况,可能是更好的选择。 http://www.metaforsoftware.com/“rel=“nofollow”http://www.metaforsoftware.com/。 它将对大型机器进行分散算法,以便你能够准确看到这些机器的变换和安放;两者间缺失。 它带有自由灯塔,我们计划永远有自由版本。 (FD:I m a co-founder so all caveats applicable ;-)





相关问题
How can I see all the data that solr is indexing?

So I have a solr server running as part of a chef server. Some of my nodes just aren t coming up in searches. I can use ?q=*:* to show the documents but most of the chef data is indexed as ...

Should I be using Chef or other tool for managing servers

I have 4 servers behind a load balancer and a staging server, a db server, and a utility server for a web application that hosts a number of web sites. Should I make the jump to Chef to manage these ...

Storing passwords in Chef?

What is the best practice for storing password and API keys with Chef? It s really tempting to store database passwords, AWS api keys, and other sensitive credentials as Chef Server Attributes for ...

Do I have use of Chef if I m using Heroku?

I use Heroku to deploy my Rails apps. But I thought about learning Chef to automatically set up the development infrastructure, but Im not sure. So to put it very simple, are there any reasons for ...

chef-solo example

We are learning chef-solo and need a good example for better understanding.. Have searched a lot on net but the ideas are very confusing. can anyone suggest some examples.. and also how to run them.. ...

Cfengine vs Chef

What are the differences in term of features between Cfengine and Chef?

热门标签