From 42264102225aec62fc93243102bf58229ac477b24bbffd76307d667f82bda560 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Klaus=20K=C3=A4mpf?= Date: Wed, 15 Jun 2016 12:27:59 +0000 Subject: [PATCH] - Update to 3.9.0 Full changelog at https://github.com/cfengine/core/blob/3.9.0/ChangeLog New features: - Classes promise: allow classes without an expression to default to defined. - Add optional interface parameter to iprange() to match only one interface. - Allow '=' in symbolic modes (Redmine #7826) - Add: FreeBSD ports package module - New package module for FreeBSD pkg package manager. - Add support for adding/removing fifos in policy - Add Linux parsing of /proc/net/ data. - sys.inet - sys.inet6 - sys.interface_data - Data is returned as a data container. - See documentation for more details. (Jira CFE-1991) - sys.ip2iface: new reverse mapping variable from IP to interface name - Namespaced classes can now be specified on the command line. - namespaces can now be passed to cf-runagent -D and --remote-bundles (Redmine #7856) - Add 'cf-full' and 'json-full' to cf-promises '-p' option. They generate output based on the entire policy. The existing 'cf' already behaved this way, and it has now been changed to generate output only for a single file, which the existing 'json' option already does. - New language functions: processexists() and findprocesses() (Redmine #7633) - Implement new regex_replace() function. (Redmine #7346) OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cfengine?expand=0&rev=141 --- cfengine-3.8.2.tar.gz | 3 -- cfengine-3.9.0.tar.gz | 3 ++ cfengine.changes | 119 ++++++++++++++++++++++++++++++++++++++++++ cfengine.spec | 2 +- 4 files changed, 123 insertions(+), 4 deletions(-) delete mode 100644 cfengine-3.8.2.tar.gz create mode 100644 cfengine-3.9.0.tar.gz diff --git a/cfengine-3.8.2.tar.gz b/cfengine-3.8.2.tar.gz deleted file mode 100644 index af00a68..0000000 --- a/cfengine-3.8.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d5059a5c37784b3cd5f5217ee9aa9fde8c268f922c162247205a9f53271fac33 -size 2155283 diff --git a/cfengine-3.9.0.tar.gz b/cfengine-3.9.0.tar.gz new file mode 100644 index 0000000..770d2bf --- /dev/null +++ b/cfengine-3.9.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:32a38aedf1199c2361e1335e0d4a1d98f9efa7cd591bcb647f35c7395bb66f2d +size 2275307 diff --git a/cfengine.changes b/cfengine.changes index 158dbba..a33c78d 100644 --- a/cfengine.changes +++ b/cfengine.changes @@ -1,3 +1,122 @@ +------------------------------------------------------------------- +Wed Jun 15 12:21:10 UTC 2016 - kkaempf@suse.com + +- Update to 3.9.0 + Full changelog at https://github.com/cfengine/core/blob/3.9.0/ChangeLog + New features: + - Classes promise: allow classes without an expression to default to + defined. + - Add optional interface parameter to iprange() to match only one + interface. + - Allow '=' in symbolic modes (Redmine #7826) + - Add: FreeBSD ports package module + - New package module for FreeBSD pkg package manager. + - Add support for adding/removing fifos in policy + - Add Linux parsing of /proc/net/ data. + - sys.inet + - sys.inet6 + - sys.interface_data + - Data is returned as a data container. + - See documentation for more details. (Jira CFE-1991) + - sys.ip2iface: new reverse mapping variable from IP to + interface name + - Namespaced classes can now be specified on the command line. + - namespaces can now be passed to cf-runagent -D and --remote-bundles + (Redmine #7856) + - Add 'cf-full' and 'json-full' to cf-promises '-p' option. + They generate output based on the entire policy. The existing 'cf' + already behaved this way, and it has now been changed to generate + output only for a single file, which the existing 'json' option + already does. + - New language functions: processexists() and findprocesses() + (Redmine #7633) + - Implement new regex_replace() function. (Redmine #7346) + - Add log rotation policy for state/classes.jsonl log. + (Redmine #7951) + - Added collect_vars utility bundle to stdlib + - Intoduce report_class_log attribute to body agent common. + (Redmine #7951) + - Add standard_services service_method allowing for explicit usage + - cf-promises --show-vars can now show JSON variables. + - Add json_pipe mode to mapdata(), which allows piping a + JSON container to an external program for manipulation and receiving + JSON back. The jq tool is a good example where this mode can be + useful. A corresponding $(def.jq) variable has also been added with + a default path to this tool. See documentation for mapdata() for + more information and examples. (Jira CFE-2071) + - behaviour change: "true" is always defined and "false" is never + defined in a context expression. + - Add: nimclient package module for AIX + This module provides basic functionality for using nimclient as a means + to ensure packages are either present or absent. It does not support + listing package updates available or provide any special caching. + - Add callstack_callers() and callstack_promisers() functions. + - Log variable definitions in debug output. (Redmine #7137) + - Add: Memory information to host info report (Jira CFE-1177) + - In Mustache templates, one can now use {{#-top-}} and + {{/-top-}} tags to iterate over the top level element in a + container. (Redmine #6545) + - Add network_connections() function that parses /proc/net + - Provide new -w argument to override the workdir for testing + - New feature: Emails sent by cf-execd can be filtered to get + rid of emails for unwanted log messages. The attributes + mailfilter_include and mailfilter_exclude in body executor + control control what to include. See documentation for + cf-execd for more information. (Jira CFE-2283) + - Add: file_make_mustache bundle to render mustache templates + - Add '-n' flag to cf-key to avoid host name lookups. + - cf-agent, cf-execd, cf-promises, cf-runagent and cf-serverd honor + multiple -D, -N and -s arguments (Redmine #7191) + - Add "canonify" mode to mapdata(). + - Add: printfile bodies to stdlib + - Add: New results classes body [] (Redmine #7418, #7481) + - Implement cf-runagent --remote-bundles and cf-serverd "bundle" access + promise. (Redmine #7581) + - Add commands promise arglist attribute, augmenting args attribute. + - It's now possible to reference variables in inline JSON, + for example: mergedata('[ thing, { "mykey": otherthing[123] } ]'). + thing and otherthing[123] will be resolved as variables, since + they are unquoted. See the documentation for more details. + (Redmine #7871) + - Allow inline JSON to be used in the following function calls: + - data_expand() + - difference() + - every() + - filter() + - format() + - getindices() + - getvalues() + - grep() + - intersection() + - join() + - length() + - makerule() + - mapdata() + - maplist() + - mean() + - mergedata() + - none() + - nth() + - parsejson() + - product() + - regarray() + - reglist() + - reverse() + - shuffle() + - some() + - sort() + - storejson() + - string_mustache() + - sublist() + - sum() + - unique() + - url_get() + - variance() + For example: mergedata('[ "thing", { "mykey": "myvalue" }]') + See the documentation for more details. (Jira CFE-2253) + - Add: edit_line contains_literal_string to stdlib + - Add body agent control select_end_match_eof option. (Jira CFE-2390) + ------------------------------------------------------------------- Fri Apr 15 07:00:50 UTC 2016 - kkaempf@suse.com diff --git a/cfengine.spec b/cfengine.spec index 549830b..d697dcb 100644 --- a/cfengine.spec +++ b/cfengine.spec @@ -16,7 +16,7 @@ # -%define srcversion 3.8.2 +%define srcversion 3.9.0 %define srcname %{name}-%{srcversion} %define libname libpromises %define libsoname %{libname}3