pn - Pendulum Interpreter


pn [options]


Clockwork is a configuration management system designed to securely and correctly enforce configuration policies on lots of hosts.

It can ensure that files have the right attributes (owner, group, permissions, etc.) and content. It can maintain a specific set of installed packages, and even make sure that system user accounts exist.

pn is a standalone interpreter for the Pendulum language, which is what cogd uses internally to apply policies to the local machine.

pn is not for everyone. In fact, most people will never need the run snippets of Pendulum code outside the scope of cogd. pn really shines when used to aide in debugging Clockwork, and as an exploratory utility for writing new resource types.


-V, --version

Print version and copyright information, and then exit.

-v, --verbose

Increase logging verbosity by one level.

-q, --quiet

Disable logging.

-T, --trace

Enable TRACE mode while executing the script. In this mode, pn will print debugging messages to standard error that should help to illustrate what opcodes it is executing, what user-defined functions are doing, branching decisions and more.

--syslog FACILITY

Redirect all output to syslog, using the target facility.


Enable debug-level logging. Useful for development, but not much else.


clockwork(7), clockd(1), clockd.conf(5) and cogd.conf(5)


Clockwork was designed and written by James Hunt.

The Clockwork website is licensed under the Creative Commons Attribution-NoDerivs 3.0 United States License