This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am tzz on github. | |
* I am tzz (https://keybase.io/tzz) on keybase. | |
* I have a public key whose fingerprint is 515E 6383 D9FF 31DA 0097 C47B 5280 002A A1CF EE16 | |
To claim this, I am signing this object: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body common control | |
{ | |
inputs => { "$(sys.libdir)/stdlib.cf" }; | |
bundlesequence => { "run", "write" }; | |
} | |
bundle agent run | |
{ | |
vars: | |
"var_slist" slist => { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CFE policy: | |
body common control | |
{ | |
bundlesequence => { holder, test_datastate_mustache }; | |
} | |
bundle common holder | |
{ | |
classes: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body common control | |
{ | |
bundlesequence => { "legacy" }; | |
inputs => { "$(sys.libdir)/stdlib.cf" }; | |
} | |
bundle agent legacy | |
{ | |
vars: | |
"groups" data => parsejson('{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body common control | |
{ | |
bundlesequence => { holder, test_monit_mustache("ssh") }; | |
} | |
bundle common holder | |
{ | |
classes: | |
"holderclass" expression => "any"; # will be global |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bundle agent main | |
{ | |
methods: | |
"" usebundle => servers; | |
"" usebundle => serverp("ubuntu-server"); | |
"" usebundle => serverp("fellini"); | |
} | |
bundle common servers | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bundle agent main | |
{ | |
methods: | |
"" usebundle => basic_classes_vars; | |
"" usebundle => basic_classes("ubuntu-server"); | |
# "" usebundle => basic_classes("fellini"); | |
reports: | |
server:: | |
"The server class is set"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bundle agent main | |
{ | |
methods: | |
"test"; | |
vars: | |
"test_state" data => bundlestate(test); | |
"test_string" string => storejson(test_state); | |
reports: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body common control | |
{ | |
bundlesequence => { "test" }; | |
} | |
bundle agent test | |
{ | |
vars: | |
"users" data => parsejson(' | |
[ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defun save-all-buffers () | |
"Unconditionally save all modified buffers." | |
(interactive) | |
(save-some-buffers 1) | |
(message "All buffers saved")) | |
(add-hook 'focus-out-hook 'save-all-buffers) |
OlderNewer