Chef infra 守护程序模式下的chef客户端的行为如何

Chef infra 守护程序模式下的chef客户端的行为如何,chef-infra,Chef Infra,在守护程序模式下运行时,Chef client将定期应用运行列表,或者仅在运行列表中的菜谱/食谱通过Chef服务器更新时应用 守护程序模式下的Chef客户端将定期运行Chef客户端。 要设置间隔,可以使用-i标志 通常,chef是在拉模式下工作的,而不是推模式,尽管也有一些工具可以模仿这种模式 从手册页: -d, --daemonize Indicates that the executable will be run as a daemon. This

在守护程序模式下运行时,Chef client将定期应用运行列表,或者仅在运行列表中的菜谱/食谱通过Chef服务器更新时应用

守护程序模式下的Chef客户端将定期运行Chef客户端。 要设置间隔,可以使用
-i
标志

通常,chef是在拉模式下工作的,而不是推模式,尽管也有一些工具可以模仿这种模式

从手册页:

-d, --daemonize
          Indicates that the executable will be  run  as  a  daemon.  This
          option  is  only available on machines that run in UNIX or Linux
          environments. For machines that are  running  Microsoft  Windows
          that require similar functionality, use the chef-client::service
          recipe        in        the        chef-client         cookbook:
          http://community.opscode.com/cookbooks/chef-client.   This  will
          install a chef-client service under Microsoft Windows using  the
          Windows Service Wrapper.

-i SECONDS, --interval SECONDS
          The frequency (in seconds) at which the chef-client  runs.  This
          value  is  configured  for the chef-client application run time,
          rather than in Chef::Config. Default value: 1800.

无论厨师服务器上的菜谱/食谱是否更新,运行列表都将定期执行