forked from pool/python-pypuppetdb
Accepting request 673608 from home:worldcitizen:branches:systemsmanagement:puppet
Build version 0.3.3 OBS-URL: https://build.opensuse.org/request/show/673608 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pypuppetdb?expand=0&rev=1
This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
.osc
|
3
pypuppetdb-0.3.3.tar.gz
Normal file
3
pypuppetdb-0.3.3.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:793666aba36ac86f73ec13facb936b6abeae703751fdc32f0228e5b1f2a11d32
|
||||||
|
size 38321
|
79
python-pypuppetdb.changes
Normal file
79
python-pypuppetdb.changes
Normal file
@@ -0,0 +1,79 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Feb 5 16:02:45 UTC 2019 - joop.boonen@opensuse.org
|
||||||
|
|
||||||
|
- Build version 0.3.3
|
||||||
|
|
||||||
|
* Add support for authentication with tokens
|
||||||
|
* Fix bug with parsing results from inventory endpoint
|
||||||
|
|
||||||
|
- Build version 0.3.2
|
||||||
|
|
||||||
|
* Fixed noop puppet runs reporting unchanged instead of noop.
|
||||||
|
* Fixed unreported nodes shown as 'noop' in puppetdb > 4.1.0.
|
||||||
|
* Add Inventory API endpoint for PuppetDB 4.2.0.
|
||||||
|
* Support for producer field on catalogs, facts and report types.
|
||||||
|
|
||||||
|
- Build version 0.3.1
|
||||||
|
|
||||||
|
* Fixed a datetime related bug in :func:`pypuppetdb.api.nodes()` that caused
|
||||||
|
all returned nodes to be an unreported status
|
||||||
|
|
||||||
|
- Build version 0.3.0
|
||||||
|
|
||||||
|
* New QueryBuilder module allows users to build PuppetDB queries in an
|
||||||
|
Object-Oriented fashion.
|
||||||
|
* Adding support for new fields provided in PuppetDB 4.1.0.
|
||||||
|
|
||||||
|
- Build version 0.2.3
|
||||||
|
|
||||||
|
* Removed deprecation of :func:`pypuppetdb.types.Report.events()`. Expanded
|
||||||
|
resource events data timestamps are not parseable.
|
||||||
|
* Escaping additional path parameters passed to _url() with urllib.quote
|
||||||
|
|
||||||
|
- Build version 0.2.2
|
||||||
|
|
||||||
|
* Fixed URL Encoding found when querying the specific value of a macaddress
|
||||||
|
fact.
|
||||||
|
* Adding support for PuppetDB 4.0.0 information. Namely Adding a catalog_uuid
|
||||||
|
attribute to the Catalog type object. Adding code_id, catalog_uuid and
|
||||||
|
cached_catalog_status attributes to the Report type object.
|
||||||
|
* Removing unneeded sudo option from .travis.yml, this gave unnecessary
|
||||||
|
warning in the test environment.
|
||||||
|
* Updating the files under docs/ so https://pypuppetdb.readthedocs.org/en/latest/
|
||||||
|
can be updated
|
||||||
|
* Deprecating :func:`pypuppetdb.types.Report.events()` in favour of the new
|
||||||
|
events list variable.
|
||||||
|
* Renaming test-requirements.txt to requirements.txt
|
||||||
|
|
||||||
|
- Build version 0.2.1
|
||||||
|
|
||||||
|
* Adding a version comparison utility function using examples provided in
|
||||||
|
http://stackoverflow.com/questions/1714027/version-number-comparison
|
||||||
|
* Adding a new variable latest_report_hash to the Node object. Default
|
||||||
|
None but is given a real value from the field of the same name in the
|
||||||
|
Nodes endpoint available in PuppetDB 3.2 or higher.
|
||||||
|
* Allowing support for 'GET' AND 'POST' requests in the api _query()
|
||||||
|
function. This will allow clients to send requests to the PuppetDB that
|
||||||
|
are too long for a GEt request query string
|
||||||
|
* Adding a node field, code_id, to the Catalog object using the field of
|
||||||
|
the same name from the Catalogs endpoint (currently unused as of
|
||||||
|
PuppetDB 3.2.2)
|
||||||
|
* Adding test cases for new features EXCEPT the GET and POST update.
|
||||||
|
|
||||||
|
- Build version 0.2.0
|
||||||
|
|
||||||
|
* Version bump to 0.2.0
|
||||||
|
* Adding support for v4 of the Query API
|
||||||
|
* Removing v2 and v3 api functions as per changelog
|
||||||
|
* pypuppetdb will no longer support multiple API versions, removing the
|
||||||
|
api_version attribute from pypuppetdb.connect()
|
||||||
|
* All clients must remove the api_version attribute from the connect function,
|
||||||
|
or the starting number, since it is no longer supported
|
||||||
|
* Removing all NotImplemented errors in the function of BaseAPI and filled
|
||||||
|
them with the real code
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Feb 13 22:19:56 UTC 2014 - aboe76@gmail.com
|
||||||
|
|
||||||
|
- Initial release
|
||||||
|
|
55
python-pypuppetdb.spec
Normal file
55
python-pypuppetdb.spec
Normal file
@@ -0,0 +1,55 @@
|
|||||||
|
#
|
||||||
|
# spec file for package python-Flask-Cache
|
||||||
|
#
|
||||||
|
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
|
Name: python-pypuppetdb
|
||||||
|
Version: 0.3.3
|
||||||
|
Release: 0
|
||||||
|
Url: https://github.com/nedap/pypuppetdb
|
||||||
|
Summary: The pypuppetdtb is a library to work with PuppetDB's REST API
|
||||||
|
License: Apache-2.0
|
||||||
|
Group: Development/Languages/Python
|
||||||
|
Source: https://pypi.python.org/packages/source/p/pypuppetdb/pypuppetdb-%{version}.tar.gz
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: python-devel
|
||||||
|
BuildRequires: python-rpm-macros
|
||||||
|
BuildRequires: python-setuptools
|
||||||
|
BuildRequires: fdupes
|
||||||
|
BuildArch: noarch
|
||||||
|
%python_subpackages
|
||||||
|
|
||||||
|
%description
|
||||||
|
This library is a thin wrapper around the REST API providing some convinience functions and objects to request and hold data from PuppetDB.
|
||||||
|
More information: https://github.com/nedap/pypuppetdb
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n pypuppetdb-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
%python_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%python_install
|
||||||
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
|
%files %{python_files}
|
||||||
|
%doc README.rst CHANGELOG.rst
|
||||||
|
%doc LICENSE
|
||||||
|
%{python_sitelib}/*
|
||||||
|
|
||||||
|
%changelog
|
Reference in New Issue
Block a user