bundle agent __main__
{
methods:
"example_down_detector";
}
bundle agent example_down_detector
{
vars:
this.promiser
does work in files promises. but not necessarily EVERYWHERE, so where it does not work you need to open a ticket. It’s really helpful if you provide standalone examples illustrating specific places it does not work, and better yet if they come in the form of an acceptance test.
bundle agent __main__
{
files:
"/tmp/test0.txt" content => "Goodbye";
For me it's harder to read and differentiate the list members from the attributes. | |
#+begin_src cfengine3 :include-stdlib t :log-level info :exports both | |
bundle agent __main__ | |
{ | |
vars: | |
"people" | |
slist => { | |
"Obi-Wan Kenobi", | |
"Luke Skywalker", |
bundle agent main
{
methods:
"One"
usebundle => test1;
"Two"
usebundle => test2;
"Three"
bundle agent __main__
{
vars:
"d" data => '{"vars": { "sendmail": { "milters": { "clamav-milter": { "thing": "value" } }}}}';
"l" slist => getindices( "d[vars][sendmail][milters]" );
reports: "$(l)";
{ | |
"absent": [ | |
"/etc/augment2.json" | |
], | |
"failed": [ | |
{ | |
"hash": "12345", | |
"hash_type": "md5", | |
"path": "/etc/augment2.json" | |
} |
In the beginning there was darkenss …
I can’t seem to craft a property to enable exporting with broken links for a specific subtree.
Looking at https://orgmode.org/manual/Export-Settings.html I see that:
> When exporting sub-trees, special node properties can override the above keywords. These properties have an ‘EXPORT\_’ prefix. For example, ‘DATE’ becomes, ‘EXPORT\_DATE’ when used for a specific sub tree. Except for ‘SETUPFILE’, all other keywords listed above have an ‘EXPORT\_’ equivalent.
So, I tried :EXPORT_broken-links: t
and :EXPORT_BROKEN_LINKS: t
without success. I get “No operator defined for property” when I try to compute property at point for those.
bundle agent __main__
{
vars:
"d" data => '{
"aliases": {
"alice.alyson": "alice",
@
Renders the currently iterated key.
Accesses a valueSo, if you are iterating over the dict aliases which is a dict of dicts:
{ "aliases": { "key1": { "msg": "Hello from 1",
Sparky (Sparkee), irc.libera.chatAPP 10:06 AM
here is the scenario: if a server has both freebsd_12 and freebsd_12_2 classes, for freebsd_12 /etc/ssh/ssh_config is version A, for freebsd_12_2 /etc/ssh/ssh_config is version B on that specific server with matches both classes which etc/ssh/ssh_config will be distributed if I don’t specify freebsd_12.!freebsd_12_2:: like would this be enough https://private.sparky.red?85a67d927d23cc2e#HRUoMYCXRwrerz3WEaAwoq4f5SMW2zphnoyAcGRnTVrb ?
bundle agent __main__