Accepting request 404050 from systemsmanagement

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/404050
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cfengine?expand=0&rev=62
This commit is contained in:
Dominique Leuenberger 2016-06-23 11:37:22 +00:00 committed by Git OBS Bridge
commit cacf1b528a
4 changed files with 124 additions and 5 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d5059a5c37784b3cd5f5217ee9aa9fde8c268f922c162247205a9f53271fac33
size 2155283

3
cfengine-3.9.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:32a38aedf1199c2361e1335e0d4a1d98f9efa7cd591bcb647f35c7395bb66f2d
size 2275307

View File

@ -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 Fri Apr 15 07:00:50 UTC 2016 - kkaempf@suse.com

View File

@ -16,7 +16,7 @@
# #
%define srcversion 3.8.2 %define srcversion 3.9.0
%define srcname %{name}-%{srcversion} %define srcname %{name}-%{srcversion}
%define libname libpromises %define libname libpromises
%define libsoname %{libname}3 %define libsoname %{libname}3
@ -187,7 +187,7 @@ install -d docs
cp -a $RPM_SOURCE_DIR/*pdf docs/ cp -a $RPM_SOURCE_DIR/*pdf docs/
%build %build
autoreconf -fvi -I m4 EXPLICIT_VERSION=%{version} autoreconf -fvi -I m4
# /usr/include/sys for acl.h # /usr/include/sys for acl.h
CC=cc CFLAGS="%{optflags} -fno-strict-aliasing" \ CC=cc CFLAGS="%{optflags} -fno-strict-aliasing" \
%configure \ %configure \