Why not do it in cfengine, and produce 100 lines of readable configuration code?
为什么不在cfengine中做呢?它产生100行可读的配置代码。
With cfengine, you can automate almost any task based on arbitrary criteria.
利用cfengine,可以根据任意标准自动化几乎任何任务。
To get started with cfengine, you should compile and install it.
在开始使用cfengine 之前,应该编译和安装它。
I will expand upon this topic in a future article on cfengine.
我将在有关cfengine的未来文章中展开这一问题。
When cfengine implements convergence, it does so through sets of rules.
当cfengine实现收敛时,它通过规则集做到这一点。
Here, however, I must recommend cfengine.
然而,在这里,我必须推荐cfengine。
On the other hand, very few things that cfengine does are harmful.
而另一方面,cfengine 所做的事情几乎很少会造成损害。
I prefer starting cfengine through an explicit script over SSH.
我宁愿在ssh上通过显式脚本启动cfengine。
Strictly speaking, the cfengine program is just an interpreter of the cfengine language, and any cfengine programs are just scripts for that interpreter.
严格来说,cfengine程序只是 cfengine语言的解释器,并且任何 cfengine程序都只是那个解释器的脚本。
Alone, however, cfengine suffers from a simplistic configuration language and lack of data structures.
然而,cfengine受过分简单的配置语言和缺乏数据结构影响。
Cfengine, however, will not think for you.
然而,cfengine并不能代替您思考。
Processes can be restarted if cfengine doesn't see them running.
如果cfengine没有发觉进程在运行,那么可以重新启动它们。
The daemon forks, and cfengine continues on its merry way.
守护程序创建子进程,而cfengine继续其愉快的“旅程”。
Configuration management and cfengine.
配置管理和cfengine。
Get the module cfengine, the all-in-one UNIX administration tool.
请获取cfengine模块,这是多合一的UNIX管理工具。
From the cfengine command reference, here are its most notable features.
来自cfengine命令参考大全,这里有其最值得注意的特性。
You can start by considering whether cfengine is adequate for the task.
可以通过考虑cfengine是否胜任该任务开始。
Cfengine is a system configuration engine.
cfengine是一种系统配置引擎。
The main one is called cfengine in version 1.6.3.
在版本1.6.3 中,主程序叫作cfengine 。
For the fork and exit daemons, cfengine works great.
对于使用fork和exit的守护程序,cfengine运行得很顺利。
cfd是cfengine守护程序。
Pre-running rsync is a better option with cfengine 1.6.3 and earlier.
预先运行rsync是cfengine1.6.3 及更低版本的较好选项。
Listing 1. Starting configuration file for cfengine.
清单1.cfengine的启始配置文件。
var/cfengine/bin/cf-promises — Command that checks promise syntax
var/cfengine/bin/cf-promises —检查承诺语法的命令
That way, /etc/cfengine is a local copy of trusted files we want to use.
也就是说,/etc/cfengine是我们要使用的可信文件的本地副本。
This is the design goal of cfengine.
这是cfengine的设计目标。
Cfengine is a GNU open source configuration management framework for computer system automation.
Cfengine是一种gnu开源配置管理框架,用于计算机系统自动化。
At our site, we rsync /etc/cfengine with a central trusted location before running cfengine.
在我们的站点上,在运行cfengine之前,我们使用一个中央可信位置来执行 rsync /etc/cfengine。
Cfengine is a unique system administration tool.
cfengine是一种独特的系统管理工具。
While reliability is not achieved by cfengine alone, convergence facilitates it.
虽然可靠性不单由cfengine完成,但收敛可使之更加容易。
应用推荐