Well-designed rules (and rest assured, cfengine makes it easy to design well) will only move the system to an ideal state (ideal as defined in the cfengine rules).
良好设计的规则(请放心,cfengine使良好的设计变得容易)只是使系统达到一种理想状态(如在 cfengine 规则中定义的那样理想)。
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实现收敛时,它通过规则集做到这一点。
From my own experience, introducing cfengine to a site is quite easy, because you can start out with a minimal configuration file and gradually move things into cfengine over time.
根据我自己的经验,因为可以从最小配置文件开始,然后随着时间流逝逐步地向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受过分简单的配置语言和缺乏数据结构影响。
Errors emitted by cfengine and classes defined remotely didn't show up reliably when started through CFD.
当通过cfd启动时,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管理工具。
Cfengine has two editions: a long-standing community edition and a commercial enterprise edition.
Cfengine有两个版本:一个是存在已久的社区版,另一个是商业的企业版。
Part 1 of this series will provide you with a Cfengine V3 Community Edition overview and information on how to build and configure a Cfengine policy/distribution server and client.
本系列第 1部分将为您提供一个CfengineV3CommunityEdition概述,以及有关如何构建及配置 Cfengine策略/发布服务器和客户机的信息。
For the fork and exit daemons, cfengine works great.
对于使用fork和exit的守护程序,cfengine运行得很顺利。
cfd是cfengine守护程序。
Try cfengine with the -v -n (verbose dry run) options to see what that configuration would do.
请带- v- n(详细的预演)选项尝试运行cfengine,看一下这个配置将做些什么。
Cfengine will edit files, run commands, and make symlinks while you sip your tea.
在您喝茶的时候,cfengine将编辑文件、运行命令并创建符号链接。
Listing 1. Starting configuration file for cfengine.
清单1.cfengine的启始配置文件。
var/cfengine/bin/cf-promises — Command that checks promise syntax
var/cfengine/bin/cf-promises —检查承诺语法的命令
With the two packages built, it is simple to configure a client with Cfengine by installing the packages.
构建了这两个包后,通过安装这些包来配置Cfengine的客户机就显得十分简单了。
That way, /etc/cfengine is a local copy of trusted files we want to use.
也就是说,/etc/cfengine是我们要使用的可信文件的本地副本。
Cfengine is a GNU open source configuration management framework for computer system automation.
Cfengine是一种gnu开源配置管理框架,用于计算机系统自动化。
Cfengine V3 focuses on knowledge management in every phase of the management life cycle.
CfengineV 3关注管理生命周期每个阶段的知识管理。
var/cfengine/bin/cf-monitord — Daemon responsible for collecting information about the status of your system
var/cfengine/bin/cf-monitord —负责收集有关系统状态信息的守护进程
At our site, we rsync /etc/cfengine with a central trusted location before running cfengine.
在我们的站点上,在运行cfengine之前,我们使用一个中央可信位置来执行 rsync /etc/cfengine。
应用推荐