mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-12-08 20:38:47 +00:00
Improve Pan language support (#3691)
* Add a larger set of sample files for Pan This is a fairly good cross section of Pan based on code from: * https://github.com/quattor/template-library-examples * https://github.com/quattor/template-library-core * Add Pan language grammar
This commit is contained in:
committed by
Paul Chaignon
parent
e9ec699931
commit
8d178bfaed
20
samples/Pan/libvirt.pan
Normal file
20
samples/Pan/libvirt.pan
Normal file
@@ -0,0 +1,20 @@
|
||||
unique template site/ceph/client/libvirt;
|
||||
|
||||
include 'site/ceph/client/config';
|
||||
|
||||
variable CEPH_LIBVIRT_USER ?= 'oneadmin';
|
||||
variable CEPH_LIBVIRT_GROUP ?= CEPH_LIBVIRT_USER;
|
||||
prefix '/software/components/metaconfig/services/{/etc/ceph/ceph.client.libvirt.keyring}';
|
||||
|
||||
"contents" = if (is_defined(CEPH_LIBVIRT_SECRET)) {
|
||||
dict("client.libvirt", dict(
|
||||
"key", CEPH_LIBVIRT_SECRET,
|
||||
)
|
||||
);
|
||||
} else {
|
||||
dict();
|
||||
};
|
||||
'module' = 'tiny';
|
||||
'mode' = 0600;
|
||||
'owner' = CEPH_LIBVIRT_USER;
|
||||
'group' = CEPH_LIBVIRT_GROUP;
|
||||
Reference in New Issue
Block a user