Skip to content

Instantly share code, notes, and snippets.

@jan-matejka
Created October 1, 2012 16:30
Show Gist options
  • Select an option

  • Save jan-matejka/3812845 to your computer and use it in GitHub Desktop.

Select an option

Save jan-matejka/3812845 to your computer and use it in GitHub Desktop.
R: psikulky ${picepole[prdel]}
R: psikulky kokot
R: psikulky hovno
R: psikulky nasrat
#!/var/cfengine/bin/cf-agent -f
# vim: foldmethod=marker:foldmarker={,}
body common control {
bundlesequence => {
"kurvadrat",
};
}
bundle agent kurvadrat {
vars:
"picepole[prdel]" slist => { "kokot", "hovno", "nasrat" };
"zasrany_indexy" slist => getindices("picepole");
reports:
linux::
"psikulky ${picepole[${zasrany_indexy}]}";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment