cfengine(8) System Manager's Manual cfengine(8)NAME
cfrun - Execute remote cfagents
SYNOPSIS
/usr/sbin/cfrun [options]
DESCRIPTION
cfengine is a language based system specifically designed for testing and configuring unix-like systems attached to a TCP/IP network.
cfrun is a tool for executing one or more remote agents; it contacts the cfservd daemon running on a remote host, which (in turn) starts an
authorized agent. Cfrun cannot be used to send instructions to a remote agent, but it can be used to flag certain aspects to the agent's
existing policy for special attention..
The command line options for cfrun are slightly unusual. They are separated into three sections: options to the cfrun program, options to
the remote cfagent (with some security restrictions) and finally classes or flags to the remote agent.
EXAMPLES
cfrun specialhost1 specialhost2 -- --verbose -- solaris
In this example, we contact hosts specialhost1 specialhost2 by name, and ask them to execute cfagent with the --verbose flag, if the class
solaris is not defined.
cfrun specialhost1 --verbose---- solaris
In this example the verbose flag is sent to cfrun rather than to the remote agent. No options are sent to the remote agents. The class
specifier is sent to all the agents so that they may determine whether they fulfill the required class membership for execution.
The default behaviour is to execute cfagent serially on all hosts listed in the cfrun.hosts file.
FILES
cfrun read a configuration file cfrun.hosts which must contain a list of every potentially contactable host.
AUTHOR
Mark Burgess, Oslo University College
INFORMATION
http://www.cfengine.org
Maintenance Commands cfengine(8)
Check Out this Related Man Page
cf-serverd(8) System Manager's Manual cf-serverd(8)NAME
cf-serverd - cfengine's server agent
SYNOPSIS :
cf-serverd [options]
DESCRIPTION :
The server daemon provides two services: it acts as a file server for remote file copying and it allows an authorized cf-runagent to start
start a cf-agent process and set certain additional classes with role-based access control.
cfengine is a self-healing configuration and change management based system. You can think of cfengine as a very high level language, much
higher level than Perl or shell. Asingle statement is called a promise, and compliance can result in many hundreds of filesbeing created,
or the permissions of many hundreds offiles being set. The idea of cfengine is to create a one or more sets of configuration files which
willclassify and describe the setup of every host in a network.
COMMAND LINE OPTIONS :
--help, -h
Print the help message
--debug, -d
Set debugging level 0,1,2,3
--verbose, -v
Output verbose information about the behaviour of the agent
--version, -V
Output the version of the software
--file, -f
Specify an alternative input file than the default
--define, -D
Define a list of comma separated classes to be defined at the start of execution
--negate, -N
Define a list of comma separated classes to be undefined at the start of execution
--no-lock, -K
Ignore locking constraints during execution (ifelapsed/expireafter) if "too soon" to run
--inform, -I
Print basic information about changes made to the system, i.e. promises repaired
--diagnostic, -x
Activate internal diagnostics (developers only)
--no-fork, -F
Run as a foreground processes (do not fork)
--ld-library-path, -L
Set the internal value of LD_LIBRARY_PATH for child processes
AUTHOR
Mark Burgess and CFEngine AS
INFORMATION
Bug reports: http://bug.cfengine.com, .PP Community help: http://forum.cfengine.com
Community info: http://www.cfengine.com/pages/community
Support services: http://www.cfengine.com
This software is Copyright (C) 2008-2013 CFEngine AS.
Maintenance Commands cf-serverd(8)