Skip to content

Instantly share code, notes, and snippets.

View sandromello's full-sized avatar

Sandro Mello sandromello

View GitHub Profile
@sandromello
sandromello / Run output
Created May 7, 2012 20:34 — forked from nickanderson/Run output
How to override bundle values with passed in paramaters
cf-agent -KIf ./paramaterized_bundle_override_defaults.cf
R: mycustomvalue <- this one was my value
R: ubuntuvalue2 <- I didnt override this one
bundle edit_line set_variable_values2(file,v)
#
# Another implementation of set_variable_values.
# The input and output should be exactly the same (except the file name),
# but in some Cfengine versions there are bugs,
# so this bundle can be used as a workaround.
#
{
vars: