1cfengine(8)                 System Manager's Manual                cfengine(8)
2
3
4

NAME

6       cfrun - Execute remote cfagents
7

SYNOPSIS

9       /usr/local/sbin/cfrun [options]
10
11

DESCRIPTION

13       cfengine  is  a language based system specifically designed for testing
14       and configuring unix-like systems attached to a TCP/IP network.
15
16
17       cfrun is a tool for executing one or more remote  agents;  it  contacts
18       the  cfservd daemon running on a remote host, which (in turn) starts an
19       authorized agent. Cfrun cannot be used to send instructions to a remote
20       agent, but it can be used to flag certain aspects to the agent's exist‐
21       ing policy for special attention..
22
23
24       The command line options for cfrun are slightly unusual. They are sepa‐
25       rated into three sections: options to the cfrun program, options to the
26       remote cfagent (with some security restrictions) and finally classes or
27       flags to the remote agent.
28
29

EXAMPLES

31       cfrun specialhost1 specialhost2 -- --verbose -- solaris
32
33
34       In  this  example,  we contact hosts specialhost1 specialhost2 by name,
35       and ask them to execute cfagent with the --verbose flag, if  the  class
36       solaris is not defined.
37
38       cfrun specialhost1 --verbose  --  -- solaris
39
40
41       In  this  example  the verbose flag is sent to cfrun rather than to the
42       remote agent.  No options are sent to  the  remote  agents.  The  class
43       specifier  is sent to all the agents so that they may determine whether
44       they fulfill the required class membership for execution.
45
46       The default behaviour is to  execute  cfagent  serially  on  all  hosts
47       listed in the cfrun.hosts file.
48
49

FILES

51       cfrun  read  a configuration file cfrun.hosts which must contain a list
52       of every potentially contactable host.
53
54

AUTHOR

56       Mark Burgess, Oslo University College
57

INFORMATION

59       http://www.cfengine.org
60
61
62
63
64                             Maintenance Commands                  cfengine(8)
Impressum