nickanderson / ob-cfengine3

Org Babel functions for CFEngine 3
MIT License
3 stars 3 forks source link

Ability to specify the VERION and Edition of the agent executed #5

Open nickanderson opened 5 years ago

nickanderson commented 5 years ago

It would be pretty sweet if it was easy to specify both the VERSION (master, 3.12.2 )of cfengine as well as the EDITION (enterprise, core|community).

* My example
#+NAME: example
#+BEGIN_SRC cfengine3 :cfengine-version "master" :cfengine-edition "enterprise"

#+END_SRC

Then reusable CALL blocks could be used


# How do I set header args for the called block? Can I?
# https://org-babel.readthedocs.io/en/latest/header-args/

#+header: :cfengine-version "3.12.1" :cfengine-edition "core"
#+CALL: example()
nickanderson commented 5 years ago

@zzamboni in case you get an itch.