Pan is an actively used programming language created in 2011. The pan configuration language allows the definition of machine configuration information and an associated schema with a simple, human-accessible syntax. A pan language compiler transforms the configuration information contained within a set of pan templates to a machine-friendly XML or JSON format. The pan language is used within the Quattor toolkit to define the desired configuration for one or more machines. Read more on Wikipedia...

8Years Old 89Users 0Jobs

Example code from Linguist:

unique template site/one/onevm;

include 'components/chkconfig/config';

# set opennebula map
include 'quattor/aii/opennebula/schema';
bind "/system/opennebula" = opennebula_vmtemplate;

include 'site/config-vm';

include 'quattor/aii/opennebula/default';

"/software/packages/{acpid}" = dict();
"/software/components/chkconfig/service/acpid" = dict('on', '', 'startstop', true);

Example code from Wikipedia:

[ object | declaration | unique | structure ] template template-name;
[ statement … ]

Last updated July 22nd, 2019