Merge lp:~james-page/charm-helpers/apache-2.0 into lp:charm-helpers

Proposed by James Page on 2016-07-06
Status: Merged
Merged at revision: 597
Proposed branch: lp:~james-page/charm-helpers/apache-2.0
Merge into: lp:charm-helpers
Diff against target: 5810 lines (+1789/-2629)
146 files modified
LICENSE (+202/-0)
LICENSE.GPL (+0/-675)
LICENSE.LESSER (+0/-166)
README.txt (+11/-12)
charmhelpers/__init__.py (+11/-13)
charmhelpers/cli/__init__.py (+11/-13)
charmhelpers/cli/benchmark.py (+11/-13)
charmhelpers/cli/commands.py (+11/-13)
charmhelpers/cli/hookenv.py (+11/-13)
charmhelpers/cli/host.py (+11/-13)
charmhelpers/cli/unitdata.py (+11/-13)
charmhelpers/context.py (+12/-13)
charmhelpers/contrib/__init__.py (+11/-13)
charmhelpers/contrib/amulet/__init__.py (+11/-13)
charmhelpers/contrib/amulet/deployment.py (+11/-13)
charmhelpers/contrib/amulet/utils.py (+11/-13)
charmhelpers/contrib/ansible/__init__.py (+11/-13)
charmhelpers/contrib/benchmark/__init__.py (+11/-13)
charmhelpers/contrib/charmhelpers/__init__.py (+11/-16)
charmhelpers/contrib/charmsupport/__init__.py (+11/-13)
charmhelpers/contrib/charmsupport/nrpe.py (+11/-13)
charmhelpers/contrib/charmsupport/volumes.py (+11/-13)
charmhelpers/contrib/database/__init__.py (+11/-0)
charmhelpers/contrib/database/mysql.py (+12/-0)
charmhelpers/contrib/hahelpers/__init__.py (+11/-13)
charmhelpers/contrib/hahelpers/apache.py (+11/-13)
charmhelpers/contrib/hahelpers/cluster.py (+11/-13)
charmhelpers/contrib/hardening/__init__.py (+11/-13)
charmhelpers/contrib/hardening/apache/__init__.py (+11/-13)
charmhelpers/contrib/hardening/apache/checks/__init__.py (+11/-13)
charmhelpers/contrib/hardening/apache/checks/config.py (+11/-13)
charmhelpers/contrib/hardening/audits/__init__.py (+11/-14)
charmhelpers/contrib/hardening/audits/apache.py (+11/-13)
charmhelpers/contrib/hardening/audits/apt.py (+11/-13)
charmhelpers/contrib/hardening/audits/file.py (+11/-13)
charmhelpers/contrib/hardening/harden.py (+11/-13)
charmhelpers/contrib/hardening/host/__init__.py (+11/-13)
charmhelpers/contrib/hardening/host/checks/__init__.py (+11/-13)
charmhelpers/contrib/hardening/host/checks/apt.py (+11/-13)
charmhelpers/contrib/hardening/host/checks/limits.py (+11/-13)
charmhelpers/contrib/hardening/host/checks/login.py (+11/-13)
charmhelpers/contrib/hardening/host/checks/minimize_access.py (+11/-13)
charmhelpers/contrib/hardening/host/checks/pam.py (+11/-13)
charmhelpers/contrib/hardening/host/checks/profile.py (+11/-13)
charmhelpers/contrib/hardening/host/checks/securetty.py (+11/-13)
charmhelpers/contrib/hardening/host/checks/suid_sgid.py (+11/-13)
charmhelpers/contrib/hardening/host/checks/sysctl.py (+11/-13)
charmhelpers/contrib/hardening/mysql/__init__.py (+11/-13)
charmhelpers/contrib/hardening/mysql/checks/__init__.py (+11/-13)
charmhelpers/contrib/hardening/mysql/checks/config.py (+11/-13)
charmhelpers/contrib/hardening/ssh/__init__.py (+11/-13)
charmhelpers/contrib/hardening/ssh/checks/__init__.py (+11/-13)
charmhelpers/contrib/hardening/ssh/checks/config.py (+11/-13)
charmhelpers/contrib/hardening/templating.py (+11/-13)
charmhelpers/contrib/hardening/utils.py (+11/-13)
charmhelpers/contrib/mellanox/__init__.py (+13/-0)
charmhelpers/contrib/mellanox/infiniband.py (+11/-14)
charmhelpers/contrib/network/__init__.py (+11/-13)
charmhelpers/contrib/network/ip.py (+11/-13)
charmhelpers/contrib/network/ovs/__init__.py (+11/-13)
charmhelpers/contrib/network/ufw.py (+11/-13)
charmhelpers/contrib/openstack/__init__.py (+11/-13)
charmhelpers/contrib/openstack/alternatives.py (+11/-13)
charmhelpers/contrib/openstack/amulet/__init__.py (+11/-13)
charmhelpers/contrib/openstack/amulet/deployment.py (+11/-13)
charmhelpers/contrib/openstack/amulet/utils.py (+11/-13)
charmhelpers/contrib/openstack/context.py (+11/-13)
charmhelpers/contrib/openstack/exceptions.py (+14/-0)
charmhelpers/contrib/openstack/files/__init__.py (+11/-13)
charmhelpers/contrib/openstack/ha/__init__.py (+13/-0)
charmhelpers/contrib/openstack/ha/utils.py (+11/-13)
charmhelpers/contrib/openstack/ip.py (+11/-14)
charmhelpers/contrib/openstack/neutron.py (+11/-13)
charmhelpers/contrib/openstack/templates/__init__.py (+11/-13)
charmhelpers/contrib/openstack/templating.py (+11/-13)
charmhelpers/contrib/openstack/utils.py (+11/-13)
charmhelpers/contrib/peerstorage/__init__.py (+11/-13)
charmhelpers/contrib/python/__init__.py (+11/-13)
charmhelpers/contrib/python/debug.py (+11/-13)
charmhelpers/contrib/python/packages.py (+11/-13)
charmhelpers/contrib/python/rpdb.py (+11/-13)
charmhelpers/contrib/python/version.py (+11/-13)
charmhelpers/contrib/saltstack/__init__.py (+11/-13)
charmhelpers/contrib/ssl/__init__.py (+11/-13)
charmhelpers/contrib/ssl/service.py (+11/-13)
charmhelpers/contrib/storage/__init__.py (+11/-13)
charmhelpers/contrib/storage/linux/__init__.py (+11/-13)
charmhelpers/contrib/storage/linux/ceph.py (+11/-13)
charmhelpers/contrib/storage/linux/loopback.py (+11/-13)
charmhelpers/contrib/storage/linux/lvm.py (+11/-13)
charmhelpers/contrib/storage/linux/utils.py (+11/-13)
charmhelpers/contrib/templating/__init__.py (+11/-13)
charmhelpers/contrib/templating/contexts.py (+11/-13)
charmhelpers/contrib/templating/jinja.py (+11/-13)
charmhelpers/contrib/templating/pyformat.py (+11/-13)
charmhelpers/contrib/unison/__init__.py (+11/-13)
charmhelpers/coordinator.py (+12/-13)
charmhelpers/core/__init__.py (+11/-13)
charmhelpers/core/decorators.py (+11/-13)
charmhelpers/core/files.py (+11/-13)
charmhelpers/core/fstab.py (+11/-13)
charmhelpers/core/hookenv.py (+11/-13)
charmhelpers/core/host.py (+11/-13)
charmhelpers/core/hugepage.py (+11/-13)
charmhelpers/core/kernel.py (+11/-13)
charmhelpers/core/services/__init__.py (+11/-13)
charmhelpers/core/services/base.py (+11/-13)
charmhelpers/core/services/helpers.py (+11/-13)
charmhelpers/core/strutils.py (+11/-13)
charmhelpers/core/sysctl.py (+11/-13)
charmhelpers/core/templating.py (+11/-13)
charmhelpers/core/unitdata.py (+11/-14)
charmhelpers/fetch/__init__.py (+11/-13)
charmhelpers/fetch/archiveurl.py (+11/-13)
charmhelpers/fetch/bzrurl.py (+11/-13)
charmhelpers/fetch/giturl.py (+11/-13)
charmhelpers/payload/__init__.py (+11/-13)
charmhelpers/payload/archive.py (+11/-13)
charmhelpers/payload/execd.py (+11/-13)
docs/_extensions/automembersummary.py (+11/-13)
setup.py (+15/-1)
tests/context/test_context.py (+11/-13)
tests/contrib/hardening/apache/checks/test_config.py (+11/-13)
tests/contrib/hardening/audits/__init__.py (+11/-13)
tests/contrib/hardening/audits/test_apache_audits.py (+11/-13)
tests/contrib/hardening/audits/test_apt_audits.py (+11/-13)
tests/contrib/hardening/audits/test_base_audits.py (+11/-13)
tests/contrib/hardening/audits/test_file_audits.py (+11/-13)
tests/contrib/hardening/host/checks/test_apt.py (+11/-13)
tests/contrib/hardening/host/checks/test_limits.py (+11/-13)
tests/contrib/hardening/host/checks/test_login.py (+11/-13)
tests/contrib/hardening/host/checks/test_minimize_access.py (+11/-13)
tests/contrib/hardening/host/checks/test_pam.py (+11/-13)
tests/contrib/hardening/host/checks/test_profile.py (+11/-13)
tests/contrib/hardening/host/checks/test_securetty.py (+11/-13)
tests/contrib/hardening/host/checks/test_suid_guid.py (+11/-13)
tests/contrib/hardening/mysql/checks/test_config.py (+11/-13)
tests/contrib/hardening/ssh/checks/test_config.py (+11/-13)
tests/contrib/hardening/test_defaults.py (+11/-13)
tests/contrib/hardening/test_harden.py (+11/-13)
tests/contrib/hardening/test_templating.py (+11/-13)
tests/contrib/hardening/test_utils.py (+11/-13)
tests/coordinator/test_coordinator.py (+11/-13)
tools/__init__.py (+11/-13)
tools/charm_helpers_sync/__init__.py (+11/-13)
tools/charm_helpers_sync/charm_helpers_sync.py (+11/-13)
To merge this branch: bzr merge lp:~james-page/charm-helpers/apache-2.0
Reviewer Review Type Date Requested Status
Marco Ceppi 2016-07-06 Approve on 2016-07-06
Review via email: mp+299320@code.launchpad.net

Description of the Change

Re-license charm-helpers inline with agreed licensing approaches for charms, interfaces and layers.

To post a comment you must log in.
Marco Ceppi (marcoceppi) wrote :

+1 LGTM

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== added file 'LICENSE'
2--- LICENSE 1970-01-01 00:00:00 +0000
3+++ LICENSE 2016-07-06 14:41:57 +0000
4@@ -0,0 +1,202 @@
5+
6+ Apache License
7+ Version 2.0, January 2004
8+ http://www.apache.org/licenses/
9+
10+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
11+
12+ 1. Definitions.
13+
14+ "License" shall mean the terms and conditions for use, reproduction,
15+ and distribution as defined by Sections 1 through 9 of this document.
16+
17+ "Licensor" shall mean the copyright owner or entity authorized by
18+ the copyright owner that is granting the License.
19+
20+ "Legal Entity" shall mean the union of the acting entity and all
21+ other entities that control, are controlled by, or are under common
22+ control with that entity. For the purposes of this definition,
23+ "control" means (i) the power, direct or indirect, to cause the
24+ direction or management of such entity, whether by contract or
25+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
26+ outstanding shares, or (iii) beneficial ownership of such entity.
27+
28+ "You" (or "Your") shall mean an individual or Legal Entity
29+ exercising permissions granted by this License.
30+
31+ "Source" form shall mean the preferred form for making modifications,
32+ including but not limited to software source code, documentation
33+ source, and configuration files.
34+
35+ "Object" form shall mean any form resulting from mechanical
36+ transformation or translation of a Source form, including but
37+ not limited to compiled object code, generated documentation,
38+ and conversions to other media types.
39+
40+ "Work" shall mean the work of authorship, whether in Source or
41+ Object form, made available under the License, as indicated by a
42+ copyright notice that is included in or attached to the work
43+ (an example is provided in the Appendix below).
44+
45+ "Derivative Works" shall mean any work, whether in Source or Object
46+ form, that is based on (or derived from) the Work and for which the
47+ editorial revisions, annotations, elaborations, or other modifications
48+ represent, as a whole, an original work of authorship. For the purposes
49+ of this License, Derivative Works shall not include works that remain
50+ separable from, or merely link (or bind by name) to the interfaces of,
51+ the Work and Derivative Works thereof.
52+
53+ "Contribution" shall mean any work of authorship, including
54+ the original version of the Work and any modifications or additions
55+ to that Work or Derivative Works thereof, that is intentionally
56+ submitted to Licensor for inclusion in the Work by the copyright owner
57+ or by an individual or Legal Entity authorized to submit on behalf of
58+ the copyright owner. For the purposes of this definition, "submitted"
59+ means any form of electronic, verbal, or written communication sent
60+ to the Licensor or its representatives, including but not limited to
61+ communication on electronic mailing lists, source code control systems,
62+ and issue tracking systems that are managed by, or on behalf of, the
63+ Licensor for the purpose of discussing and improving the Work, but
64+ excluding communication that is conspicuously marked or otherwise
65+ designated in writing by the copyright owner as "Not a Contribution."
66+
67+ "Contributor" shall mean Licensor and any individual or Legal Entity
68+ on behalf of whom a Contribution has been received by Licensor and
69+ subsequently incorporated within the Work.
70+
71+ 2. Grant of Copyright License. Subject to the terms and conditions of
72+ this License, each Contributor hereby grants to You a perpetual,
73+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
74+ copyright license to reproduce, prepare Derivative Works of,
75+ publicly display, publicly perform, sublicense, and distribute the
76+ Work and such Derivative Works in Source or Object form.
77+
78+ 3. Grant of Patent License. Subject to the terms and conditions of
79+ this License, each Contributor hereby grants to You a perpetual,
80+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
81+ (except as stated in this section) patent license to make, have made,
82+ use, offer to sell, sell, import, and otherwise transfer the Work,
83+ where such license applies only to those patent claims licensable
84+ by such Contributor that are necessarily infringed by their
85+ Contribution(s) alone or by combination of their Contribution(s)
86+ with the Work to which such Contribution(s) was submitted. If You
87+ institute patent litigation against any entity (including a
88+ cross-claim or counterclaim in a lawsuit) alleging that the Work
89+ or a Contribution incorporated within the Work constitutes direct
90+ or contributory patent infringement, then any patent licenses
91+ granted to You under this License for that Work shall terminate
92+ as of the date such litigation is filed.
93+
94+ 4. Redistribution. You may reproduce and distribute copies of the
95+ Work or Derivative Works thereof in any medium, with or without
96+ modifications, and in Source or Object form, provided that You
97+ meet the following conditions:
98+
99+ (a) You must give any other recipients of the Work or
100+ Derivative Works a copy of this License; and
101+
102+ (b) You must cause any modified files to carry prominent notices
103+ stating that You changed the files; and
104+
105+ (c) You must retain, in the Source form of any Derivative Works
106+ that You distribute, all copyright, patent, trademark, and
107+ attribution notices from the Source form of the Work,
108+ excluding those notices that do not pertain to any part of
109+ the Derivative Works; and
110+
111+ (d) If the Work includes a "NOTICE" text file as part of its
112+ distribution, then any Derivative Works that You distribute must
113+ include a readable copy of the attribution notices contained
114+ within such NOTICE file, excluding those notices that do not
115+ pertain to any part of the Derivative Works, in at least one
116+ of the following places: within a NOTICE text file distributed
117+ as part of the Derivative Works; within the Source form or
118+ documentation, if provided along with the Derivative Works; or,
119+ within a display generated by the Derivative Works, if and
120+ wherever such third-party notices normally appear. The contents
121+ of the NOTICE file are for informational purposes only and
122+ do not modify the License. You may add Your own attribution
123+ notices within Derivative Works that You distribute, alongside
124+ or as an addendum to the NOTICE text from the Work, provided
125+ that such additional attribution notices cannot be construed
126+ as modifying the License.
127+
128+ You may add Your own copyright statement to Your modifications and
129+ may provide additional or different license terms and conditions
130+ for use, reproduction, or distribution of Your modifications, or
131+ for any such Derivative Works as a whole, provided Your use,
132+ reproduction, and distribution of the Work otherwise complies with
133+ the conditions stated in this License.
134+
135+ 5. Submission of Contributions. Unless You explicitly state otherwise,
136+ any Contribution intentionally submitted for inclusion in the Work
137+ by You to the Licensor shall be under the terms and conditions of
138+ this License, without any additional terms or conditions.
139+ Notwithstanding the above, nothing herein shall supersede or modify
140+ the terms of any separate license agreement you may have executed
141+ with Licensor regarding such Contributions.
142+
143+ 6. Trademarks. This License does not grant permission to use the trade
144+ names, trademarks, service marks, or product names of the Licensor,
145+ except as required for reasonable and customary use in describing the
146+ origin of the Work and reproducing the content of the NOTICE file.
147+
148+ 7. Disclaimer of Warranty. Unless required by applicable law or
149+ agreed to in writing, Licensor provides the Work (and each
150+ Contributor provides its Contributions) on an "AS IS" BASIS,
151+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
152+ implied, including, without limitation, any warranties or conditions
153+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
154+ PARTICULAR PURPOSE. You are solely responsible for determining the
155+ appropriateness of using or redistributing the Work and assume any
156+ risks associated with Your exercise of permissions under this License.
157+
158+ 8. Limitation of Liability. In no event and under no legal theory,
159+ whether in tort (including negligence), contract, or otherwise,
160+ unless required by applicable law (such as deliberate and grossly
161+ negligent acts) or agreed to in writing, shall any Contributor be
162+ liable to You for damages, including any direct, indirect, special,
163+ incidental, or consequential damages of any character arising as a
164+ result of this License or out of the use or inability to use the
165+ Work (including but not limited to damages for loss of goodwill,
166+ work stoppage, computer failure or malfunction, or any and all
167+ other commercial damages or losses), even if such Contributor
168+ has been advised of the possibility of such damages.
169+
170+ 9. Accepting Warranty or Additional Liability. While redistributing
171+ the Work or Derivative Works thereof, You may choose to offer,
172+ and charge a fee for, acceptance of support, warranty, indemnity,
173+ or other liability obligations and/or rights consistent with this
174+ License. However, in accepting such obligations, You may act only
175+ on Your own behalf and on Your sole responsibility, not on behalf
176+ of any other Contributor, and only if You agree to indemnify,
177+ defend, and hold each Contributor harmless for any liability
178+ incurred by, or claims asserted against, such Contributor by reason
179+ of your accepting any such warranty or additional liability.
180+
181+ END OF TERMS AND CONDITIONS
182+
183+ APPENDIX: How to apply the Apache License to your work.
184+
185+ To apply the Apache License to your work, attach the following
186+ boilerplate notice, with the fields enclosed by brackets "[]"
187+ replaced with your own identifying information. (Don't include
188+ the brackets!) The text should be enclosed in the appropriate
189+ comment syntax for the file format. We also recommend that a
190+ file or class name and description of purpose be included on the
191+ same "printed page" as the copyright notice for easier
192+ identification within third-party archives.
193+
194+ Copyright [yyyy] [name of copyright owner]
195+
196+ Licensed under the Apache License, Version 2.0 (the "License");
197+ you may not use this file except in compliance with the License.
198+ You may obtain a copy of the License at
199+
200+ http://www.apache.org/licenses/LICENSE-2.0
201+
202+ Unless required by applicable law or agreed to in writing, software
203+ distributed under the License is distributed on an "AS IS" BASIS,
204+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
205+ See the License for the specific language governing permissions and
206+ limitations under the License.
207
208=== removed file 'LICENSE.GPL'
209--- LICENSE.GPL 2015-01-02 13:00:04 +0000
210+++ LICENSE.GPL 1970-01-01 00:00:00 +0000
211@@ -1,675 +0,0 @@
212- GNU GENERAL PUBLIC LICENSE
213- Version 3, 29 June 2007
214-
215- Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
216- Everyone is permitted to copy and distribute verbatim copies
217- of this license document, but changing it is not allowed.
218-
219- Preamble
220-
221- The GNU General Public License is a free, copyleft license for
222-software and other kinds of works.
223-
224- The licenses for most software and other practical works are designed
225-to take away your freedom to share and change the works. By contrast,
226-the GNU General Public License is intended to guarantee your freedom to
227-share and change all versions of a program--to make sure it remains free
228-software for all its users. We, the Free Software Foundation, use the
229-GNU General Public License for most of our software; it applies also to
230-any other work released this way by its authors. You can apply it to
231-your programs, too.
232-
233- When we speak of free software, we are referring to freedom, not
234-price. Our General Public Licenses are designed to make sure that you
235-have the freedom to distribute copies of free software (and charge for
236-them if you wish), that you receive source code or can get it if you
237-want it, that you can change the software or use pieces of it in new
238-free programs, and that you know you can do these things.
239-
240- To protect your rights, we need to prevent others from denying you
241-these rights or asking you to surrender the rights. Therefore, you have
242-certain responsibilities if you distribute copies of the software, or if
243-you modify it: responsibilities to respect the freedom of others.
244-
245- For example, if you distribute copies of such a program, whether
246-gratis or for a fee, you must pass on to the recipients the same
247-freedoms that you received. You must make sure that they, too, receive
248-or can get the source code. And you must show them these terms so they
249-know their rights.
250-
251- Developers that use the GNU GPL protect your rights with two steps:
252-(1) assert copyright on the software, and (2) offer you this License
253-giving you legal permission to copy, distribute and/or modify it.
254-
255- For the developers' and authors' protection, the GPL clearly explains
256-that there is no warranty for this free software. For both users' and
257-authors' sake, the GPL requires that modified versions be marked as
258-changed, so that their problems will not be attributed erroneously to
259-authors of previous versions.
260-
261- Some devices are designed to deny users access to install or run
262-modified versions of the software inside them, although the manufacturer
263-can do so. This is fundamentally incompatible with the aim of
264-protecting users' freedom to change the software. The systematic
265-pattern of such abuse occurs in the area of products for individuals to
266-use, which is precisely where it is most unacceptable. Therefore, we
267-have designed this version of the GPL to prohibit the practice for those
268-products. If such problems arise substantially in other domains, we
269-stand ready to extend this provision to those domains in future versions
270-of the GPL, as needed to protect the freedom of users.
271-
272- Finally, every program is threatened constantly by software patents.
273-States should not allow patents to restrict development and use of
274-software on general-purpose computers, but in those that do, we wish to
275-avoid the special danger that patents applied to a free program could
276-make it effectively proprietary. To prevent this, the GPL assures that
277-patents cannot be used to render the program non-free.
278-
279- The precise terms and conditions for copying, distribution and
280-modification follow.
281-
282- TERMS AND CONDITIONS
283-
284- 0. Definitions.
285-
286- "This License" refers to version 3 of the GNU General Public License.
287-
288- "Copyright" also means copyright-like laws that apply to other kinds of
289-works, such as semiconductor masks.
290-
291- "The Program" refers to any copyrightable work licensed under this
292-License. Each licensee is addressed as "you". "Licensees" and
293-"recipients" may be individuals or organizations.
294-
295- To "modify" a work means to copy from or adapt all or part of the work
296-in a fashion requiring copyright permission, other than the making of an
297-exact copy. The resulting work is called a "modified version" of the
298-earlier work or a work "based on" the earlier work.
299-
300- A "covered work" means either the unmodified Program or a work based
301-on the Program.
302-
303- To "propagate" a work means to do anything with it that, without
304-permission, would make you directly or secondarily liable for
305-infringement under applicable copyright law, except executing it on a
306-computer or modifying a private copy. Propagation includes copying,
307-distribution (with or without modification), making available to the
308-public, and in some countries other activities as well.
309-
310- To "convey" a work means any kind of propagation that enables other
311-parties to make or receive copies. Mere interaction with a user through
312-a computer network, with no transfer of a copy, is not conveying.
313-
314- An interactive user interface displays "Appropriate Legal Notices"
315-to the extent that it includes a convenient and prominently visible
316-feature that (1) displays an appropriate copyright notice, and (2)
317-tells the user that there is no warranty for the work (except to the
318-extent that warranties are provided), that licensees may convey the
319-work under this License, and how to view a copy of this License. If
320-the interface presents a list of user commands or options, such as a
321-menu, a prominent item in the list meets this criterion.
322-
323- 1. Source Code.
324-
325- The "source code" for a work means the preferred form of the work
326-for making modifications to it. "Object code" means any non-source
327-form of a work.
328-
329- A "Standard Interface" means an interface that either is an official
330-standard defined by a recognized standards body, or, in the case of
331-interfaces specified for a particular programming language, one that
332-is widely used among developers working in that language.
333-
334- The "System Libraries" of an executable work include anything, other
335-than the work as a whole, that (a) is included in the normal form of
336-packaging a Major Component, but which is not part of that Major
337-Component, and (b) serves only to enable use of the work with that
338-Major Component, or to implement a Standard Interface for which an
339-implementation is available to the public in source code form. A
340-"Major Component", in this context, means a major essential component
341-(kernel, window system, and so on) of the specific operating system
342-(if any) on which the executable work runs, or a compiler used to
343-produce the work, or an object code interpreter used to run it.
344-
345- The "Corresponding Source" for a work in object code form means all
346-the source code needed to generate, install, and (for an executable
347-work) run the object code and to modify the work, including scripts to
348-control those activities. However, it does not include the work's
349-System Libraries, or general-purpose tools or generally available free
350-programs which are used unmodified in performing those activities but
351-which are not part of the work. For example, Corresponding Source
352-includes interface definition files associated with source files for
353-the work, and the source code for shared libraries and dynamically
354-linked subprograms that the work is specifically designed to require,
355-such as by intimate data communication or control flow between those
356-subprograms and other parts of the work.
357-
358- The Corresponding Source need not include anything that users
359-can regenerate automatically from other parts of the Corresponding
360-Source.
361-
362- The Corresponding Source for a work in source code form is that
363-same work.
364-
365- 2. Basic Permissions.
366-
367- All rights granted under this License are granted for the term of
368-copyright on the Program, and are irrevocable provided the stated
369-conditions are met. This License explicitly affirms your unlimited
370-permission to run the unmodified Program. The output from running a
371-covered work is covered by this License only if the output, given its
372-content, constitutes a covered work. This License acknowledges your
373-rights of fair use or other equivalent, as provided by copyright law.
374-
375- You may make, run and propagate covered works that you do not
376-convey, without conditions so long as your license otherwise remains
377-in force. You may convey covered works to others for the sole purpose
378-of having them make modifications exclusively for you, or provide you
379-with facilities for running those works, provided that you comply with
380-the terms of this License in conveying all material for which you do
381-not control copyright. Those thus making or running the covered works
382-for you must do so exclusively on your behalf, under your direction
383-and control, on terms that prohibit them from making any copies of
384-your copyrighted material outside their relationship with you.
385-
386- Conveying under any other circumstances is permitted solely under
387-the conditions stated below. Sublicensing is not allowed; section 10
388-makes it unnecessary.
389-
390- 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
391-
392- No covered work shall be deemed part of an effective technological
393-measure under any applicable law fulfilling obligations under article
394-11 of the WIPO copyright treaty adopted on 20 December 1996, or
395-similar laws prohibiting or restricting circumvention of such
396-measures.
397-
398- When you convey a covered work, you waive any legal power to forbid
399-circumvention of technological measures to the extent such circumvention
400-is effected by exercising rights under this License with respect to
401-the covered work, and you disclaim any intention to limit operation or
402-modification of the work as a means of enforcing, against the work's
403-users, your or third parties' legal rights to forbid circumvention of
404-technological measures.
405-
406- 4. Conveying Verbatim Copies.
407-
408- You may convey verbatim copies of the Program's source code as you
409-receive it, in any medium, provided that you conspicuously and
410-appropriately publish on each copy an appropriate copyright notice;
411-keep intact all notices stating that this License and any
412-non-permissive terms added in accord with section 7 apply to the code;
413-keep intact all notices of the absence of any warranty; and give all
414-recipients a copy of this License along with the Program.
415-
416- You may charge any price or no price for each copy that you convey,
417-and you may offer support or warranty protection for a fee.
418-
419- 5. Conveying Modified Source Versions.
420-
421- You may convey a work based on the Program, or the modifications to
422-produce it from the Program, in the form of source code under the
423-terms of section 4, provided that you also meet all of these conditions:
424-
425- a) The work must carry prominent notices stating that you modified
426- it, and giving a relevant date.
427-
428- b) The work must carry prominent notices stating that it is
429- released under this License and any conditions added under section
430- 7. This requirement modifies the requirement in section 4 to
431- "keep intact all notices".
432-
433- c) You must license the entire work, as a whole, under this
434- License to anyone who comes into possession of a copy. This
435- License will therefore apply, along with any applicable section 7
436- additional terms, to the whole of the work, and all its parts,
437- regardless of how they are packaged. This License gives no
438- permission to license the work in any other way, but it does not
439- invalidate such permission if you have separately received it.
440-
441- d) If the work has interactive user interfaces, each must display
442- Appropriate Legal Notices; however, if the Program has interactive
443- interfaces that do not display Appropriate Legal Notices, your
444- work need not make them do so.
445-
446- A compilation of a covered work with other separate and independent
447-works, which are not by their nature extensions of the covered work,
448-and which are not combined with it such as to form a larger program,
449-in or on a volume of a storage or distribution medium, is called an
450-"aggregate" if the compilation and its resulting copyright are not
451-used to limit the access or legal rights of the compilation's users
452-beyond what the individual works permit. Inclusion of a covered work
453-in an aggregate does not cause this License to apply to the other
454-parts of the aggregate.
455-
456- 6. Conveying Non-Source Forms.
457-
458- You may convey a covered work in object code form under the terms
459-of sections 4 and 5, provided that you also convey the
460-machine-readable Corresponding Source under the terms of this License,
461-in one of these ways:
462-
463- a) Convey the object code in, or embodied in, a physical product
464- (including a physical distribution medium), accompanied by the
465- Corresponding Source fixed on a durable physical medium
466- customarily used for software interchange.
467-
468- b) Convey the object code in, or embodied in, a physical product
469- (including a physical distribution medium), accompanied by a
470- written offer, valid for at least three years and valid for as
471- long as you offer spare parts or customer support for that product
472- model, to give anyone who possesses the object code either (1) a
473- copy of the Corresponding Source for all the software in the
474- product that is covered by this License, on a durable physical
475- medium customarily used for software interchange, for a price no
476- more than your reasonable cost of physically performing this
477- conveying of source, or (2) access to copy the
478- Corresponding Source from a network server at no charge.
479-
480- c) Convey individual copies of the object code with a copy of the
481- written offer to provide the Corresponding Source. This
482- alternative is allowed only occasionally and noncommercially, and
483- only if you received the object code with such an offer, in accord
484- with subsection 6b.
485-
486- d) Convey the object code by offering access from a designated
487- place (gratis or for a charge), and offer equivalent access to the
488- Corresponding Source in the same way through the same place at no
489- further charge. You need not require recipients to copy the
490- Corresponding Source along with the object code. If the place to
491- copy the object code is a network server, the Corresponding Source
492- may be on a different server (operated by you or a third party)
493- that supports equivalent copying facilities, provided you maintain
494- clear directions next to the object code saying where to find the
495- Corresponding Source. Regardless of what server hosts the
496- Corresponding Source, you remain obligated to ensure that it is
497- available for as long as needed to satisfy these requirements.
498-
499- e) Convey the object code using peer-to-peer transmission, provided
500- you inform other peers where the object code and Corresponding
501- Source of the work are being offered to the general public at no
502- charge under subsection 6d.
503-
504- A separable portion of the object code, whose source code is excluded
505-from the Corresponding Source as a System Library, need not be
506-included in conveying the object code work.
507-
508- A "User Product" is either (1) a "consumer product", which means any
509-tangible personal property which is normally used for personal, family,
510-or household purposes, or (2) anything designed or sold for incorporation
511-into a dwelling. In determining whether a product is a consumer product,
512-doubtful cases shall be resolved in favor of coverage. For a particular
513-product received by a particular user, "normally used" refers to a
514-typical or common use of that class of product, regardless of the status
515-of the particular user or of the way in which the particular user
516-actually uses, or expects or is expected to use, the product. A product
517-is a consumer product regardless of whether the product has substantial
518-commercial, industrial or non-consumer uses, unless such uses represent
519-the only significant mode of use of the product.
520-
521- "Installation Information" for a User Product means any methods,
522-procedures, authorization keys, or other information required to install
523-and execute modified versions of a covered work in that User Product from
524-a modified version of its Corresponding Source. The information must
525-suffice to ensure that the continued functioning of the modified object
526-code is in no case prevented or interfered with solely because
527-modification has been made.
528-
529- If you convey an object code work under this section in, or with, or
530-specifically for use in, a User Product, and the conveying occurs as
531-part of a transaction in which the right of possession and use of the
532-User Product is transferred to the recipient in perpetuity or for a
533-fixed term (regardless of how the transaction is characterized), the
534-Corresponding Source conveyed under this section must be accompanied
535-by the Installation Information. But this requirement does not apply
536-if neither you nor any third party retains the ability to install
537-modified object code on the User Product (for example, the work has
538-been installed in ROM).
539-
540- The requirement to provide Installation Information does not include a
541-requirement to continue to provide support service, warranty, or updates
542-for a work that has been modified or installed by the recipient, or for
543-the User Product in which it has been modified or installed. Access to a
544-network may be denied when the modification itself materially and
545-adversely affects the operation of the network or violates the rules and
546-protocols for communication across the network.
547-
548- Corresponding Source conveyed, and Installation Information provided,
549-in accord with this section must be in a format that is publicly
550-documented (and with an implementation available to the public in
551-source code form), and must require no special password or key for
552-unpacking, reading or copying.
553-
554- 7. Additional Terms.
555-
556- "Additional permissions" are terms that supplement the terms of this
557-License by making exceptions from one or more of its conditions.
558-Additional permissions that are applicable to the entire Program shall
559-be treated as though they were included in this License, to the extent
560-that they are valid under applicable law. If additional permissions
561-apply only to part of the Program, that part may be used separately
562-under those permissions, but the entire Program remains governed by
563-this License without regard to the additional permissions.
564-
565- When you convey a copy of a covered work, you may at your option
566-remove any additional permissions from that copy, or from any part of
567-it. (Additional permissions may be written to require their own
568-removal in certain cases when you modify the work.) You may place
569-additional permissions on material, added by you to a covered work,
570-for which you have or can give appropriate copyright permission.
571-
572- Notwithstanding any other provision of this License, for material you
573-add to a covered work, you may (if authorized by the copyright holders of
574-that material) supplement the terms of this License with terms:
575-
576- a) Disclaiming warranty or limiting liability differently from the
577- terms of sections 15 and 16 of this License; or
578-
579- b) Requiring preservation of specified reasonable legal notices or
580- author attributions in that material or in the Appropriate Legal
581- Notices displayed by works containing it; or
582-
583- c) Prohibiting misrepresentation of the origin of that material, or
584- requiring that modified versions of such material be marked in
585- reasonable ways as different from the original version; or
586-
587- d) Limiting the use for publicity purposes of names of licensors or
588- authors of the material; or
589-
590- e) Declining to grant rights under trademark law for use of some
591- trade names, trademarks, or service marks; or
592-
593- f) Requiring indemnification of licensors and authors of that
594- material by anyone who conveys the material (or modified versions of
595- it) with contractual assumptions of liability to the recipient, for
596- any liability that these contractual assumptions directly impose on
597- those licensors and authors.
598-
599- All other non-permissive additional terms are considered "further
600-restrictions" within the meaning of section 10. If the Program as you
601-received it, or any part of it, contains a notice stating that it is
602-governed by this License along with a term that is a further
603-restriction, you may remove that term. If a license document contains
604-a further restriction but permits relicensing or conveying under this
605-License, you may add to a covered work material governed by the terms
606-of that license document, provided that the further restriction does
607-not survive such relicensing or conveying.
608-
609- If you add terms to a covered work in accord with this section, you
610-must place, in the relevant source files, a statement of the
611-additional terms that apply to those files, or a notice indicating
612-where to find the applicable terms.
613-
614- Additional terms, permissive or non-permissive, may be stated in the
615-form of a separately written license, or stated as exceptions;
616-the above requirements apply either way.
617-
618- 8. Termination.
619-
620- You may not propagate or modify a covered work except as expressly
621-provided under this License. Any attempt otherwise to propagate or
622-modify it is void, and will automatically terminate your rights under
623-this License (including any patent licenses granted under the third
624-paragraph of section 11).
625-
626- However, if you cease all violation of this License, then your
627-license from a particular copyright holder is reinstated (a)
628-provisionally, unless and until the copyright holder explicitly and
629-finally terminates your license, and (b) permanently, if the copyright
630-holder fails to notify you of the violation by some reasonable means
631-prior to 60 days after the cessation.
632-
633- Moreover, your license from a particular copyright holder is
634-reinstated permanently if the copyright holder notifies you of the
635-violation by some reasonable means, this is the first time you have
636-received notice of violation of this License (for any work) from that
637-copyright holder, and you cure the violation prior to 30 days after
638-your receipt of the notice.
639-
640- Termination of your rights under this section does not terminate the
641-licenses of parties who have received copies or rights from you under
642-this License. If your rights have been terminated and not permanently
643-reinstated, you do not qualify to receive new licenses for the same
644-material under section 10.
645-
646- 9. Acceptance Not Required for Having Copies.
647-
648- You are not required to accept this License in order to receive or
649-run a copy of the Program. Ancillary propagation of a covered work
650-occurring solely as a consequence of using peer-to-peer transmission
651-to receive a copy likewise does not require acceptance. However,
652-nothing other than this License grants you permission to propagate or
653-modify any covered work. These actions infringe copyright if you do
654-not accept this License. Therefore, by modifying or propagating a
655-covered work, you indicate your acceptance of this License to do so.
656-
657- 10. Automatic Licensing of Downstream Recipients.
658-
659- Each time you convey a covered work, the recipient automatically
660-receives a license from the original licensors, to run, modify and
661-propagate that work, subject to this License. You are not responsible
662-for enforcing compliance by third parties with this License.
663-
664- An "entity transaction" is a transaction transferring control of an
665-organization, or substantially all assets of one, or subdividing an
666-organization, or merging organizations. If propagation of a covered
667-work results from an entity transaction, each party to that
668-transaction who receives a copy of the work also receives whatever
669-licenses to the work the party's predecessor in interest had or could
670-give under the previous paragraph, plus a right to possession of the
671-Corresponding Source of the work from the predecessor in interest, if
672-the predecessor has it or can get it with reasonable efforts.
673-
674- You may not impose any further restrictions on the exercise of the
675-rights granted or affirmed under this License. For example, you may
676-not impose a license fee, royalty, or other charge for exercise of
677-rights granted under this License, and you may not initiate litigation
678-(including a cross-claim or counterclaim in a lawsuit) alleging that
679-any patent claim is infringed by making, using, selling, offering for
680-sale, or importing the Program or any portion of it.
681-
682- 11. Patents.
683-
684- A "contributor" is a copyright holder who authorizes use under this
685-License of the Program or a work on which the Program is based. The
686-work thus licensed is called the contributor's "contributor version".
687-
688- A contributor's "essential patent claims" are all patent claims
689-owned or controlled by the contributor, whether already acquired or
690-hereafter acquired, that would be infringed by some manner, permitted
691-by this License, of making, using, or selling its contributor version,
692-but do not include claims that would be infringed only as a
693-consequence of further modification of the contributor version. For
694-purposes of this definition, "control" includes the right to grant
695-patent sublicenses in a manner consistent with the requirements of
696-this License.
697-
698- Each contributor grants you a non-exclusive, worldwide, royalty-free
699-patent license under the contributor's essential patent claims, to
700-make, use, sell, offer for sale, import and otherwise run, modify and
701-propagate the contents of its contributor version.
702-
703- In the following three paragraphs, a "patent license" is any express
704-agreement or commitment, however denominated, not to enforce a patent
705-(such as an express permission to practice a patent or covenant not to
706-sue for patent infringement). To "grant" such a patent license to a
707-party means to make such an agreement or commitment not to enforce a
708-patent against the party.
709-
710- If you convey a covered work, knowingly relying on a patent license,
711-and the Corresponding Source of the work is not available for anyone
712-to copy, free of charge and under the terms of this License, through a
713-publicly available network server or other readily accessible means,
714-then you must either (1) cause the Corresponding Source to be so
715-available, or (2) arrange to deprive yourself of the benefit of the
716-patent license for this particular work, or (3) arrange, in a manner
717-consistent with the requirements of this License, to extend the patent
718-license to downstream recipients. "Knowingly relying" means you have
719-actual knowledge that, but for the patent license, your conveying the
720-covered work in a country, or your recipient's use of the covered work
721-in a country, would infringe one or more identifiable patents in that
722-country that you have reason to believe are valid.
723-
724- If, pursuant to or in connection with a single transaction or
725-arrangement, you convey, or propagate by procuring conveyance of, a
726-covered work, and grant a patent license to some of the parties
727-receiving the covered work authorizing them to use, propagate, modify
728-or convey a specific copy of the covered work, then the patent license
729-you grant is automatically extended to all recipients of the covered
730-work and works based on it.
731-
732- A patent license is "discriminatory" if it does not include within
733-the scope of its coverage, prohibits the exercise of, or is
734-conditioned on the non-exercise of one or more of the rights that are
735-specifically granted under this License. You may not convey a covered
736-work if you are a party to an arrangement with a third party that is
737-in the business of distributing software, under which you make payment
738-to the third party based on the extent of your activity of conveying
739-the work, and under which the third party grants, to any of the
740-parties who would receive the covered work from you, a discriminatory
741-patent license (a) in connection with copies of the covered work
742-conveyed by you (or copies made from those copies), or (b) primarily
743-for and in connection with specific products or compilations that
744-contain the covered work, unless you entered into that arrangement,
745-or that patent license was granted, prior to 28 March 2007.
746-
747- Nothing in this License shall be construed as excluding or limiting
748-any implied license or other defenses to infringement that may
749-otherwise be available to you under applicable patent law.
750-
751- 12. No Surrender of Others' Freedom.
752-
753- If conditions are imposed on you (whether by court order, agreement or
754-otherwise) that contradict the conditions of this License, they do not
755-excuse you from the conditions of this License. If you cannot convey a
756-covered work so as to satisfy simultaneously your obligations under this
757-License and any other pertinent obligations, then as a consequence you may
758-not convey it at all. For example, if you agree to terms that obligate you
759-to collect a royalty for further conveying from those to whom you convey
760-the Program, the only way you could satisfy both those terms and this
761-License would be to refrain entirely from conveying the Program.
762-
763- 13. Use with the GNU Affero General Public License.
764-
765- Notwithstanding any other provision of this License, you have
766-permission to link or combine any covered work with a work licensed
767-under version 3 of the GNU Affero General Public License into a single
768-combined work, and to convey the resulting work. The terms of this
769-License will continue to apply to the part which is the covered work,
770-but the special requirements of the GNU Affero General Public License,
771-section 13, concerning interaction through a network will apply to the
772-combination as such.
773-
774- 14. Revised Versions of this License.
775-
776- The Free Software Foundation may publish revised and/or new versions of
777-the GNU General Public License from time to time. Such new versions will
778-be similar in spirit to the present version, but may differ in detail to
779-address new problems or concerns.
780-
781- Each version is given a distinguishing version number. If the
782-Program specifies that a certain numbered version of the GNU General
783-Public License "or any later version" applies to it, you have the
784-option of following the terms and conditions either of that numbered
785-version or of any later version published by the Free Software
786-Foundation. If the Program does not specify a version number of the
787-GNU General Public License, you may choose any version ever published
788-by the Free Software Foundation.
789-
790- If the Program specifies that a proxy can decide which future
791-versions of the GNU General Public License can be used, that proxy's
792-public statement of acceptance of a version permanently authorizes you
793-to choose that version for the Program.
794-
795- Later license versions may give you additional or different
796-permissions. However, no additional obligations are imposed on any
797-author or copyright holder as a result of your choosing to follow a
798-later version.
799-
800- 15. Disclaimer of Warranty.
801-
802- THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
803-APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
804-HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
805-OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
806-THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
807-PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
808-IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
809-ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
810-
811- 16. Limitation of Liability.
812-
813- IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
814-WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
815-THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
816-GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
817-USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
818-DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
819-PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
820-EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
821-SUCH DAMAGES.
822-
823- 17. Interpretation of Sections 15 and 16.
824-
825- If the disclaimer of warranty and limitation of liability provided
826-above cannot be given local legal effect according to their terms,
827-reviewing courts shall apply local law that most closely approximates
828-an absolute waiver of all civil liability in connection with the
829-Program, unless a warranty or assumption of liability accompanies a
830-copy of the Program in return for a fee.
831-
832- END OF TERMS AND CONDITIONS
833-
834- How to Apply These Terms to Your New Programs
835-
836- If you develop a new program, and you want it to be of the greatest
837-possible use to the public, the best way to achieve this is to make it
838-free software which everyone can redistribute and change under these terms.
839-
840- To do so, attach the following notices to the program. It is safest
841-to attach them to the start of each source file to most effectively
842-state the exclusion of warranty; and each file should have at least
843-the "copyright" line and a pointer to where the full notice is found.
844-
845- <one line to give the program's name and a brief idea of what it does.>
846- Copyright (C) <year> <name of author>
847-
848- This program is free software: you can redistribute it and/or modify
849- it under the terms of the GNU General Public License as published by
850- the Free Software Foundation, either version 3 of the License, or
851- (at your option) any later version.
852-
853- This program is distributed in the hope that it will be useful,
854- but WITHOUT ANY WARRANTY; without even the implied warranty of
855- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
856- GNU General Public License for more details.
857-
858- You should have received a copy of the GNU General Public License
859- along with this program. If not, see <http://www.gnu.org/licenses/>.
860-
861-Also add information on how to contact you by electronic and paper mail.
862-
863- If the program does terminal interaction, make it output a short
864-notice like this when it starts in an interactive mode:
865-
866- <program> Copyright (C) <year> <name of author>
867- This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
868- This is free software, and you are welcome to redistribute it
869- under certain conditions; type `show c' for details.
870-
871-The hypothetical commands `show w' and `show c' should show the appropriate
872-parts of the General Public License. Of course, your program's commands
873-might be different; for a GUI interface, you would use an "about box".
874-
875- You should also get your employer (if you work as a programmer) or school,
876-if any, to sign a "copyright disclaimer" for the program, if necessary.
877-For more information on this, and how to apply and follow the GNU GPL, see
878-<http://www.gnu.org/licenses/>.
879-
880- The GNU General Public License does not permit incorporating your program
881-into proprietary programs. If your program is a subroutine library, you
882-may consider it more useful to permit linking proprietary applications with
883-the library. If this is what you want to do, use the GNU Lesser General
884-Public License instead of this License. But first, please read
885-<http://www.gnu.org/philosophy/why-not-lgpl.html>.
886-
887
888=== removed file 'LICENSE.LESSER'
889--- LICENSE.LESSER 2015-01-02 13:00:04 +0000
890+++ LICENSE.LESSER 1970-01-01 00:00:00 +0000
891@@ -1,166 +0,0 @@
892- GNU LESSER GENERAL PUBLIC LICENSE
893- Version 3, 29 June 2007
894-
895- Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
896- Everyone is permitted to copy and distribute verbatim copies
897- of this license document, but changing it is not allowed.
898-
899-
900- This version of the GNU Lesser General Public License incorporates
901-the terms and conditions of version 3 of the GNU General Public
902-License, supplemented by the additional permissions listed below.
903-
904- 0. Additional Definitions.
905-
906- As used herein, "this License" refers to version 3 of the GNU Lesser
907-General Public License, and the "GNU GPL" refers to version 3 of the GNU
908-General Public License.
909-
910- "The Library" refers to a covered work governed by this License,
911-other than an Application or a Combined Work as defined below.
912-
913- An "Application" is any work that makes use of an interface provided
914-by the Library, but which is not otherwise based on the Library.
915-Defining a subclass of a class defined by the Library is deemed a mode
916-of using an interface provided by the Library.
917-
918- A "Combined Work" is a work produced by combining or linking an
919-Application with the Library. The particular version of the Library
920-with which the Combined Work was made is also called the "Linked
921-Version".
922-
923- The "Minimal Corresponding Source" for a Combined Work means the
924-Corresponding Source for the Combined Work, excluding any source code
925-for portions of the Combined Work that, considered in isolation, are
926-based on the Application, and not on the Linked Version.
927-
928- The "Corresponding Application Code" for a Combined Work means the
929-object code and/or source code for the Application, including any data
930-and utility programs needed for reproducing the Combined Work from the
931-Application, but excluding the System Libraries of the Combined Work.
932-
933- 1. Exception to Section 3 of the GNU GPL.
934-
935- You may convey a covered work under sections 3 and 4 of this License
936-without being bound by section 3 of the GNU GPL.
937-
938- 2. Conveying Modified Versions.
939-
940- If you modify a copy of the Library, and, in your modifications, a
941-facility refers to a function or data to be supplied by an Application
942-that uses the facility (other than as an argument passed when the
943-facility is invoked), then you may convey a copy of the modified
944-version:
945-
946- a) under this License, provided that you make a good faith effort to
947- ensure that, in the event an Application does not supply the
948- function or data, the facility still operates, and performs
949- whatever part of its purpose remains meaningful, or
950-
951- b) under the GNU GPL, with none of the additional permissions of
952- this License applicable to that copy.
953-
954- 3. Object Code Incorporating Material from Library Header Files.
955-
956- The object code form of an Application may incorporate material from
957-a header file that is part of the Library. You may convey such object
958-code under terms of your choice, provided that, if the incorporated
959-material is not limited to numerical parameters, data structure
960-layouts and accessors, or small macros, inline functions and templates
961-(ten or fewer lines in length), you do both of the following:
962-
963- a) Give prominent notice with each copy of the object code that the
964- Library is used in it and that the Library and its use are
965- covered by this License.
966-
967- b) Accompany the object code with a copy of the GNU GPL and this license
968- document.
969-
970- 4. Combined Works.
971-
972- You may convey a Combined Work under terms of your choice that,
973-taken together, effectively do not restrict modification of the
974-portions of the Library contained in the Combined Work and reverse
975-engineering for debugging such modifications, if you also do each of
976-the following:
977-
978- a) Give prominent notice with each copy of the Combined Work that
979- the Library is used in it and that the Library and its use are
980- covered by this License.
981-
982- b) Accompany the Combined Work with a copy of the GNU GPL and this license
983- document.
984-
985- c) For a Combined Work that displays copyright notices during
986- execution, include the copyright notice for the Library among
987- these notices, as well as a reference directing the user to the
988- copies of the GNU GPL and this license document.
989-
990- d) Do one of the following:
991-
992- 0) Convey the Minimal Corresponding Source under the terms of this
993- License, and the Corresponding Application Code in a form
994- suitable for, and under terms that permit, the user to
995- recombine or relink the Application with a modified version of
996- the Linked Version to produce a modified Combined Work, in the
997- manner specified by section 6 of the GNU GPL for conveying
998- Corresponding Source.
999-
1000- 1) Use a suitable shared library mechanism for linking with the
1001- Library. A suitable mechanism is one that (a) uses at run time
1002- a copy of the Library already present on the user's computer
1003- system, and (b) will operate properly with a modified version
1004- of the Library that is interface-compatible with the Linked
1005- Version.
1006-
1007- e) Provide Installation Information, but only if you would otherwise
1008- be required to provide such information under section 6 of the
1009- GNU GPL, and only to the extent that such information is
1010- necessary to install and execute a modified version of the
1011- Combined Work produced by recombining or relinking the
1012- Application with a modified version of the Linked Version. (If
1013- you use option 4d0, the Installation Information must accompany
1014- the Minimal Corresponding Source and Corresponding Application
1015- Code. If you use option 4d1, you must provide the Installation
1016- Information in the manner specified by section 6 of the GNU GPL
1017- for conveying Corresponding Source.)
1018-
1019- 5. Combined Libraries.
1020-
1021- You may place library facilities that are a work based on the
1022-Library side by side in a single library together with other library
1023-facilities that are not Applications and are not covered by this
1024-License, and convey such a combined library under terms of your
1025-choice, if you do both of the following:
1026-
1027- a) Accompany the combined library with a copy of the same work based
1028- on the Library, uncombined with any other library facilities,
1029- conveyed under the terms of this License.
1030-
1031- b) Give prominent notice with the combined library that part of it
1032- is a work based on the Library, and explaining where to find the
1033- accompanying uncombined form of the same work.
1034-
1035- 6. Revised Versions of the GNU Lesser General Public License.
1036-
1037- The Free Software Foundation may publish revised and/or new versions
1038-of the GNU Lesser General Public License from time to time. Such new
1039-versions will be similar in spirit to the present version, but may
1040-differ in detail to address new problems or concerns.
1041-
1042- Each version is given a distinguishing version number. If the
1043-Library as you received it specifies that a certain numbered version
1044-of the GNU Lesser General Public License "or any later version"
1045-applies to it, you have the option of following the terms and
1046-conditions either of that published version or of any later version
1047-published by the Free Software Foundation. If the Library as you
1048-received it does not specify a version number of the GNU Lesser
1049-General Public License, you may choose any version of the GNU Lesser
1050-General Public License ever published by the Free Software Foundation.
1051-
1052- If the Library as you received it specifies that a proxy can decide
1053-whether future versions of the GNU Lesser General Public License shall
1054-apply, that proxy's public statement of acceptance of any version is
1055-permanent authorization for you to choose that version for the
1056-Library.
1057-
1058
1059=== modified file 'README.txt'
1060--- README.txt 2015-01-02 13:00:04 +0000
1061+++ README.txt 2016-07-06 14:41:57 +0000
1062@@ -10,15 +10,14 @@
1063 License
1064 ========
1065
1066-This program is free software: you can redistribute it and/or modify
1067-it under the terms of the GNU Lesser General Public License version 3 as
1068-published by the Free Software Foundation.
1069-
1070-This program is distributed in the hope that it will be useful,
1071-but WITHOUT ANY WARRANTY; without even the implied warranty of
1072-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1073-GNU Lesser General Public License for more details.
1074-
1075-You should have received a copy of the GNU General Public License
1076-and GNU Lesser General Public License
1077-along with this program. If not, see <http://www.gnu.org/licenses/>.
1078+Licensed under the Apache License, Version 2.0 (the "License");
1079+you may not use this file except in compliance with the License.
1080+You may obtain a copy of the License at
1081+
1082+ http://www.apache.org/licenses/LICENSE-2.0
1083+
1084+Unless required by applicable law or agreed to in writing, software
1085+distributed under the License is distributed on an "AS IS" BASIS,
1086+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1087+See the License for the specific language governing permissions and
1088+limitations under the License.
1089
1090=== modified file 'charmhelpers/__init__.py'
1091--- charmhelpers/__init__.py 2015-01-22 06:06:03 +0000
1092+++ charmhelpers/__init__.py 2016-07-06 14:41:57 +0000
1093@@ -1,18 +1,16 @@
1094 # Copyright 2014-2015 Canonical Limited.
1095 #
1096-# This file is part of charm-helpers.
1097-#
1098-# charm-helpers is free software: you can redistribute it and/or modify
1099-# it under the terms of the GNU Lesser General Public License version 3 as
1100-# published by the Free Software Foundation.
1101-#
1102-# charm-helpers is distributed in the hope that it will be useful,
1103-# but WITHOUT ANY WARRANTY; without even the implied warranty of
1104-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1105-# GNU Lesser General Public License for more details.
1106-#
1107-# You should have received a copy of the GNU Lesser General Public License
1108-# along with charm-helpers. If not, see <http://www.gnu.org/licenses/>.
1109+# Licensed under the Apache License, Version 2.0 (the "License");
1110+# you may not use this file except in compliance with the License.
1111+# You may obtain a copy of the License at
1112+#
1113+# http://www.apache.org/licenses/LICENSE-2.0
1114+#
1115+# Unless required by applicable law or agreed to in writing, software
1116+# distributed under the License is distributed on an "AS IS" BASIS,
1117+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1118+# See the License for the specific language governing permissions and
1119+# limitations under the License.
1120
1121 # Bootstrap charm-helpers, installing its dependencies if necessary using
1122 # only standard libraries.
1123
1124=== modified file 'charmhelpers/cli/__init__.py'
1125--- charmhelpers/cli/__init__.py 2015-11-09 16:52:04 +0000
1126+++ charmhelpers/cli/__init__.py 2016-07-06 14:41:57 +0000
1127@@ -1,18 +1,16 @@
1128 # Copyright 2014-2015 Canonical Limited.
1129 #
1130-# This file is part of charm-helpers.
1131-#
1132-# charm-helpers is free software: you can redistribute it and/or modify
1133-# it under the terms of the GNU Lesser General Public License version 3 as
1134-# published by the Free Software Foundation.
1135-#
1136-# charm-helpers is distributed in the hope that it will be useful,
1137-# but WITHOUT ANY WARRANTY; without even the implied warranty of
1138-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1139-# GNU Lesser General Public License for more details.
1140-#
1141-# You should have received a copy of the GNU Lesser General Public License
1142-# along with charm-helpers. If not, see <http://www.gnu.org/licenses/>.
1143+# Licensed under the Apache License, Version 2.0 (the "License");
1144+# you may not use this file except in compliance with the License.
1145+# You may obtain a copy of the License at
1146+#
1147+# http://www.apache.org/licenses/LICENSE-2.0
1148+#
1149+# Unless required by applicable law or agreed to in writing, software
1150+# distributed under the License is distributed on an "AS IS" BASIS,
1151+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1152+# See the License for the specific language governing permissions and
1153+# limitations under the License.
1154
1155 import inspect
1156 import argparse
1157
1158=== modified file 'charmhelpers/cli/benchmark.py'
1159--- charmhelpers/cli/benchmark.py 2015-04-24 16:07:29 +0000
1160+++ charmhelpers/cli/benchmark.py 2016-07-06 14:41:57 +0000
1161@@ -1,18 +1,16 @@
1162 # Copyright 2014-2015 Canonical Limited.
1163 #
1164-# This file is part of charm-helpers.
1165-#
1166-# charm-helpers is free software: you can redistribute it and/or modify
1167-# it under the terms of the GNU Lesser General Public License version 3 as
1168-# published by the Free Software Foundation.
1169-#
1170-# charm-helpers is distributed in the hope that it will be useful,
1171-# but WITHOUT ANY WARRANTY; without even the implied warranty of
1172-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1173-# GNU Lesser General Public License for more details.
1174-#
1175-# You should have received a copy of the GNU Lesser General Public License
1176-# along with charm-helpers. If not, see <http://www.gnu.org/licenses/>.
1177+# Licensed under the Apache License, Version 2.0 (the "License");
1178+# you may not use this file except in compliance with the License.
1179+# You may obtain a copy of the License at
1180+#
1181+# http://www.apache.org/licenses/LICENSE-2.0
1182+#
1183+# Unless required by applicable law or agreed to in writing, software
1184+# distributed under the License is distributed on an "AS IS" BASIS,
1185+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1186+# See the License for the specific language governing permissions and
1187+# limitations under the License.
1188
1189 from . import cmdline
1190 from charmhelpers.contrib.benchmark import Benchmark
1191
1192=== modified file 'charmhelpers/cli/commands.py'
1193--- charmhelpers/cli/commands.py 2015-08-04 20:02:59 +0000
1194+++ charmhelpers/cli/commands.py 2016-07-06 14:41:57 +0000
1195@@ -1,18 +1,16 @@
1196 # Copyright 2014-2015 Canonical Limited.
1197 #
1198-# This file is part of charm-helpers.
1199-#
1200-# charm-helpers is free software: you can redistribute it and/or modify
1201-# it under the terms of the GNU Lesser General Public License version 3 as
1202-# published by the Free Software Foundation.
1203-#
1204-# charm-helpers is distributed in the hope that it will be useful,
1205-# but WITHOUT ANY WARRANTY; without even the implied warranty of
1206-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1207-# GNU Lesser General Public License for more details.
1208-#
1209-# You should have received a copy of the GNU Lesser General Public License
1210-# along with charm-helpers. If not, see <http://www.gnu.org/licenses/>.
1211+# Licensed under the Apache License, Version 2.0 (the "License");
1212+# you may not use this file except in compliance with the License.
1213+# You may obtain a copy of the License at
1214+#
1215+# http://www.apache.org/licenses/LICENSE-2.0
1216+#
1217+# Unless required by applicable law or agreed to in writing, software
1218+# distributed under the License is distributed on an "AS IS" BASIS,
1219+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1220+# See the License for the specific language governing permissions and
1221+# limitations under the License.
1222
1223 """
1224 This module loads sub-modules into the python runtime so they can be
1225
1226=== modified file 'charmhelpers/cli/hookenv.py'
1227--- charmhelpers/cli/hookenv.py 2015-08-04 20:02:59 +0000
1228+++ charmhelpers/cli/hookenv.py 2016-07-06 14:41:57 +0000
1229@@ -1,18 +1,16 @@
1230 # Copyright 2014-2015 Canonical Limited.
1231 #
1232-# This file is part of charm-helpers.
1233-#
1234-# charm-helpers is free software: you can redistribute it and/or modify
1235-# it under the terms of the GNU Lesser General Public License version 3 as
1236-# published by the Free Software Foundation.
1237-#
1238-# charm-helpers is distributed in the hope that it will be useful,
1239-# but WITHOUT ANY WARRANTY; without even the implied warranty of
1240-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1241-# GNU Lesser General Public License for more details.
1242-#
1243-# You should have received a copy of the GNU Lesser General Public License
1244-# along with charm-helpers. If not, see <http://www.gnu.org/licenses/>.
1245+# Licensed under the Apache License, Version 2.0 (the "License");
1246+# you may not use this file except in compliance with the License.
1247+# You may obtain a copy of the License at
1248+#
1249+# http://www.apache.org/licenses/LICENSE-2.0
1250+#
1251+# Unless required by applicable law or agreed to in writing, software
1252+# distributed under the License is distributed on an "AS IS" BASIS,
1253+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1254+# See the License for the specific language governing permissions and
1255+# limitations under the License.
1256
1257 from . import cmdline
1258 from charmhelpers.core import hookenv
1259
1260=== modified file 'charmhelpers/cli/host.py'
1261--- charmhelpers/cli/host.py 2015-01-22 06:06:03 +0000
1262+++ charmhelpers/cli/host.py 2016-07-06 14:41:57 +0000
1263@@ -1,18 +1,16 @@
1264 # Copyright 2014-2015 Canonical Limited.
1265 #
1266-# This file is part of charm-helpers.
1267-#
1268-# charm-helpers is free software: you can redistribute it and/or modify
1269-# it under the terms of the GNU Lesser General Public License version 3 as
1270-# published by the Free Software Foundation.
1271-#
1272-# charm-helpers is distributed in the hope that it will be useful,
1273-# but WITHOUT ANY WARRANTY; without even the implied warranty of
1274-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1275-# GNU Lesser General Public License for more details.
1276-#
1277-# You should have received a copy of the GNU Lesser General Public License
1278-# along with charm-helpers. If not, see <http://www.gnu.org/licenses/>.
1279+# Licensed under the Apache License, Version 2.0 (the "License");
1280+# you may not use this file except in compliance with the License.
1281+# You may obtain a copy of the License at
1282+#
1283+# http://www.apache.org/licenses/LICENSE-2.0
1284+#
1285+# Unless required by applicable law or agreed to in writing, software
1286+# distributed under the License is distributed on an "AS IS" BASIS,
1287+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1288+# See the License for the specific language governing permissions and
1289+# limitations under the License.
1290
1291 from . import cmdline
1292 from charmhelpers.core import host
1293
1294=== modified file 'charmhelpers/cli/unitdata.py'
1295--- charmhelpers/cli/unitdata.py 2015-03-24 02:23:56 +0000
1296+++ charmhelpers/cli/unitdata.py 2016-07-06 14:41:57 +0000
1297@@ -1,18 +1,16 @@
1298 # Copyright 2014-2015 Canonical Limited.
1299 #
1300-# This file is part of charm-helpers.
1301-#
1302-# charm-helpers is free software: you can redistribute it and/or modify
1303-# it under the terms of the GNU Lesser General Public License version 3 as
1304-# published by the Free Software Foundation.
1305-#
1306-# charm-helpers is distributed in the hope that it will be useful,
1307-# but WITHOUT ANY WARRANTY; without even the implied warranty of
1308-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1309-# GNU Lesser General Public License for more details.
1310-#
1311-# You should have received a copy of the GNU Lesser General Public License
1312-# along with charm-helpers. If not, see <http://www.gnu.org/licenses/>.
1313+# Licensed under the Apache License, Version 2.0 (the "License");
1314+# you may not use this file except in compliance with the License.
1315+# You may obtain a copy of the License at
1316+#
1317+# http://www.apache.org/licenses/LICENSE-2.0
1318+#
1319+# Unless required by applicable law or agreed to in writing, software
1320+# distributed under the License is distributed on an "AS IS" BASIS,
1321+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1322+# See the License for the specific language governing permissions and
1323+# limitations under the License.
1324
1325 from . import cmdline
1326 from charmhelpers.core import unitdata
1327
1328=== modified file 'charmhelpers/context.py'
1329--- charmhelpers/context.py 2015-07-27 11:08:45 +0000
1330+++ charmhelpers/context.py 2016-07-06 14:41:57 +0000
1331@@ -1,18 +1,17 @@
1332 # Copyright 2015 Canonical Limited.
1333 #
1334-# This file is part of charm-helpers.
1335-#
1336-# charm-helpers is free software: you can redistribute it and/or modify
1337-# it under the terms of the GNU Lesser General Public License version 3 as
1338-# published by the Free Software Foundation.
1339-#
1340-# charm-helpers is distributed in the hope that it will be useful,
1341-# but WITHOUT ANY WARRANTY; without even the implied warranty of
1342-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1343-# GNU Lesser General Public License for more details.
1344-#
1345-# You should have received a copy of the GNU Lesser General Public License
1346-# along with charm-helpers. If not, see <http://www.gnu.org/licenses/>.
1347+# Licensed under the Apache License, Version 2.0 (the "License");
1348+# you may not use this file except in compliance with the License.
1349+# You may obtain a copy of the License at
1350+#
1351+# http://www.apache.org/licenses/LICENSE-2.0
1352+#
1353+# Unless required by applicable law or agreed to in writing, software
1354+# distributed under the License is distributed on an "AS IS" BASIS,
1355+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1356+# See the License for the specific language governing permissions and
1357+# limitations under the License.
1358+
1359 '''
1360 A Pythonic API to interact with the charm hook environment.
1361
1362
1363=== modified file 'charmhelpers/contrib/__init__.py'
1364--- charmhelpers/contrib/__init__.py 2015-01-22 06:08:24 +0000
1365+++ charmhelpers/contrib/__init__.py 2016-07-06 14:41:57 +0000
1366@@ -1,15 +1,13 @@
1367 # Copyright 2014-2015 Canonical Limited.
1368 #
1369-# This file is part of charm-helpers.
1370-#
1371-# charm-helpers is free software: you can redistribute it and/or modify
1372-# it under the terms of the GNU Lesser General Public License version 3 as
1373-# published by the Free Software Foundation.
1374-#
1375-# charm-helpers is distributed in the hope that it will be useful,
1376-# but WITHOUT ANY WARRANTY; without even the implied warranty of
1377-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1378-# GNU Lesser General Public License for more details.
1379-#
1380-# You should have received a copy of the GNU Lesser General Public License
1381-# along with charm-helpers. If not, see <http://www.gnu.org/licenses/>.
1382+# Licensed under the Apache License, Version 2.0 (the "License");
1383+# you may not use this file except in compliance with the License.
1384+# You may obtain a copy of the License at
1385+#
1386+# http://www.apache.org/licenses/LICENSE-2.0
1387+#
1388+# Unless required by applicable law or agreed to in writing, software
1389+# distributed under the License is distributed on an "AS IS" BASIS,
1390+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1391+# See the License for the specific language governing permissions and
1392+# limitations under the License.
1393
1394=== modified file 'charmhelpers/contrib/amulet/__init__.py'
1395--- charmhelpers/contrib/amulet/__init__.py 2015-01-22 06:08:24 +0000
1396+++ charmhelpers/contrib/amulet/__init__.py 2016-07-06 14:41:57 +0000
1397@@ -1,15 +1,13 @@
1398 # Copyright 2014-2015 Canonical Limited.
1399 #
1400-# This file is part of charm-helpers.
1401-#
1402-# charm-helpers is free software: you can redistribute it and/or modify
1403-# it under the terms of the GNU Lesser General Public License version 3 as
1404-# published by the Free Software Foundation.
1405-#
1406-# charm-helpers is distributed in the hope that it will be useful,
1407-# but WITHOUT ANY WARRANTY; without even the implied warranty of
1408-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1409-# GNU Lesser General Public License for more details.
1410-#
1411-# You should have received a copy of the GNU Lesser General Public License
1412-# along with charm-helpers. If not, see <http://www.gnu.org/licenses/>.
1413+# Licensed under the Apache License, Version 2.0 (the "License");
1414+# you may not use this file except in compliance with the License.
1415+# You may obtain a copy of the License at
1416+#
1417+# http://www.apache.org/licenses/LICENSE-2.0
1418+#
1419+# Unless required by applicable law or agreed to in writing, software
1420+# distributed under the License is distributed on an "AS IS" BASIS,
1421+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1422+# See the License for the specific language governing permissions and
1423+# limitations under the License.
1424
1425=== modified file 'charmhelpers/contrib/amulet/deployment.py'
1426--- charmhelpers/contrib/amulet/deployment.py 2015-09-12 09:46:14 +0000
1427+++ charmhelpers/contrib/amulet/deployment.py 2016-07-06 14:41:57 +0000
1428@@ -1,18 +1,16 @@
1429 # Copyright 2014-2015 Canonical Limited.
1430 #
1431-# This file is part of charm-helpers.
1432-#
1433-# charm-helpers is free software: you can redistribute it and/or modify
1434-# it under the terms of the GNU Lesser General Public License version 3 as
1435-# published by the Free Software Foundation.
1436-#
1437-# charm-helpers is distributed in the hope that it will be useful,
1438-# but WITHOUT ANY WARRANTY; without even the implied warranty of
1439-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1440-# GNU Lesser General Public License for more details.
1441-#
1442-# You should have received a copy of the GNU Lesser General Public License
1443-# along with charm-helpers. If not, see <http://www.gnu.org/licenses/>.
1444+# Licensed under the Apache License, Version 2.0 (the "License");
1445+# you may not use this file except in compliance with the License.
1446+# You may obtain a copy of the License at
1447+#
1448+# http://www.apache.org/licenses/LICENSE-2.0
1449+#
1450+# Unless required by applicable law or agreed to in writing, software
1451+# distributed under the License is distributed on an "AS IS" BASIS,
1452+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1453+# See the License for the specific language governing permissions and
1454+# limitations under the License.
1455
1456 import amulet
1457 import os
1458
1459=== modified file 'charmhelpers/contrib/amulet/utils.py'
1460--- charmhelpers/contrib/amulet/utils.py 2016-04-07 18:15:19 +0000
1461+++ charmhelpers/contrib/amulet/utils.py 2016-07-06 14:41:57 +0000
1462@@ -1,18 +1,16 @@
1463 # Copyright 2014-2015 Canonical Limited.
1464 #
1465-# This file is part of charm-helpers.
1466-#
1467-# charm-helpers is free software: you can redistribute it and/or modify
1468-# it under the terms of the GNU Lesser General Public License version 3 as
1469-# published by the Free Software Foundation.
1470-#
1471-# charm-helpers is distributed in the hope that it will be useful,
1472-# but WITHOUT ANY WARRANTY; without even the implied warranty of
1473-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1474-# GNU Lesser General Public License for more details.
1475-#
1476-# You should have received a copy of the GNU Lesser General Public License
1477-# along with charm-helpers. If not, see <http://www.gnu.org/licenses/>.
1478+# Licensed under the Apache License, Version 2.0 (the "License");
1479+# you may not use this file except in compliance with the License.
1480+# You may obtain a copy of the License at
1481+#
1482+# http://www.apache.org/licenses/LICENSE-2.0
1483+#
1484+# Unless required by applicable law or agreed to in writing, software
1485+# distributed under the License is distributed on an "AS IS" BASIS,
1486+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1487+# See the License for the specific language governing permissions and
1488+# limitations under the License.
1489
1490 import io
1491 import json
1492
1493=== modified file 'charmhelpers/contrib/ansible/__init__.py'
1494--- charmhelpers/contrib/ansible/__init__.py 2015-03-23 03:57:56 +0000
1495+++ charmhelpers/contrib/ansible/__init__.py 2016-07-06 14:41:57 +0000
1496@@ -1,18 +1,16 @@
1497 # Copyright 2014-2015 Canonical Limited.
1498 #
1499-# This file is part of charm-helpers.
1500-#
1501-# charm-helpers is free software: you can redistribute it and/or modify
1502-# it under the terms of the GNU Lesser General Public License version 3 as
1503-# published by the Free Software Foundation.
1504-#
1505-# charm-helpers is distributed in the hope that it will be useful,
1506-# but WITHOUT ANY WARRANTY; without even the implied warranty of
1507-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1508-# GNU Lesser General Public License for more details.
1509-#
1510-# You should have received a copy of the GNU Lesser General Public License
1511-# along with charm-helpers. If not, see <http://www.gnu.org/licenses/>.
1512+# Licensed under the Apache License, Version 2.0 (the "License");
1513+# you may not use this file except in compliance with the License.
1514+# You may obtain a copy of the License at
1515+#
1516+# http://www.apache.org/licenses/LICENSE-2.0
1517+#
1518+# Unless required by applicable law or agreed to in writing, software
1519+# distributed under the License is distributed on an "AS IS" BASIS,
1520+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1521+# See the License for the specific language governing permissions and
1522+# limitations under the License.
1523
1524 # Copyright 2013 Canonical Ltd.
1525 #
1526
1527=== modified file 'charmhelpers/contrib/benchmark/__init__.py'
1528--- charmhelpers/contrib/benchmark/__init__.py 2015-07-14 18:12:04 +0000
1529+++ charmhelpers/contrib/benchmark/__init__.py 2016-07-06 14:41:57 +0000
1530@@ -1,18 +1,16 @@
1531 # Copyright 2014-2015 Canonical Limited.
1532 #
1533-# This file is part of charm-helpers.
1534-#
1535-# charm-helpers is free software: you can redistribute it and/or modify
1536-# it under the terms of the GNU Lesser General Public License version 3 as
1537-# published by the Free Software Foundation.
1538-#
1539-# charm-helpers is distributed in the hope that it will be useful,
1540-# but WITHOUT ANY WARRANTY; without even the implied warranty of
1541-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1542-# GNU Lesser General Public License for more details.
1543-#
1544-# You should have received a copy of the GNU Lesser General Public License
1545-# along with charm-helpers. If not, see <http://www.gnu.org/licenses/>.
1546+# Licensed under the Apache License, Version 2.0 (the "License");
1547+# you may not use this file except in compliance with the License.
1548+# You may obtain a copy of the License at
1549+#
1550+# http://www.apache.org/licenses/LICENSE-2.0
1551+#
1552+# Unless required by applicable law or agreed to in writing, software
1553+# distributed under the License is distributed on an "AS IS" BASIS,
1554+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1555+# See the License for the specific language governing permissions and
1556+# limitations under the License.
1557
1558 import subprocess
1559 import time
1560
1561=== modified file 'charmhelpers/contrib/charmhelpers/__init__.py'
1562--- charmhelpers/contrib/charmhelpers/__init__.py 2015-02-11 21:41:57 +0000
1563+++ charmhelpers/contrib/charmhelpers/__init__.py 2016-07-06 14:41:57 +0000
1564@@ -1,21 +1,16 @@
1565 # Copyright 2014-2015 Canonical Limited.
1566 #
1567-# This file is part of charm-helpers.
1568-#
1569-# charm-helpers is free software: you can redistribute it and/or modify
1570-# it under the terms of the GNU Lesser General Public License version 3 as
1571-# published by the Free Software Foundation.
1572-#
1573-# charm-helpers is distributed in the hope that it will be useful,
1574-# but WITHOUT ANY WARRANTY; without even the implied warranty of
1575-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1576-# GNU Lesser General Public License for more details.
1577-#
1578-# You should have received a copy of the GNU Lesser General Public License
1579-# along with charm-helpers. If not, see <http://www.gnu.org/licenses/>.
1580-
1581-# Copyright 2012 Canonical Ltd. This software is licensed under the
1582-# GNU Affero General Public License version 3 (see the file LICENSE).
1583+# Licensed under the Apache License, Version 2.0 (the "License");
1584+# you may not use this file except in compliance with the License.
1585+# You may obtain a copy of the License at
1586+#
1587+# http://www.apache.org/licenses/LICENSE-2.0
1588+#
1589+# Unless required by applicable law or agreed to in writing, software
1590+# distributed under the License is distributed on an "AS IS" BASIS,
1591+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1592+# See the License for the specific language governing permissions and
1593+# limitations under the License.
1594
1595 import warnings
1596 warnings.warn("contrib.charmhelpers is deprecated", DeprecationWarning) # noqa
1597
1598=== modified file 'charmhelpers/contrib/charmsupport/__init__.py'
1599--- charmhelpers/contrib/charmsupport/__init__.py 2015-01-22 06:08:24 +0000
1600+++ charmhelpers/contrib/charmsupport/__init__.py 2016-07-06 14:41:57 +0000
1601@@ -1,15 +1,13 @@
1602 # Copyright 2014-2015 Canonical Limited.
1603 #
1604-# This file is part of charm-helpers.
1605-#
1606-# charm-helpers is free software: you can redistribute it and/or modify
1607-# it under the terms of the GNU Lesser General Public License version 3 as
1608-# published by the Free Software Foundation.
1609-#
1610-# charm-helpers is distributed in the hope that it will be useful,
1611-# but WITHOUT ANY WARRANTY; without even the implied warranty of
1612-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1613-# GNU Lesser General Public License for more details.
1614-#
1615-# You should have received a copy of the GNU Lesser General Public License
1616-# along with charm-helpers. If not, see <http://www.gnu.org/licenses/>.
1617+# Licensed under the Apache License, Version 2.0 (the "License");
1618+# you may not use this file except in compliance with the License.
1619+# You may obtain a copy of the License at
1620+#
1621+# http://www.apache.org/licenses/LICENSE-2.0
1622+#
1623+# Unless required by applicable law or agreed to in writing, software
1624+# distributed under the License is distributed on an "AS IS" BASIS,
1625+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1626+# See the License for the specific language governing permissions and
1627+# limitations under the License.
1628
1629=== modified file 'charmhelpers/contrib/charmsupport/nrpe.py'
1630--- charmhelpers/contrib/charmsupport/nrpe.py 2015-12-08 05:57:03 +0000
1631+++ charmhelpers/contrib/charmsupport/nrpe.py 2016-07-06 14:41:57 +0000
1632@@ -1,18 +1,16 @@
1633 # Copyright 2014-2015 Canonical Limited.
1634 #
1635-# This file is part of charm-helpers.
1636-#
1637-# charm-helpers is free software: you can redistribute it and/or modify
1638-# it under the terms of the GNU Lesser General Public License version 3 as
1639-# published by the Free Software Foundation.
1640-#
1641-# charm-helpers is distributed in the hope that it will be useful,
1642-# but WITHOUT ANY WARRANTY; without even the implied warranty of
1643-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1644-# GNU Lesser General Public License for more details.
1645-#
1646-# You should have received a copy of the GNU Lesser General Public License
1647-# along with charm-helpers. If not, see <http://www.gnu.org/licenses/>.
1648+# Licensed under the Apache License, Version 2.0 (the "License");
1649+# you may not use this file except in compliance with the License.
1650+# You may obtain a copy of the License at
1651+#
1652+# http://www.apache.org/licenses/LICENSE-2.0
1653+#
1654+# Unless required by applicable law or agreed to in writing, software
1655+# distributed under the License is distributed on an "AS IS" BASIS,
1656+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1657+# See the License for the specific language governing permissions and
1658+# limitations under the License.
1659
1660 """Compatibility with the nrpe-external-master charm"""
1661 # Copyright 2012 Canonical Ltd.
1662
1663=== modified file 'charmhelpers/contrib/charmsupport/volumes.py'
1664--- charmhelpers/contrib/charmsupport/volumes.py 2015-01-22 06:06:03 +0000
1665+++ charmhelpers/contrib/charmsupport/volumes.py 2016-07-06 14:41:57 +0000
1666@@ -1,18 +1,16 @@
1667 # Copyright 2014-2015 Canonical Limited.
1668 #
1669-# This file is part of charm-helpers.
1670-#
1671-# charm-helpers is free software: you can redistribute it and/or modify
1672-# it under the terms of the GNU Lesser General Public License version 3 as
1673-# published by the Free Software Foundation.
1674-#
1675-# charm-helpers is distributed in the hope that it will be useful,
1676-# but WITHOUT ANY WARRANTY; without even the implied warranty of
1677-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1678-# GNU Lesser General Public License for more details.
1679-#
1680-# You should have received a copy of the GNU Lesser General Public License
1681-# along with charm-helpers. If not, see <http://www.gnu.org/licenses/>.
1682+# Licensed under the Apache License, Version 2.0 (the "License");
1683+# you may not use this file except in compliance with the License.
1684+# You may obtain a copy of the License at
1685+#
1686+# http://www.apache.org/licenses/LICENSE-2.0
1687+#
1688+# Unless required by applicable law or agreed to in writing, software
1689+# distributed under the License is distributed on an "AS IS" BASIS,
1690+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1691+# See the License for the specific language governing permissions and
1692+# limitations under the License.
1693
1694 '''
1695 Functions for managing volumes in juju units. One volume is supported per unit.
1696
1697=== modified file 'charmhelpers/contrib/database/__init__.py'
1698--- charmhelpers/contrib/database/__init__.py 2015-02-05 00:27:03 +0000
1699+++ charmhelpers/contrib/database/__init__.py 2016-07-06 14:41:57 +0000
1700@@ -0,0 +1,11 @@
1701+# Licensed under the Apache License, Version 2.0 (the "License");
1702+# you may not use this file except in compliance with the License.
1703+# You may obtain a copy of the License at
1704+#
1705+# http://www.apache.org/licenses/LICENSE-2.0
1706+#
1707+# Unless required by applicable law or agreed to in writing, software
1708+# distributed under the License is distributed on an "AS IS" BASIS,
1709+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1710+# See the License for the specific language governing permissions and
1711+# limitations under the License.
1712
1713=== modified file 'charmhelpers/contrib/database/mysql.py'
1714--- charmhelpers/contrib/database/mysql.py 2015-07-01 16:11:36 +0000
1715+++ charmhelpers/contrib/database/mysql.py 2016-07-06 14:41:57 +0000
1716@@ -1,3 +1,15 @@
1717+# Licensed under the Apache License, Version 2.0 (the "License");
1718+# you may not use this file except in compliance with the License.
1719+# You may obtain a copy of the License at
1720+#
1721+# http://www.apache.org/licenses/LICENSE-2.0
1722+#
1723+# Unless required by applicable law or agreed to in writing, software
1724+# distributed under the License is distributed on an "AS IS" BASIS,
1725+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1726+# See the License for the specific language governing permissions and
1727+# limitations under the License.
1728+
1729 """Helper for working with a MySQL database"""
1730 import json
1731 import re
1732
1733=== modified file 'charmhelpers/contrib/hahelpers/__init__.py'
1734--- charmhelpers/contrib/hahelpers/__init__.py 2015-01-22 06:08:24 +0000
1735+++ charmhelpers/contrib/hahelpers/__init__.py 2016-07-06 14:41:57 +0000
1736@@ -1,15 +1,13 @@
1737 # Copyright 2014-2015 Canonical Limited.
1738 #
1739-# This file is part of charm-helpers.
1740-#
1741-# charm-helpers is free software: you can redistribute it and/or modify
1742-# it under the terms of the GNU Lesser General Public License version 3 as
1743-# published by the Free Software Foundation.
1744-#
1745-# charm-helpers is distributed in the hope that it will be useful,
1746-# but WITHOUT ANY WARRANTY; without even the implied warranty of
1747-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1748-# GNU Lesser General Public License for more details.
1749-#
1750-# You should have received a copy of the GNU Lesser General Public License
1751-# along with charm-helpers. If not, see <http://www.gnu.org/licenses/>.
1752+# Licensed under the Apache License, Version 2.0 (the "License");
1753+# you may not use this file except in compliance with the License.
1754+# You may obtain a copy of the License at
1755+#
1756+# http://www.apache.org/licenses/LICENSE-2.0
1757+#
1758+# Unless required by applicable law or agreed to in writing, software
1759+# distributed under the License is distributed on an "AS IS" BASIS,
1760+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1761+# See the License for the specific language governing permissions and
1762+# limitations under the License.
1763
1764=== modified file 'charmhelpers/contrib/hahelpers/apache.py'
1765--- charmhelpers/contrib/hahelpers/apache.py 2015-01-22 06:06:03 +0000
1766+++ charmhelpers/contrib/hahelpers/apache.py 2016-07-06 14:41:57 +0000
1767@@ -1,18 +1,16 @@
1768 # Copyright 2014-2015 Canonical Limited.
1769 #
1770-# This file is part of charm-helpers.
1771-#
1772-# charm-helpers is free software: you can redistribute it and/or modify
1773-# it under the terms of the GNU Lesser General Public License version 3 as
1774-# published by the Free Software Foundation.
1775-#
1776-# charm-helpers is distributed in the hope that it will be useful,
1777-# but WITHOUT ANY WARRANTY; without even the implied warranty of
1778-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1779-# GNU Lesser General Public License for more details.
1780-#
1781-# You should have received a copy of the GNU Lesser General Public License
1782-# along with charm-helpers. If not, see <http://www.gnu.org/licenses/>.
1783+# Licensed under the Apache License, Version 2.0 (the "License");
1784+# you may not use this file except in compliance with the License.
1785+# You may obtain a copy of the License at
1786+#
1787+# http://www.apache.org/licenses/LICENSE-2.0
1788+#
1789+# Unless required by applicable law or agreed to in writing, software
1790+# distributed under the License is distributed on an "AS IS" BASIS,
1791+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1792+# See the License for the specific language governing permissions and
1793+# limitations under the License.
1794
1795 #
1796 # Copyright 2012 Canonical Ltd.
1797
1798=== modified file 'charmhelpers/contrib/hahelpers/cluster.py'
1799--- charmhelpers/contrib/hahelpers/cluster.py 2016-06-17 20:10:31 +0000
1800+++ charmhelpers/contrib/hahelpers/cluster.py 2016-07-06 14:41:57 +0000
1801@@ -1,18 +1,16 @@
1802 # Copyright 2014-2015 Canonical Limited.
1803 #
1804-# This file is part of charm-helpers.
1805-#
1806-# charm-helpers is free software: you can redistribute it and/or modify
1807-# it under the terms of the GNU Lesser General Public License version 3 as
1808-# published by the Free Software Foundation.
1809-#
1810-# charm-helpers is distributed in the hope that it will be useful,
1811-# but WITHOUT ANY WARRANTY; without even the implied warranty of
1812-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1813-# GNU Lesser General Public License for more details.
1814-#
1815-# You should have received a copy of the GNU Lesser General Public License
1816-# along with charm-helpers. If not, see <http://www.gnu.org/licenses/>.
1817+# Licensed under the Apache License, Version 2.0 (the "License");
1818+# you may not use this file except in compliance with the License.
1819+# You may obtain a copy of the License at
1820+#
1821+# http://www.apache.org/licenses/LICENSE-2.0
1822+#
1823+# Unless required by applicable law or agreed to in writing, software
1824+# distributed under the License is distributed on an "AS IS" BASIS,
1825+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1826+# See the License for the specific language governing permissions and
1827+# limitations under the License.
1828
1829 #
1830 # Copyright 2012 Canonical Ltd.
1831
1832=== modified file 'charmhelpers/contrib/hardening/__init__.py'
1833--- charmhelpers/contrib/hardening/__init__.py 2016-02-23 18:21:24 +0000
1834+++ charmhelpers/contrib/hardening/__init__.py 2016-07-06 14:41:57 +0000
1835@@ -1,15 +1,13 @@
1836 # Copyright 2016 Canonical Limited.
1837 #
1838-# This file is part of charm-helpers.
1839-#
1840-# charm-helpers is free software: you can redistribute it and/or modify
1841-# it under the terms of the GNU Lesser General Public License version 3 as
1842-# published by the Free Software Foundation.
1843-#
1844-# charm-helpers is distributed in the hope that it will be useful,
1845-# but WITHOUT ANY WARRANTY; without even the implied warranty of
1846-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1847-# GNU Lesser General Public License for more details.
1848-#
1849-# You should have received a copy of the GNU Lesser General Public License
1850-# along with charm-helpers. If not, see <http://www.gnu.org/licenses/>.
1851+# Licensed under the Apache License, Version 2.0 (the "License");
1852+# you may not use this file except in compliance with the License.
1853+# You may obtain a copy of the License at
1854+#
1855+# http://www.apache.org/licenses/LICENSE-2.0
1856+#
1857+# Unless required by applicable law or agreed to in writing, software
1858+# distributed under the License is distributed on an "AS IS" BASIS,
1859+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1860+# See the License for the specific language governing permissions and
1861+# limitations under the License.
1862
1863=== modified file 'charmhelpers/contrib/hardening/apache/__init__.py'
1864--- charmhelpers/contrib/hardening/apache/__init__.py 2016-03-04 17:31:15 +0000
1865+++ charmhelpers/contrib/hardening/apache/__init__.py 2016-07-06 14:41:57 +0000
1866@@ -1,18 +1,16 @@
1867 # Copyright 2016 Canonical Limited.
1868 #
1869-# This file is part of charm-helpers.
1870-#
1871-# charm-helpers is free software: you can redistribute it and/or modify
1872-# it under the terms of the GNU Lesser General Public License version 3 as
1873-# published by the Free Software Foundation.
1874-#
1875-# charm-helpers is distributed in the hope that it will be useful,
1876-# but WITHOUT ANY WARRANTY; without even the implied warranty of
1877-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1878-# GNU Lesser General Public License for more details.
1879-#
1880-# You should have received a copy of the GNU Lesser General Public License
1881-# along with charm-helpers. If not, see <http://www.gnu.org/licenses/>.
1882+# Licensed under the Apache License, Version 2.0 (the "License");
1883+# you may not use this file except in compliance with the License.
1884+# You may obtain a copy of the License at
1885+#
1886+# http://www.apache.org/licenses/LICENSE-2.0
1887+#
1888+# Unless required by applicable law or agreed to in writing, software
1889+# distributed under the License is distributed on an "AS IS" BASIS,
1890+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1891+# See the License for the specific language governing permissions and
1892+# limitations under the License.
1893
1894 from os import path
1895
1896
1897=== modified file 'charmhelpers/contrib/hardening/apache/checks/__init__.py'
1898--- charmhelpers/contrib/hardening/apache/checks/__init__.py 2016-03-10 14:34:45 +0000
1899+++ charmhelpers/contrib/hardening/apache/checks/__init__.py 2016-07-06 14:41:57 +0000
1900@@ -1,18 +1,16 @@
1901 # Copyright 2016 Canonical Limited.
1902 #
1903-# This file is part of charm-helpers.
1904-#
1905-# charm-helpers is free software: you can redistribute it and/or modify
1906-# it under the terms of the GNU Lesser General Public License version 3 as
1907-# published by the Free Software Foundation.
1908-#
1909-# charm-helpers is distributed in the hope that it will be useful,
1910-# but WITHOUT ANY WARRANTY; without even the implied warranty of
1911-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1912-# GNU Lesser General Public License for more details.
1913-#
1914-# You should have received a copy of the GNU Lesser General Public License
1915-# along with charm-helpers. If not, see <http://www.gnu.org/licenses/>.
1916+# Licensed under the Apache License, Version 2.0 (the "License");
1917+# you may not use this file except in compliance with the License.
1918+# You may obtain a copy of the License at
1919+#
1920+# http://www.apache.org/licenses/LICENSE-2.0
1921+#
1922+# Unless required by applicable law or agreed to in writing, software
1923+# distributed under the License is distributed on an "AS IS" BASIS,
1924+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1925+# See the License for the specific language governing permissions and
1926+# limitations under the License.
1927
1928 from charmhelpers.core.hookenv import (
1929 log,
1930
1931=== modified file 'charmhelpers/contrib/hardening/apache/checks/config.py'
1932--- charmhelpers/contrib/hardening/apache/checks/config.py 2016-03-21 10:35:31 +0000
1933+++ charmhelpers/contrib/hardening/apache/checks/config.py 2016-07-06 14:41:57 +0000
1934@@ -1,18 +1,16 @@
1935 # Copyright 2016 Canonical Limited.
1936 #
1937-# This file is part of charm-helpers.
1938-#
1939-# charm-helpers is free software: you can redistribute it and/or modify
1940-# it under the terms of the GNU Lesser General Public License version 3 as
1941-# published by the Free Software Foundation.
1942-#
1943-# charm-helpers is distributed in the hope that it will be useful,
1944-# but WITHOUT ANY WARRANTY; without even the implied warranty of
1945-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1946-# GNU Lesser General Public License for more details.
1947-#
1948-# You should have received a copy of the GNU Lesser General Public License
1949-# along with charm-helpers. If not, see <http://www.gnu.org/licenses/>.
1950+# Licensed under the Apache License, Version 2.0 (the "License");
1951+# you may not use this file except in compliance with the License.
1952+# You may obtain a copy of the License at
1953+#
1954+# http://www.apache.org/licenses/LICENSE-2.0
1955+#
1956+# Unless required by applicable law or agreed to in writing, software
1957+# distributed under the License is distributed on an "AS IS" BASIS,
1958+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1959+# See the License for the specific language governing permissions and
1960+# limitations under the License.
1961
1962 import os
1963 import re
1964
1965=== modified file 'charmhelpers/contrib/hardening/audits/__init__.py'
1966--- charmhelpers/contrib/hardening/audits/__init__.py 2016-03-04 17:56:06 +0000
1967+++ charmhelpers/contrib/hardening/audits/__init__.py 2016-07-06 14:41:57 +0000
1968@@ -1,19 +1,16 @@
1969 # Copyright 2016 Canonical Limited.
1970 #
1971-# This file is part of charm-helpers.
1972-#
1973-# charm-helpers is free software: you can redistribute it and/or modify
1974-# it under the terms of the GNU Lesser General Public License version 3 as
1975-# published by the Free Software Foundation.
1976-#
1977-# charm-helpers is distributed in the hope that it will be useful,
1978-# but WITHOUT ANY WARRANTY; without even the implied warranty of
1979-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1980-# GNU Lesser General Public License for more details.
1981-#
1982-# You should have received a copy of the GNU Lesser General Public License
1983-# along with charm-helpers. If not, see <http://www.gnu.org/licenses/>.
1984-
1985+# Licensed under the Apache License, Version 2.0 (the "License");
1986+# you may not use this file except in compliance with the License.
1987+# You may obtain a copy of the License at
1988+#
1989+# http://www.apache.org/licenses/LICENSE-2.0
1990+#
1991+# Unless required by applicable law or agreed to in writing, software
1992+# distributed under the License is distributed on an "AS IS" BASIS,
1993+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1994+# See the License for the specific language governing permissions and
1995+# limitations under the License.
1996
1997 class BaseAudit(object): # NO-QA
1998 """Base class for hardening checks.
1999
2000=== modified file 'charmhelpers/contrib/hardening/audits/apache.py'
2001--- charmhelpers/contrib/hardening/audits/apache.py 2016-03-21 10:35:31 +0000
2002+++ charmhelpers/contrib/hardening/audits/apache.py 2016-07-06 14:41:57 +0000
2003@@ -1,18 +1,16 @@
2004 # Copyright 2016 Canonical Limited.
2005 #
2006-# This file is part of charm-helpers.
2007-#
2008-# charm-helpers is free software: you can redistribute it and/or modify
2009-# it under the terms of the GNU Lesser General Public License version 3 as
2010-# published by the Free Software Foundation.
2011-#
2012-# charm-helpers is distributed in the hope that it will be useful,
2013-# but WITHOUT ANY WARRANTY; without even the implied warranty of
2014-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2015-# GNU Lesser General Public License for more details.
2016-#
2017-# You should have received a copy of the GNU Lesser General Public License
2018-# along with charm-helpers. If not, see <http://www.gnu.org/licenses/>.
2019+# Licensed under the Apache License, Version 2.0 (the "License");
2020+# you may not use this file except in compliance with the License.
2021+# You may obtain a copy of the License at
2022+#
2023+# http://www.apache.org/licenses/LICENSE-2.0
2024+#
2025+# Unless required by applicable law or agreed to in writing, software
2026+# distributed under the License is distributed on an "AS IS" BASIS,
2027+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
2028+# See the License for the specific language governing permissions and
2029+# limitations under the License.
2030
2031 import re
2032 import subprocess
2033
2034=== modified file 'charmhelpers/contrib/hardening/audits/apt.py'
2035--- charmhelpers/contrib/hardening/audits/apt.py 2016-03-14 12:18:23 +0000
2036+++ charmhelpers/contrib/hardening/audits/apt.py 2016-07-06 14:41:57 +0000
2037@@ -1,18 +1,16 @@
2038 # Copyright 2016 Canonical Limited.
2039 #
2040-# This file is part of charm-helpers.
2041-#
2042-# charm-helpers is free software: you can redistribute it and/or modify
2043-# it under the terms of the GNU Lesser General Public License version 3 as
2044-# published by the Free Software Foundation.
2045-#
2046-# charm-helpers is distributed in the hope that it will be useful,
2047-# but WITHOUT ANY WARRANTY; without even the implied warranty of
2048-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2049-# GNU Lesser General Public License for more details.
2050-#
2051-# You should have received a copy of the GNU Lesser General Public License
2052-# along with charm-helpers. If not, see <http://www.gnu.org/licenses/>.
2053+# Licensed under the Apache License, Version 2.0 (the "License");
2054+# you may not use this file except in compliance with the License.
2055+# You may obtain a copy of the License at
2056+#
2057+# http://www.apache.org/licenses/LICENSE-2.0
2058+#
2059+# Unless required by applicable law or agreed to in writing, software
2060+# distributed under the License is distributed on an "AS IS" BASIS,
2061+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
2062+# See the License for the specific language governing permissions and
2063+# limitations under the License.
2064
2065 from __future__ import absolute_import # required for external apt import
2066 from apt import apt_pkg
2067
2068=== modified file 'charmhelpers/contrib/hardening/audits/file.py'
2069--- charmhelpers/contrib/hardening/audits/file.py 2016-03-21 10:35:31 +0000
2070+++ charmhelpers/contrib/hardening/audits/file.py 2016-07-06 14:41:57 +0000
2071@@ -1,18 +1,16 @@
2072 # Copyright 2016 Canonical Limited.
2073 #
2074-# This file is part of charm-helpers.
2075-#
2076-# charm-helpers is free software: you can redistribute it and/or modify
2077-# it under the terms of the GNU Lesser General Public License version 3 as
2078-# published by the Free Software Foundation.
2079-#
2080-# charm-helpers is distributed in the hope that it will be useful,
2081-# but WITHOUT ANY WARRANTY; without even the implied warranty of
2082-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2083-# GNU Lesser General Public License for more details.
2084-#
2085-# You should have received a copy of the GNU Lesser General Public License
2086-# along with charm-helpers. If not, see <http://www.gnu.org/licenses/>.
2087+# Licensed under the Apache License, Version 2.0 (the "License");
2088+# you may not use this file except in compliance with the License.
2089+# You may obtain a copy of the License at
2090+#
2091+# http://www.apache.org/licenses/LICENSE-2.0
2092+#
2093+# Unless required by applicable law or agreed to in writing, software
2094+# distributed under the License is distributed on an "AS IS" BASIS,
2095+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
2096+# See the License for the specific language governing permissions and
2097+# limitations under the License.
2098
2099 import grp
2100 import os
2101
2102=== modified file 'charmhelpers/contrib/hardening/harden.py'
2103--- charmhelpers/contrib/hardening/harden.py 2016-03-21 10:35:31 +0000
2104+++ charmhelpers/contrib/hardening/harden.py 2016-07-06 14:41:57 +0000
2105@@ -1,18 +1,16 @@
2106 # Copyright 2016 Canonical Limited.
2107 #
2108-# This file is part of charm-helpers.
2109-#
2110-# charm-helpers is free software: you can redistribute it and/or modify
2111-# it under the terms of the GNU Lesser General Public License version 3 as
2112-# published by the Free Software Foundation.
2113-#
2114-# charm-helpers is distributed in the hope that it will be useful,
2115-# but WITHOUT ANY WARRANTY; without even the implied warranty of
2116-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2117-# GNU Lesser General Public License for more details.
2118-#
2119-# You should have received a copy of the GNU Lesser General Public License
2120-# along with charm-helpers. If not, see <http://www.gnu.org/licenses/>.
2121+# Licensed under the Apache License, Version 2.0 (the "License");
2122+# you may not use this file except in compliance with the License.
2123+# You may obtain a copy of the License at
2124+#
2125+# http://www.apache.org/licenses/LICENSE-2.0
2126+#
2127+# Unless required by applicable law or agreed to in writing, software
2128+# distributed under the License is distributed on an "AS IS" BASIS,
2129+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
2130+# See the License for the specific language governing permissions and
2131+# limitations under the License.
2132
2133 import six
2134
2135
2136=== modified file 'charmhelpers/contrib/hardening/host/__init__.py'
2137--- charmhelpers/contrib/hardening/host/__init__.py 2016-03-11 15:16:02 +0000
2138+++ charmhelpers/contrib/hardening/host/__init__.py 2016-07-06 14:41:57 +0000
2139@@ -1,18 +1,16 @@
2140 # Copyright 2016 Canonical Limited.
2141 #
2142-# This file is part of charm-helpers.
2143-#
2144-# charm-helpers is free software: you can redistribute it and/or modify
2145-# it under the terms of the GNU Lesser General Public License version 3 as
2146-# published by the Free Software Foundation.
2147-#
2148-# charm-helpers is distributed in the hope that it will be useful,
2149-# but WITHOUT ANY WARRANTY; without even the implied warranty of
2150-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2151-# GNU Lesser General Public License for more details.
2152-#
2153-# You should have received a copy of the GNU Lesser General Public License
2154-# along with charm-helpers. If not, see <http://www.gnu.org/licenses/>.
2155+# Licensed under the Apache License, Version 2.0 (the "License");
2156+# you may not use this file except in compliance with the License.
2157+# You may obtain a copy of the License at
2158+#
2159+# http://www.apache.org/licenses/LICENSE-2.0
2160+#
2161+# Unless required by applicable law or agreed to in writing, software
2162+# distributed under the License is distributed on an "AS IS" BASIS,
2163+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
2164+# See the License for the specific language governing permissions and
2165+# limitations under the License.
2166
2167 from os import path
2168
2169
2170=== modified file 'charmhelpers/contrib/hardening/host/checks/__init__.py'
2171--- charmhelpers/contrib/hardening/host/checks/__init__.py 2016-03-10 14:34:45 +0000
2172+++ charmhelpers/contrib/hardening/host/checks/__init__.py 2016-07-06 14:41:57 +0000
2173@@ -1,18 +1,16 @@
2174 # Copyright 2016 Canonical Limited.
2175 #
2176-# This file is part of charm-helpers.
2177-#
2178-# charm-helpers is free software: you can redistribute it and/or modify
2179-# it under the terms of the GNU Lesser General Public License version 3 as
2180-# published by the Free Software Foundation.
2181-#
2182-# charm-helpers is distributed in the hope that it will be useful,
2183-# but WITHOUT ANY WARRANTY; without even the implied warranty of
2184-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2185-# GNU Lesser General Public License for more details.
2186-#
2187-# You should have received a copy of the GNU Lesser General Public License
2188-# along with charm-helpers. If not, see <http://www.gnu.org/licenses/>.
2189+# Licensed under the Apache License, Version 2.0 (the "License");
2190+# you may not use this file except in compliance with the License.
2191+# You may obtain a copy of the License at
2192+#
2193+# http://www.apache.org/licenses/LICENSE-2.0
2194+#
2195+# Unless required by applicable law or agreed to in writing, software
2196+# distributed under the License is distributed on an "AS IS" BASIS,
2197+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
2198+# See the License for the specific language governing permissions and
2199+# limitations under the License.
2200
2201 from charmhelpers.core.hookenv import (
2202 log,
2203
2204=== modified file 'charmhelpers/contrib/hardening/host/checks/apt.py'
2205--- charmhelpers/contrib/hardening/host/checks/apt.py 2016-03-14 12:18:23 +0000
2206+++ charmhelpers/contrib/hardening/host/checks/apt.py 2016-07-06 14:41:57 +0000
2207@@ -1,18 +1,16 @@
2208 # Copyright 2016 Canonical Limited.
2209 #
2210-# This file is part of charm-helpers.
2211-#
2212-# charm-helpers is free software: you can redistribute it and/or modify
2213-# it under the terms of the GNU Lesser General Public License version 3 as
2214-# published by the Free Software Foundation.
2215-#
2216-# charm-helpers is distributed in the hope that it will be useful,
2217-# but WITHOUT ANY WARRANTY; without even the implied warranty of
2218-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2219-# GNU Lesser General Public License for more details.
2220-#
2221-# You should have received a copy of the GNU Lesser General Public License
2222-# along with charm-helpers. If not, see <http://www.gnu.org/licenses/>.
2223+# Licensed under the Apache License, Version 2.0 (the "License");
2224+# you may not use this file except in compliance with the License.
2225+# You may obtain a copy of the License at
2226+#
2227+# http://www.apache.org/licenses/LICENSE-2.0
2228+#
2229+# Unless required by applicable law or agreed to in writing, software
2230+# distributed under the License is distributed on an "AS IS" BASIS,
2231+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
2232+# See the License for the specific language governing permissions and
2233+# limitations under the License.
2234
2235 from charmhelpers.contrib.hardening.utils import get_settings
2236 from charmhelpers.contrib.hardening.audits.apt import (
2237
2238=== modified file 'charmhelpers/contrib/hardening/host/checks/limits.py'
2239--- charmhelpers/contrib/hardening/host/checks/limits.py 2016-03-14 12:18:23 +0000
2240+++ charmhelpers/contrib/hardening/host/checks/limits.py 2016-07-06 14:41:57 +0000
2241@@ -1,18 +1,16 @@
2242 # Copyright 2016 Canonical Limited.
2243 #
2244-# This file is part of charm-helpers.
2245-#
2246-# charm-helpers is free software: you can redistribute it and/or modify
2247-# it under the terms of the GNU Lesser General Public License version 3 as
2248-# published by the Free Software Foundation.
2249-#
2250-# charm-helpers is distributed in the hope that it will be useful,
2251-# but WITHOUT ANY WARRANTY; without even the implied warranty of
2252-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2253-# GNU Lesser General Public License for more details.
2254-#
2255-# You should have received a copy of the GNU Lesser General Public License
2256-# along with charm-helpers. If not, see <http://www.gnu.org/licenses/>.
2257+# Licensed under the Apache License, Version 2.0 (the "License");
2258+# you may not use this file except in compliance with the License.
2259+# You may obtain a copy of the License at
2260+#
2261+# http://www.apache.org/licenses/LICENSE-2.0
2262+#
2263+# Unless required by applicable law or agreed to in writing, software
2264+# distributed under the License is distributed on an "AS IS" BASIS,
2265+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
2266+# See the License for the specific language governing permissions and
2267+# limitations under the License.
2268
2269 from charmhelpers.contrib.hardening.audits.file import (
2270 DirectoryPermissionAudit,
2271
2272=== modified file 'charmhelpers/contrib/hardening/host/checks/login.py'
2273--- charmhelpers/contrib/hardening/host/checks/login.py 2016-03-14 12:18:23 +0000
2274+++ charmhelpers/contrib/hardening/host/checks/login.py 2016-07-06 14:41:57 +0000
2275@@ -1,18 +1,16 @@
2276 # Copyright 2016 Canonical Limited.
2277 #
2278-# This file is part of charm-helpers.
2279-#
2280-# charm-helpers is free software: you can redistribute it and/or modify
2281-# it under the terms of the GNU Lesser General Public License version 3 as
2282-# published by the Free Software Foundation.
2283-#
2284-# charm-helpers is distributed in the hope that it will be useful,
2285-# but WITHOUT ANY WARRANTY; without even the implied warranty of
2286-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2287-# GNU Lesser General Public License for more details.
2288-#
2289-# You should have received a copy of the GNU Lesser General Public License
2290-# along with charm-helpers. If not, see <http://www.gnu.org/licenses/>.
2291+# Licensed under the Apache License, Version 2.0 (the "License");
2292+# you may not use this file except in compliance with the License.
2293+# You may obtain a copy of the License at
2294+#
2295+# http://www.apache.org/licenses/LICENSE-2.0
2296+#
2297+# Unless required by applicable law or agreed to in writing, software
2298+# distributed under the License is distributed on an "AS IS" BASIS,
2299+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
2300+# See the License for the specific language governing permissions and
2301+# limitations under the License.
2302
2303 from six import string_types
2304
2305
2306=== modified file 'charmhelpers/contrib/hardening/host/checks/minimize_access.py'
2307--- charmhelpers/contrib/hardening/host/checks/minimize_access.py 2016-03-14 12:18:23 +0000
2308+++ charmhelpers/contrib/hardening/host/checks/minimize_access.py 2016-07-06 14:41:57 +0000
2309@@ -1,18 +1,16 @@
2310 # Copyright 2016 Canonical Limited.
2311 #
2312-# This file is part of charm-helpers.
2313-#
2314-# charm-helpers is free software: you can redistribute it and/or modify
2315-# it under the terms of the GNU Lesser General Public License version 3 as
2316-# published by the Free Software Foundation.
2317-#
2318-# charm-helpers is distributed in the hope that it will be useful,
2319-# but WITHOUT ANY WARRANTY; without even the implied warranty of
2320-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2321-# GNU Lesser General Public License for more details.
2322-#
2323-# You should have received a copy of the GNU Lesser General Public License
2324-# along with charm-helpers. If not, see <http://www.gnu.org/licenses/>.
2325+# Licensed under the Apache License, Version 2.0 (the "License");
2326+# you may not use this file except in compliance with the License.
2327+# You may obtain a copy of the License at
2328+#
2329+# http://www.apache.org/licenses/LICENSE-2.0
2330+#
2331+# Unless required by applicable law or agreed to in writing, software
2332+# distributed under the License is distributed on an "AS IS" BASIS,
2333+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
2334+# See the License for the specific language governing permissions and
2335+# limitations under the License.
2336
2337 from charmhelpers.contrib.hardening.audits.file import (
2338 FilePermissionAudit,
2339
2340=== modified file 'charmhelpers/contrib/hardening/host/checks/pam.py'
2341--- charmhelpers/contrib/hardening/host/checks/pam.py 2016-03-14 12:18:23 +0000
2342+++ charmhelpers/contrib/hardening/host/checks/pam.py 2016-07-06 14:41:57 +0000
2343@@ -1,18 +1,16 @@
2344 # Copyright 2016 Canonical Limited.
2345 #
2346-# This file is part of charm-helpers.
2347-#
2348-# charm-helpers is free software: you can redistribute it and/or modify
2349-# it under the terms of the GNU Lesser General Public License version 3 as
2350-# published by the Free Software Foundation.
2351-#
2352-# charm-helpers is distributed in the hope that it will be useful,
2353-# but WITHOUT ANY WARRANTY; without even the implied warranty of
2354-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2355-# GNU Lesser General Public License for more details.
2356-#
2357-# You should have received a copy of the GNU Lesser General Public License
2358-# along with charm-helpers. If not, see <http://www.gnu.org/licenses/>.
2359+# Licensed under the Apache License, Version 2.0 (the "License");
2360+# you may not use this file except in compliance with the License.
2361+# You may obtain a copy of the License at
2362+#
2363+# http://www.apache.org/licenses/LICENSE-2.0
2364+#
2365+# Unless required by applicable law or agreed to in writing, software
2366+# distributed under the License is distributed on an "AS IS" BASIS,
2367+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
2368+# See the License for the specific language governing permissions and
2369+# limitations under the License.
2370
2371 from subprocess import (
2372 check_output,
2373
2374=== modified file 'charmhelpers/contrib/hardening/host/checks/profile.py'
2375--- charmhelpers/contrib/hardening/host/checks/profile.py 2016-03-14 13:49:57 +0000
2376+++ charmhelpers/contrib/hardening/host/checks/profile.py 2016-07-06 14:41:57 +0000
2377@@ -1,18 +1,16 @@
2378 # Copyright 2016 Canonical Limited.
2379 #
2380-# This file is part of charm-helpers.
2381-#
2382-# charm-helpers is free software: you can redistribute it and/or modify
2383-# it under the terms of the GNU Lesser General Public License version 3 as
2384-# published by the Free Software Foundation.
2385-#
2386-# charm-helpers is distributed in the hope that it will be useful,
2387-# but WITHOUT ANY WARRANTY; without even the implied warranty of
2388-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2389-# GNU Lesser General Public License for more details.
2390-#
2391-# You should have received a copy of the GNU Lesser General Public License
2392-# along with charm-helpers. If not, see <http://www.gnu.org/licenses/>.
2393+# Licensed under the Apache License, Version 2.0 (the "License");
2394+# you may not use this file except in compliance with the License.
2395+# You may obtain a copy of the License at
2396+#
2397+# http://www.apache.org/licenses/LICENSE-2.0
2398+#
2399+# Unless required by applicable law or agreed to in writing, software
2400+# distributed under the License is distributed on an "AS IS" BASIS,
2401+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
2402+# See the License for the specific language governing permissions and
2403+# limitations under the License.
2404
2405 from charmhelpers.contrib.hardening.audits.file import TemplatedFile
2406 from charmhelpers.contrib.hardening.host import TEMPLATES_DIR
2407
2408=== modified file 'charmhelpers/contrib/hardening/host/checks/securetty.py'
2409--- charmhelpers/contrib/hardening/host/checks/securetty.py 2016-03-14 12:18:23 +0000
2410+++ charmhelpers/contrib/hardening/host/checks/securetty.py 2016-07-06 14:41:57 +0000
2411@@ -1,18 +1,16 @@
2412 # Copyright 2016 Canonical Limited.
2413 #
2414-# This file is part of charm-helpers.
2415-#
2416-# charm-helpers is free software: you can redistribute it and/or modify
2417-# it under the terms of the GNU Lesser General Public License version 3 as
2418-# published by the Free Software Foundation.
2419-#
2420-# charm-helpers is distributed in the hope that it will be useful,
2421-# but WITHOUT ANY WARRANTY; without even the implied warranty of
2422-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2423-# GNU Lesser General Public License for more details.
2424-#
2425-# You should have received a copy of the GNU Lesser General Public License
2426-# along with charm-helpers. If not, see <http://www.gnu.org/licenses/>.
2427+# Licensed under the Apache License, Version 2.0 (the "License");
2428+# you may not use this file except in compliance with the License.
2429+# You may obtain a copy of the License at
2430+#
2431+# http://www.apache.org/licenses/LICENSE-2.0
2432+#
2433+# Unless required by applicable law or agreed to in writing, software
2434+# distributed under the License is distributed on an "AS IS" BASIS,
2435+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
2436+# See the License for the specific language governing permissions and
2437+# limitations under the License.
2438
2439 from charmhelpers.contrib.hardening.audits.file import TemplatedFile
2440 from charmhelpers.contrib.hardening.host import TEMPLATES_DIR
2441
2442=== modified file 'charmhelpers/contrib/hardening/host/checks/suid_sgid.py'
2443--- charmhelpers/contrib/hardening/host/checks/suid_sgid.py 2016-03-14 12:18:23 +0000
2444+++ charmhelpers/contrib/hardening/host/checks/suid_sgid.py 2016-07-06 14:41:57 +0000
2445@@ -1,18 +1,16 @@
2446 # Copyright 2016 Canonical Limited.
2447 #
2448-# This file is part of charm-helpers.
2449-#
2450-# charm-helpers is free software: you can redistribute it and/or modify
2451-# it under the terms of the GNU Lesser General Public License version 3 as
2452-# published by the Free Software Foundation.
2453-#
2454-# charm-helpers is distributed in the hope that it will be useful,
2455-# but WITHOUT ANY WARRANTY; without even the implied warranty of
2456-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2457-# GNU Lesser General Public License for more details.
2458-#
2459-# You should have received a copy of the GNU Lesser General Public License
2460-# along with charm-helpers. If not, see <http://www.gnu.org/licenses/>.
2461+# Licensed under the Apache License, Version 2.0 (the "License");
2462+# you may not use this file except in compliance with the License.
2463+# You may obtain a copy of the License at
2464+#
2465+# http://www.apache.org/licenses/LICENSE-2.0
2466+#
2467+# Unless required by applicable law or agreed to in writing, software
2468+# distributed under the License is distributed on an "AS IS" BASIS,
2469+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
2470+# See the License for the specific language governing permissions and
2471+# limitations under the License.
2472
2473 import subprocess
2474
2475
2476=== modified file 'charmhelpers/contrib/hardening/host/checks/sysctl.py'
2477--- charmhelpers/contrib/hardening/host/checks/sysctl.py 2016-03-21 10:35:31 +0000
2478+++ charmhelpers/contrib/hardening/host/checks/sysctl.py 2016-07-06 14:41:57 +0000
2479@@ -1,18 +1,16 @@
2480 # Copyright 2016 Canonical Limited.
2481 #
2482-# This file is part of charm-helpers.
2483-#
2484-# charm-helpers is free software: you can redistribute it and/or modify
2485-# it under the terms of the GNU Lesser General Public License version 3 as
2486-# published by the Free Software Foundation.
2487-#
2488-# charm-helpers is distributed in the hope that it will be useful,
2489-# but WITHOUT ANY WARRANTY; without even the implied warranty of
2490-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2491-# GNU Lesser General Public License for more details.
2492-#
2493-# You should have received a copy of the GNU Lesser General Public License
2494-# along with charm-helpers. If not, see <http://www.gnu.org/licenses/>.
2495+# Licensed under the Apache License, Version 2.0 (the "License");
2496+# you may not use this file except in compliance with the License.
2497+# You may obtain a copy of the License at
2498+#
2499+# http://www.apache.org/licenses/LICENSE-2.0
2500+#
2501+# Unless required by applicable law or agreed to in writing, software
2502+# distributed under the License is distributed on an "AS IS" BASIS,
2503+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
2504+# See the License for the specific language governing permissions and
2505+# limitations under the License.
2506
2507 import os
2508 import platform
2509
2510=== modified file 'charmhelpers/contrib/hardening/mysql/__init__.py'
2511--- charmhelpers/contrib/hardening/mysql/__init__.py 2016-03-04 17:31:15 +0000
2512+++ charmhelpers/contrib/hardening/mysql/__init__.py 2016-07-06 14:41:57 +0000
2513@@ -1,18 +1,16 @@
2514 # Copyright 2016 Canonical Limited.
2515 #
2516-# This file is part of charm-helpers.
2517-#
2518-# charm-helpers is free software: you can redistribute it and/or modify
2519-# it under the terms of the GNU Lesser General Public License version 3 as
2520-# published by the Free Software Foundation.
2521-#
2522-# charm-helpers is distributed in the hope that it will be useful,
2523-# but WITHOUT ANY WARRANTY; without even the implied warranty of
2524-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2525-# GNU Lesser General Public License for more details.
2526-#
2527-# You should have received a copy of the GNU Lesser General Public License
2528-# along with charm-helpers. If not, see <http://www.gnu.org/licenses/>.
2529+# Licensed under the Apache License, Version 2.0 (the "License");
2530+# you may not use this file except in compliance with the License.
2531+# You may obtain a copy of the License at
2532+#
2533+# http://www.apache.org/licenses/LICENSE-2.0
2534+#
2535+# Unless required by applicable law or agreed to in writing, software
2536+# distributed under the License is distributed on an "AS IS" BASIS,
2537+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
2538+# See the License for the specific language governing permissions and
2539+# limitations under the License.
2540
2541 from os import path
2542
2543
2544=== modified file 'charmhelpers/contrib/hardening/mysql/checks/__init__.py'
2545--- charmhelpers/contrib/hardening/mysql/checks/__init__.py 2016-03-10 14:34:45 +0000
2546+++ charmhelpers/contrib/hardening/mysql/checks/__init__.py 2016-07-06 14:41:57 +0000
2547@@ -1,18 +1,16 @@
2548 # Copyright 2016 Canonical Limited.
2549 #
2550-# This file is part of charm-helpers.
2551-#
2552-# charm-helpers is free software: you can redistribute it and/or modify
2553-# it under the terms of the GNU Lesser General Public License version 3 as
2554-# published by the Free Software Foundation.
2555-#
2556-# charm-helpers is distributed in the hope that it will be useful,
2557-# but WITHOUT ANY WARRANTY; without even the implied warranty of
2558-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2559-# GNU Lesser General Public License for more details.
2560-#
2561-# You should have received a copy of the GNU Lesser General Public License
2562-# along with charm-helpers. If not, see <http://www.gnu.org/licenses/>.
2563+# Licensed under the Apache License, Version 2.0 (the "License");
2564+# you may not use this file except in compliance with the License.
2565+# You may obtain a copy of the License at
2566+#
2567+# http://www.apache.org/licenses/LICENSE-2.0
2568+#
2569+# Unless required by applicable law or agreed to in writing, software
2570+# distributed under the License is distributed on an "AS IS" BASIS,
2571+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
2572+# See the License for the specific language governing permissions and
2573+# limitations under the License.
2574
2575 from charmhelpers.core.hookenv import (
2576 log,
2577
2578=== modified file 'charmhelpers/contrib/hardening/mysql/checks/config.py'
2579--- charmhelpers/contrib/hardening/mysql/checks/config.py 2016-03-21 10:35:31 +0000
2580+++ charmhelpers/contrib/hardening/mysql/checks/config.py 2016-07-06 14:41:57 +0000
2581@@ -1,18 +1,16 @@
2582 # Copyright 2016 Canonical Limited.
2583 #
2584-# This file is part of charm-helpers.
2585-#
2586-# charm-helpers is free software: you can redistribute it and/or modify
2587-# it under the terms of the GNU Lesser General Public License version 3 as
2588-# published by the Free Software Foundation.
2589-#
2590-# charm-helpers is distributed in the hope that it will be useful,
2591-# but WITHOUT ANY WARRANTY; without even the implied warranty of
2592-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2593-# GNU Lesser General Public License for more details.
2594-#
2595-# You should have received a copy of the GNU Lesser General Public License
2596-# along with charm-helpers. If not, see <http://www.gnu.org/licenses/>.
2597+# Licensed under the Apache License, Version 2.0 (the "License");
2598+# you may not use this file except in compliance with the License.
2599+# You may obtain a copy of the License at
2600+#
2601+# http://www.apache.org/licenses/LICENSE-2.0
2602+#
2603+# Unless required by applicable law or agreed to in writing, software
2604+# distributed under the License is distributed on an "AS IS" BASIS,
2605+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
2606+# See the License for the specific language governing permissions and
2607+# limitations under the License.
2608
2609 import six
2610 import subprocess
2611
2612=== modified file 'charmhelpers/contrib/hardening/ssh/__init__.py'
2613--- charmhelpers/contrib/hardening/ssh/__init__.py 2016-03-04 17:31:15 +0000
2614+++ charmhelpers/contrib/hardening/ssh/__init__.py 2016-07-06 14:41:57 +0000
2615@@ -1,18 +1,16 @@
2616 # Copyright 2016 Canonical Limited.
2617 #
2618-# This file is part of charm-helpers.
2619-#
2620-# charm-helpers is free software: you can redistribute it and/or modify
2621-# it under the terms of the GNU Lesser General Public License version 3 as
2622-# published by the Free Software Foundation.
2623-#
2624-# charm-helpers is distributed in the hope that it will be useful,
2625-# but WITHOUT ANY WARRANTY; without even the implied warranty of
2626-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2627-# GNU Lesser General Public License for more details.
2628-#
2629-# You should have received a copy of the GNU Lesser General Public License
2630-# along with charm-helpers. If not, see <http://www.gnu.org/licenses/>.
2631+# Licensed under the Apache License, Version 2.0 (the "License");
2632+# you may not use this file except in compliance with the License.
2633+# You may obtain a copy of the License at
2634+#
2635+# http://www.apache.org/licenses/LICENSE-2.0
2636+#
2637+# Unless required by applicable law or agreed to in writing, software
2638+# distributed under the License is distributed on an "AS IS" BASIS,
2639+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
2640+# See the License for the specific language governing permissions and
2641+# limitations under the License.
2642
2643 from os import path
2644
2645
2646=== modified file 'charmhelpers/contrib/hardening/ssh/checks/__init__.py'
2647--- charmhelpers/contrib/hardening/ssh/checks/__init__.py 2016-03-10 14:34:45 +0000
2648+++ charmhelpers/contrib/hardening/ssh/checks/__init__.py 2016-07-06 14:41:57 +0000
2649@@ -1,18 +1,16 @@
2650 # Copyright 2016 Canonical Limited.
2651 #
2652-# This file is part of charm-helpers.
2653-#
2654-# charm-helpers is free software: you can redistribute it and/or modify
2655-# it under the terms of the GNU Lesser General Public License version 3 as
2656-# published by the Free Software Foundation.
2657-#
2658-# charm-helpers is distributed in the hope that it will be useful,
2659-# but WITHOUT ANY WARRANTY; without even the implied warranty of
2660-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2661-# GNU Lesser General Public License for more details.
2662-#
2663-# You should have received a copy of the GNU Lesser General Public License
2664-# along with charm-helpers. If not, see <http://www.gnu.org/licenses/>.
2665+# Licensed under the Apache License, Version 2.0 (the "License");
2666+# you may not use this file except in compliance with the License.
2667+# You may obtain a copy of the License at
2668+#
2669+# http://www.apache.org/licenses/LICENSE-2.0
2670+#
2671+# Unless required by applicable law or agreed to in writing, software
2672+# distributed under the License is distributed on an "AS IS" BASIS,
2673+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
2674+# See the License for the specific language governing permissions and
2675+# limitations under the License.
2676
2677 from charmhelpers.core.hookenv import (
2678 log,
2679
2680=== modified file 'charmhelpers/contrib/hardening/ssh/checks/config.py'
2681--- charmhelpers/contrib/hardening/ssh/checks/config.py 2016-03-15 16:38:49 +0000
2682+++ charmhelpers/contrib/hardening/ssh/checks/config.py 2016-07-06 14:41:57 +0000
2683@@ -1,18 +1,16 @@
2684 # Copyright 2016 Canonical Limited.
2685 #
2686-# This file is part of charm-helpers.
2687-#
2688-# charm-helpers is free software: you can redistribute it and/or modify
2689-# it under the terms of the GNU Lesser General Public License version 3 as
2690-# published by the Free Software Foundation.
2691-#
2692-# charm-helpers is distributed in the hope that it will be useful,
2693-# but WITHOUT ANY WARRANTY; without even the implied warranty of
2694-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2695-# GNU Lesser General Public License for more details.
2696-#
2697-# You should have received a copy of the GNU Lesser General Public License
2698-# along with charm-helpers. If not, see <http://www.gnu.org/licenses/>.
2699+# Licensed under the Apache License, Version 2.0 (the "License");
2700+# you may not use this file except in compliance with the License.
2701+# You may obtain a copy of the License at
2702+#
2703+# http://www.apache.org/licenses/LICENSE-2.0
2704+#
2705+# Unless required by applicable law or agreed to in writing, software
2706+# distributed under the License is distributed on an "AS IS" BASIS,
2707+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
2708+# See the License for the specific language governing permissions and
2709+# limitations under the License.
2710
2711 import os
2712
2713
2714=== modified file 'charmhelpers/contrib/hardening/templating.py'
2715--- charmhelpers/contrib/hardening/templating.py 2016-03-14 12:18:23 +0000
2716+++ charmhelpers/contrib/hardening/templating.py 2016-07-06 14:41:57 +0000
2717@@ -1,18 +1,16 @@
2718 # Copyright 2016 Canonical Limited.
2719 #
2720-# This file is part of charm-helpers.
2721-#
2722-# charm-helpers is free software: you can redistribute it and/or modify
2723-# it under the terms of the GNU Lesser General Public License version 3 as
2724-# published by the Free Software Foundation.
2725-#
2726-# charm-helpers is distributed in the hope that it will be useful,
2727-# but WITHOUT ANY WARRANTY; without even the implied warranty of
2728-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2729-# GNU Lesser General Public License for more details.
2730-#
2731-# You should have received a copy of the GNU Lesser General Public License
2732-# along with charm-helpers. If not, see <http://www.gnu.org/licenses/>.
2733+# Licensed under the Apache License, Version 2.0 (the "License");
2734+# you may not use this file except in compliance with the License.
2735+# You may obtain a copy of the License at
2736+#
2737+# http://www.apache.org/licenses/LICENSE-2.0
2738+#
2739+# Unless required by applicable law or agreed to in writing, software
2740+# distributed under the License is distributed on an "AS IS" BASIS,
2741+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
2742+# See the License for the specific language governing permissions and
2743+# limitations under the License.
2744
2745 import os
2746
2747
2748=== modified file 'charmhelpers/contrib/hardening/utils.py'
2749--- charmhelpers/contrib/hardening/utils.py 2016-03-21 10:35:31 +0000
2750+++ charmhelpers/contrib/hardening/utils.py 2016-07-06 14:41:57 +0000
2751@@ -1,18 +1,16 @@
2752 # Copyright 2016 Canonical Limited.
2753 #
2754-# This file is part of charm-helpers.
2755-#
2756-# charm-helpers is free software: you can redistribute it and/or modify
2757-# it under the terms of the GNU Lesser General Public License version 3 as
2758-# published by the Free Software Foundation.
2759-#
2760-# charm-helpers is distributed in the hope that it will be useful,
2761-# but WITHOUT ANY WARRANTY; without even the implied warranty of
2762-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2763-# GNU Lesser General Public License for more details.
2764-#
2765-# You should have received a copy of the GNU Lesser General Public License
2766-# along with charm-helpers. If not, see <http://www.gnu.org/licenses/>.
2767+# Licensed under the Apache License, Version 2.0 (the "License");
2768+# you may not use this file except in compliance with the License.
2769+# You may obtain a copy of the License at
2770+#
2771+# http://www.apache.org/licenses/LICENSE-2.0
2772+#
2773+# Unless required by applicable law or agreed to in writing, software
2774+# distributed under the License is distributed on an "AS IS" BASIS,
2775+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
2776+# See the License for the specific language governing permissions and
2777+# limitations under the License.
2778
2779 import glob
2780 import grp
2781
2782=== modified file 'charmhelpers/contrib/mellanox/__init__.py'
2783--- charmhelpers/contrib/mellanox/__init__.py 2015-09-03 21:06:38 +0000
2784+++ charmhelpers/contrib/mellanox/__init__.py 2016-07-06 14:41:57 +0000
2785@@ -0,0 +1,13 @@
2786+# Copyright 2016 Canonical Ltd
2787+#
2788+# Licensed under the Apache License, Version 2.0 (the "License");
2789+# you may not use this file except in compliance with the License.
2790+# You may obtain a copy of the License at
2791+#
2792+# http://www.apache.org/licenses/LICENSE-2.0
2793+#
2794+# Unless required by applicable law or agreed to in writing, software
2795+# distributed under the License is distributed on an "AS IS" BASIS,
2796+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
2797+# See the License for the specific language governing permissions and
2798+# limitations under the License.
2799
2800=== modified file 'charmhelpers/contrib/mellanox/infiniband.py'
2801--- charmhelpers/contrib/mellanox/infiniband.py 2015-09-03 21:42:41 +0000
2802+++ charmhelpers/contrib/mellanox/infiniband.py 2016-07-06 14:41:57 +0000
2803@@ -3,20 +3,17 @@
2804
2805 # Copyright 2014-2015 Canonical Limited.
2806 #
2807-# This file is part of charm-helpers.
2808-#
2809-# charm-helpers is free software: you can redistribute it and/or modify
2810-# it under the terms of the GNU Lesser General Public License version 3 as
2811-# published by the Free Software Foundation.
2812-#
2813-# charm-helpers is distributed in the hope that it will be useful,
2814-# but WITHOUT ANY WARRANTY; without even the implied warranty of
2815-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2816-# GNU Lesser General Public License for more details.
2817-#
2818-# You should have received a copy of the GNU Lesser General Public License
2819-# along with charm-helpers. If not, see <http://www.gnu.org/licenses/>.
2820-
2821+# Licensed under the Apache License, Version 2.0 (the "License");
2822+# you may not use this file except in compliance with the License.
2823+# You may obtain a copy of the License at
2824+#
2825+# http://www.apache.org/licenses/LICENSE-2.0
2826+#
2827+# Unless required by applicable law or agreed to in writing, software
2828+# distributed under the License is distributed on an "AS IS" BASIS,
2829+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
2830+# See the License for the specific language governing permissions and
2831+# limitations under the License.
2832
2833 __author__ = "Jorge Niedbalski <jorge.niedbalski@canonical.com>"
2834
2835
2836=== modified file 'charmhelpers/contrib/network/__init__.py'
2837--- charmhelpers/contrib/network/__init__.py 2015-01-22 06:08:24 +0000
2838+++ charmhelpers/contrib/network/__init__.py 2016-07-06 14:41:57 +0000
2839@@ -1,15 +1,13 @@
2840 # Copyright 2014-2015 Canonical Limited.
2841 #
2842-# This file is part of charm-helpers.
2843-#
2844-# charm-helpers is free software: you can redistribute it and/or modify
2845-# it under the terms of the GNU Lesser General Public License version 3 as
2846-# published by the Free Software Foundation.
2847-#
2848-# charm-helpers is distributed in the hope that it will be useful,
2849-# but WITHOUT ANY WARRANTY; without even the implied warranty of
2850-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2851-# GNU Lesser General Public License for more details.
2852-#
2853-# You should have received a copy of the GNU Lesser General Public License
2854-# along with charm-helpers. If not, see <http://www.gnu.org/licenses/>.
2855+# Licensed under the Apache License, Version 2.0 (the "License");
2856+# you may not use this file except in compliance with the License.
2857+# You may obtain a copy of the License at
2858+#
2859+# http://www.apache.org/licenses/LICENSE-2.0
2860+#
2861+# Unless required by applicable law or agreed to in writing, software
2862+# distributed under the License is distributed on an "AS IS" BASIS,
2863+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
2864+# See the License for the specific language governing permissions and
2865+# limitations under the License.
2866
2867=== modified file 'charmhelpers/contrib/network/ip.py'
2868--- charmhelpers/contrib/network/ip.py 2016-05-27 09:20:25 +0000
2869+++ charmhelpers/contrib/network/ip.py 2016-07-06 14:41:57 +0000
2870@@ -1,18 +1,16 @@
2871 # Copyright 2014-2015 Canonical Limited.
2872 #
2873-# This file is part of charm-helpers.
2874-#
2875-# charm-helpers is free software: you can redistribute it and/or modify
2876-# it under the terms of the GNU Lesser General Public License version 3 as
2877-# published by the Free Software Foundation.
2878-#
2879-# charm-helpers is distributed in the hope that it will be useful,
2880-# but WITHOUT ANY WARRANTY; without even the implied warranty of
2881-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2882-# GNU Lesser General Public License for more details.
2883-#
2884-# You should have received a copy of the GNU Lesser General Public License
2885-# along with charm-helpers. If not, see <http://www.gnu.org/licenses/>.
2886+# Licensed under the Apache License, Version 2.0 (the "License");
2887+# you may not use this file except in compliance with the License.
2888+# You may obtain a copy of the License at
2889+#
2890+# http://www.apache.org/licenses/LICENSE-2.0
2891+#
2892+# Unless required by applicable law or agreed to in writing, software
2893+# distributed under the License is distributed on an "AS IS" BASIS,
2894+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
2895+# See the License for the specific language governing permissions and
2896+# limitations under the License.
2897
2898 import glob
2899 import re
2900
2901=== modified file 'charmhelpers/contrib/network/ovs/__init__.py'
2902--- charmhelpers/contrib/network/ovs/__init__.py 2016-03-23 10:55:08 +0000
2903+++ charmhelpers/contrib/network/ovs/__init__.py 2016-07-06 14:41:57 +0000
2904@@ -1,18 +1,16 @@
2905 # Copyright 2014-2015 Canonical Limited.
2906 #
2907-# This file is part of charm-helpers.
2908-#
2909-# charm-helpers is free software: you can redistribute it and/or modify
2910-# it under the terms of the GNU Lesser General Public License version 3 as
2911-# published by the Free Software Foundation.
2912-#
2913-# charm-helpers is distributed in the hope that it will be useful,
2914-# but WITHOUT ANY WARRANTY; without even the implied warranty of
2915-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2916-# GNU Lesser General Public License for more details.
2917-#
2918-# You should have received a copy of the GNU Lesser General Public License
2919-# along with charm-helpers. If not, see <http://www.gnu.org/licenses/>.
2920+# Licensed under the Apache License, Version 2.0 (the "License");
2921+# you may not use this file except in compliance with the License.
2922+# You may obtain a copy of the License at
2923+#
2924+# http://www.apache.org/licenses/LICENSE-2.0
2925+#
2926+# Unless required by applicable law or agreed to in writing, software
2927+# distributed under the License is distributed on an "AS IS" BASIS,
2928+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
2929+# See the License for the specific language governing permissions and
2930+# limitations under the License.
2931
2932 ''' Helpers for interacting with OpenvSwitch '''
2933 import subprocess
2934
2935=== modified file 'charmhelpers/contrib/network/ufw.py'
2936--- charmhelpers/contrib/network/ufw.py 2015-09-03 14:22:08 +0000
2937+++ charmhelpers/contrib/network/ufw.py 2016-07-06 14:41:57 +0000
2938@@ -1,18 +1,16 @@
2939 # Copyright 2014-2015 Canonical Limited.
2940 #
2941-# This file is part of charm-helpers.
2942-#
2943-# charm-helpers is free software: you can redistribute it and/or modify
2944-# it under the terms of the GNU Lesser General Public License version 3 as
2945-# published by the Free Software Foundation.
2946-#
2947-# charm-helpers is distributed in the hope that it will be useful,
2948-# but WITHOUT ANY WARRANTY; without even the implied warranty of
2949-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2950-# GNU Lesser General Public License for more details.
2951-#
2952-# You should have received a copy of the GNU Lesser General Public License
2953-# along with charm-helpers. If not, see <http://www.gnu.org/licenses/>.
2954+# Licensed under the Apache License, Version 2.0 (the "License");
2955+# you may not use this file except in compliance with the License.
2956+# You may obtain a copy of the License at
2957+#
2958+# http://www.apache.org/licenses/LICENSE-2.0
2959+#
2960+# Unless required by applicable law or agreed to in writing, software
2961+# distributed under the License is distributed on an "AS IS" BASIS,
2962+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
2963+# See the License for the specific language governing permissions and
2964+# limitations under the License.
2965
2966 """
2967 This module contains helpers to add and remove ufw rules.
2968
2969=== modified file 'charmhelpers/contrib/openstack/__init__.py'
2970--- charmhelpers/contrib/openstack/__init__.py 2015-01-22 06:08:24 +0000
2971+++ charmhelpers/contrib/openstack/__init__.py 2016-07-06 14:41:57 +0000
2972@@ -1,15 +1,13 @@
2973 # Copyright 2014-2015 Canonical Limited.
2974 #
2975-# This file is part of charm-helpers.
2976-#
2977-# charm-helpers is free software: you can redistribute it and/or modify
2978-# it under the terms of the GNU Lesser General Public License version 3 as
2979-# published by the Free Software Foundation.
2980-#
2981-# charm-helpers is distributed in the hope that it will be useful,
2982-# but WITHOUT ANY WARRANTY; without even the implied warranty of
2983-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2984-# GNU Lesser General Public License for more details.
2985-#
2986-# You should have received a copy of the GNU Lesser General Public License
2987-# along with charm-helpers. If not, see <http://www.gnu.org/licenses/>.
2988+# Licensed under the Apache License, Version 2.0 (the "License");
2989+# you may not use this file except in compliance with the License.
2990+# You may obtain a copy of the License at
2991+#
2992+# http://www.apache.org/licenses/LICENSE-2.0
2993+#
2994+# Unless required by applicable law or agreed to in writing, software
2995+# distributed under the License is distributed on an "AS IS" BASIS,
2996+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
2997+# See the License for the specific language governing permissions and
2998+# limitations under the License.
2999
3000=== modified file 'charmhelpers/contrib/openstack/alternatives.py'
3001--- charmhelpers/contrib/openstack/alternatives.py 2015-01-22 06:06:03 +0000
3002+++ charmhelpers/contrib/openstack/alternatives.py 2016-07-06 14:41:57 +0000
3003@@ -1,18 +1,16 @@
3004 # Copyright 2014-2015 Canonical Limited.
3005 #
3006-# This file is part of charm-helpers.
3007-#
3008-# charm-helpers is free software: you can redistribute it and/or modify
3009-# it under the terms of the GNU Lesser General Public License version 3 as
3010-# published by the Free Software Foundation.
3011-#
3012-# charm-helpers is distributed in the hope that it will be useful,
3013-# but WITHOUT ANY WARRANTY; without even the implied warranty of
3014-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3015-# GNU Lesser General Public License for more details.
3016-#
3017-# You should have received a copy of the GNU Lesser General Public License
3018-# along with charm-helpers. If not, see <http://www.gnu.org/licenses/>.
3019+# Licensed under the Apache License, Version 2.0 (the "License");
3020+# you may not use this file except in compliance with the License.
3021+# You may obtain a copy of the License at
3022+#
3023+# http://www.apache.org/licenses/LICENSE-2.0
3024+#
3025+# Unless required by applicable law or agreed to in writing, software
3026+# distributed under the License is distributed on an "AS IS" BASIS,
3027+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
3028+# See the License for the specific language governing permissions and
3029+# limitations under the License.
3030
3031 ''' Helper for managing alternatives for file conflict resolution '''
3032
3033
3034=== modified file 'charmhelpers/contrib/openstack/amulet/__init__.py'
3035--- charmhelpers/contrib/openstack/amulet/__init__.py 2015-01-22 06:08:24 +0000
3036+++ charmhelpers/contrib/openstack/amulet/__init__.py 2016-07-06 14:41:57 +0000
3037@@ -1,15 +1,13 @@
3038 # Copyright 2014-2015 Canonical Limited.
3039 #
3040-# This file is part of charm-helpers.
3041-#
3042-# charm-helpers is free software: you can redistribute it and/or modify
3043-# it under the terms of the GNU Lesser General Public License version 3 as
3044-# published by the Free Software Foundation.
3045-#
3046-# charm-helpers is distributed in the hope that it will be useful,
3047-# but WITHOUT ANY WARRANTY; without even the implied warranty of
3048-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3049-# GNU Lesser General Public License for more details.
3050-#
3051-# You should have received a copy of the GNU Lesser General Public License
3052-# along with charm-helpers. If not, see <http://www.gnu.org/licenses/>.
3053+# Licensed under the Apache License, Version 2.0 (the "License");
3054+# you may not use this file except in compliance with the License.
3055+# You may obtain a copy of the License at
3056+#
3057+# http://www.apache.org/licenses/LICENSE-2.0
3058+#
3059+# Unless required by applicable law or agreed to in writing, software
3060+# distributed under the License is distributed on an "AS IS" BASIS,
3061+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
3062+# See the License for the specific language governing permissions and
3063+# limitations under the License.
3064
3065=== modified file 'charmhelpers/contrib/openstack/amulet/deployment.py'
3066--- charmhelpers/contrib/openstack/amulet/deployment.py 2016-06-23 07:51:32 +0000
3067+++ charmhelpers/contrib/openstack/amulet/deployment.py 2016-07-06 14:41:57 +0000
3068@@ -1,18 +1,16 @@
3069 # Copyright 2014-2015 Canonical Limited.
3070 #
3071-# This file is part of charm-helpers.
3072-#
3073-# charm-helpers is free software: you can redistribute it and/or modify
3074-# it under the terms of the GNU Lesser General Public License version 3 as
3075-# published by the Free Software Foundation.
3076-#
3077-# charm-helpers is distributed in the hope that it will be useful,
3078-# but WITHOUT ANY WARRANTY; without even the implied warranty of
3079-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3080-# GNU Lesser General Public License for more details.
3081-#
3082-# You should have received a copy of the GNU Lesser General Public License
3083-# along with charm-helpers. If not, see <http://www.gnu.org/licenses/>.
3084+# Licensed under the Apache License, Version 2.0 (the "License");
3085+# you may not use this file except in compliance with the License.
3086+# You may obtain a copy of the License at
3087+#
3088+# http://www.apache.org/licenses/LICENSE-2.0
3089+#
3090+# Unless required by applicable law or agreed to in writing, software
3091+# distributed under the License is distributed on an "AS IS" BASIS,
3092+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
3093+# See the License for the specific language governing permissions and
3094+# limitations under the License.
3095
3096 import logging
3097 import re
3098
3099=== modified file 'charmhelpers/contrib/openstack/amulet/utils.py'
3100--- charmhelpers/contrib/openstack/amulet/utils.py 2016-03-15 15:34:28 +0000
3101+++ charmhelpers/contrib/openstack/amulet/utils.py 2016-07-06 14:41:57 +0000
3102@@ -1,18 +1,16 @@
3103 # Copyright 2014-2015 Canonical Limited.
3104 #
3105-# This file is part of charm-helpers.
3106-#
3107-# charm-helpers is free software: you can redistribute it and/or modify
3108-# it under the terms of the GNU Lesser General Public License version 3 as
3109-# published by the Free Software Foundation.
3110-#
3111-# charm-helpers is distributed in the hope that it will be useful,
3112-# but WITHOUT ANY WARRANTY; without even the implied warranty of
3113-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3114-# GNU Lesser General Public License for more details.
3115-#
3116-# You should have received a copy of the GNU Lesser General Public License
3117-# along with charm-helpers. If not, see <http://www.gnu.org/licenses/>.
3118+# Licensed under the Apache License, Version 2.0 (the "License");
3119+# you may not use this file except in compliance with the License.
3120+# You may obtain a copy of the License at
3121+#
3122+# http://www.apache.org/licenses/LICENSE-2.0
3123+#
3124+# Unless required by applicable law or agreed to in writing, software
3125+# distributed under the License is distributed on an "AS IS" BASIS,
3126+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
3127+# See the License for the specific language governing permissions and
3128+# limitations under the License.
3129
3130 import amulet
3131 import json
3132
3133=== modified file 'charmhelpers/contrib/openstack/context.py'
3134--- charmhelpers/contrib/openstack/context.py 2016-06-30 22:30:21 +0000
3135+++ charmhelpers/contrib/openstack/context.py 2016-07-06 14:41:57 +0000
3136@@ -1,18 +1,16 @@
3137 # Copyright 2014-2015 Canonical Limited.
3138 #
3139-# This file is part of charm-helpers.
3140-#
3141-# charm-helpers is free software: you can redistribute it and/or modify
3142-# it under the terms of the GNU Lesser General Public License version 3 as
3143-# published by the Free Software Foundation.
3144-#
3145-# charm-helpers is distributed in the hope that it will be useful,
3146-# but WITHOUT ANY WARRANTY; without even the implied warranty of
3147-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3148-# GNU Lesser General Public License for more details.
3149-#
3150-# You should have received a copy of the GNU Lesser General Public License
3151-# along with charm-helpers. If not, see <http://www.gnu.org/licenses/>.
3152+# Licensed under the Apache License, Version 2.0 (the "License");
3153+# you may not use this file except in compliance with the License.
3154+# You may obtain a copy of the License at
3155+#
3156+# http://www.apache.org/licenses/LICENSE-2.0
3157+#
3158+# Unless required by applicable law or agreed to in writing, software
3159+# distributed under the License is distributed on an "AS IS" BASIS,
3160+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
3161+# See the License for the specific language governing permissions and
3162+# limitations under the License.
3163
3164 import glob
3165 import json
3166
3167=== modified file 'charmhelpers/contrib/openstack/exceptions.py'
3168--- charmhelpers/contrib/openstack/exceptions.py 2016-05-25 12:22:42 +0000
3169+++ charmhelpers/contrib/openstack/exceptions.py 2016-07-06 14:41:57 +0000
3170@@ -1,3 +1,17 @@
3171+# Copyright 2016 Canonical Ltd
3172+#
3173+# Licensed under the Apache License, Version 2.0 (the "License");
3174+# you may not use this file except in compliance with the License.
3175+# You may obtain a copy of the License at
3176+#
3177+# http://www.apache.org/licenses/LICENSE-2.0
3178+#
3179+# Unless required by applicable law or agreed to in writing, software
3180+# distributed under the License is distributed on an "AS IS" BASIS,
3181+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
3182+# See the License for the specific language governing permissions and
3183+# limitations under the License.
3184+
3185 class OSContextError(Exception):
3186 """Raised when an error occurs during context generation.
3187
3188
3189=== modified file 'charmhelpers/contrib/openstack/files/__init__.py'
3190--- charmhelpers/contrib/openstack/files/__init__.py 2015-02-17 07:11:43 +0000
3191+++ charmhelpers/contrib/openstack/files/__init__.py 2016-07-06 14:41:57 +0000
3192@@ -1,18 +1,16 @@
3193 # Copyright 2014-2015 Canonical Limited.
3194 #
3195-# This file is part of charm-helpers.
3196-#
3197-# charm-helpers is free software: you can redistribute it and/or modify
3198-# it under the terms of the GNU Lesser General Public License version 3 as
3199-# published by the Free Software Foundation.
3200-#
3201-# charm-helpers is distributed in the hope that it will be useful,
3202-# but WITHOUT ANY WARRANTY; without even the implied warranty of
3203-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3204-# GNU Lesser General Public License for more details.
3205-#
3206-# You should have received a copy of the GNU Lesser General Public License
3207-# along with charm-helpers. If not, see <http://www.gnu.org/licenses/>.
3208+# Licensed under the Apache License, Version 2.0 (the "License");
3209+# you may not use this file except in compliance with the License.
3210+# You may obtain a copy of the License at
3211+#
3212+# http://www.apache.org/licenses/LICENSE-2.0
3213+#
3214+# Unless required by applicable law or agreed to in writing, software
3215+# distributed under the License is distributed on an "AS IS" BASIS,
3216+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
3217+# See the License for the specific language governing permissions and
3218+# limitations under the License.
3219
3220 # dummy __init__.py to fool syncer into thinking this is a syncable python
3221 # module
3222
3223=== modified file 'charmhelpers/contrib/openstack/ha/__init__.py'
3224--- charmhelpers/contrib/openstack/ha/__init__.py 2016-06-10 16:57:18 +0000
3225+++ charmhelpers/contrib/openstack/ha/__init__.py 2016-07-06 14:41:57 +0000
3226@@ -0,0 +1,13 @@
3227+# Copyright 2016 Canonical Ltd
3228+#
3229+# Licensed under the Apache License, Version 2.0 (the "License");
3230+# you may not use this file except in compliance with the License.
3231+# You may obtain a copy of the License at
3232+#
3233+# http://www.apache.org/licenses/LICENSE-2.0
3234+#
3235+# Unless required by applicable law or agreed to in writing, software
3236+# distributed under the License is distributed on an "AS IS" BASIS,
3237+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
3238+# See the License for the specific language governing permissions and
3239+# limitations under the License.
3240
3241=== modified file 'charmhelpers/contrib/openstack/ha/utils.py'
3242--- charmhelpers/contrib/openstack/ha/utils.py 2016-06-17 20:10:31 +0000
3243+++ charmhelpers/contrib/openstack/ha/utils.py 2016-07-06 14:41:57 +0000
3244@@ -1,18 +1,16 @@
3245 # Copyright 2014-2016 Canonical Limited.
3246 #
3247-# This file is part of charm-helpers.
3248-#
3249-# charm-helpers is free software: you can redistribute it and/or modify
3250-# it under the terms of the GNU Lesser General Public License version 3 as
3251-# published by the Free Software Foundation.
3252-#
3253-# charm-helpers is distributed in the hope that it will be useful,
3254-# but WITHOUT ANY WARRANTY; without even the implied warranty of
3255-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3256-# GNU Lesser General Public License for more details.
3257-#
3258-# You should have received a copy of the GNU Lesser General Public License
3259-# along with charm-helpers. If not, see <http://www.gnu.org/licenses/>.
3260+# Licensed under the Apache License, Version 2.0 (the "License");
3261+# you may not use this file except in compliance with the License.
3262+# You may obtain a copy of the License at
3263+#
3264+# http://www.apache.org/licenses/LICENSE-2.0
3265+#
3266+# Unless required by applicable law or agreed to in writing, software
3267+# distributed under the License is distributed on an "AS IS" BASIS,
3268+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
3269+# See the License for the specific language governing permissions and
3270+# limitations under the License.
3271
3272 #
3273 # Copyright 2016 Canonical Ltd.
3274
3275=== modified file 'charmhelpers/contrib/openstack/ip.py'
3276--- charmhelpers/contrib/openstack/ip.py 2016-06-10 16:57:18 +0000
3277+++ charmhelpers/contrib/openstack/ip.py 2016-07-06 14:41:57 +0000
3278@@ -1,19 +1,16 @@
3279 # Copyright 2014-2015 Canonical Limited.
3280 #
3281-# This file is part of charm-helpers.
3282-#
3283-# charm-helpers is free software: you can redistribute it and/or modify
3284-# it under the terms of the GNU Lesser General Public License version 3 as
3285-# published by the Free Software Foundation.
3286-#
3287-# charm-helpers is distributed in the hope that it will be useful,
3288-# but WITHOUT ANY WARRANTY; without even the implied warranty of
3289-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3290-# GNU Lesser General Public License for more details.
3291-#
3292-# You should have received a copy of the GNU Lesser General Public License
3293-# along with charm-helpers. If not, see <http://www.gnu.org/licenses/>.
3294-
3295+# Licensed under the Apache License, Version 2.0 (the "License");
3296+# you may not use this file except in compliance with the License.
3297+# You may obtain a copy of the License at
3298+#
3299+# http://www.apache.org/licenses/LICENSE-2.0
3300+#
3301+# Unless required by applicable law or agreed to in writing, software
3302+# distributed under the License is distributed on an "AS IS" BASIS,
3303+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
3304+# See the License for the specific language governing permissions and
3305+# limitations under the License.
3306
3307 from charmhelpers.core.hookenv import (
3308 config,
3309
3310=== modified file 'charmhelpers/contrib/openstack/neutron.py'
3311--- charmhelpers/contrib/openstack/neutron.py 2016-03-01 20:08:54 +0000
3312+++ charmhelpers/contrib/openstack/neutron.py 2016-07-06 14:41:57 +0000
3313@@ -1,18 +1,16 @@
3314 # Copyright 2014-2015 Canonical Limited.
3315 #
3316-# This file is part of charm-helpers.
3317-#
3318-# charm-helpers is free software: you can redistribute it and/or modify
3319-# it under the terms of the GNU Lesser General Public License version 3 as
3320-# published by the Free Software Foundation.
3321-#
3322-# charm-helpers is distributed in the hope that it will be useful,
3323-# but WITHOUT ANY WARRANTY; without even the implied warranty of
3324-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3325-# GNU Lesser General Public License for more details.
3326-#
3327-# You should have received a copy of the GNU Lesser General Public License
3328-# along with charm-helpers. If not, see <http://www.gnu.org/licenses/>.
3329+# Licensed under the Apache License, Version 2.0 (the "License");
3330+# you may not use this file except in compliance with the License.
3331+# You may obtain a copy of the License at
3332+#
3333+# http://www.apache.org/licenses/LICENSE-2.0
3334+#
3335+# Unless required by applicable law or agreed to in writing, software
3336+# distributed under the License is distributed on an "AS IS" BASIS,
3337+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
3338+# See the License for the specific language governing permissions and
3339+# limitations under the License.
3340
3341 # Various utilies for dealing with Neutron and the renaming from Quantum.
3342
3343
3344=== modified file 'charmhelpers/contrib/openstack/templates/__init__.py'
3345--- charmhelpers/contrib/openstack/templates/__init__.py 2015-01-22 06:06:03 +0000
3346+++ charmhelpers/contrib/openstack/templates/__init__.py 2016-07-06 14:41:57 +0000
3347@@ -1,18 +1,16 @@
3348 # Copyright 2014-2015 Canonical Limited.
3349 #
3350-# This file is part of charm-helpers.
3351-#
3352-# charm-helpers is free software: you can redistribute it and/or modify
3353-# it under the terms of the GNU Lesser General Public License version 3 as
3354-# published by the Free Software Foundation.
3355-#
3356-# charm-helpers is distributed in the hope that it will be useful,
3357-# but WITHOUT ANY WARRANTY; without even the implied warranty of
3358-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3359-# GNU Lesser General Public License for more details.
3360-#
3361-# You should have received a copy of the GNU Lesser General Public License
3362-# along with charm-helpers. If not, see <http://www.gnu.org/licenses/>.
3363+# Licensed under the Apache License, Version 2.0 (the "License");
3364+# you may not use this file except in compliance with the License.
3365+# You may obtain a copy of the License at
3366+#
3367+# http://www.apache.org/licenses/LICENSE-2.0
3368+#
3369+# Unless required by applicable law or agreed to in writing, software
3370+# distributed under the License is distributed on an "AS IS" BASIS,
3371+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
3372+# See the License for the specific language governing permissions and
3373+# limitations under the License.
3374
3375 # dummy __init__.py to fool syncer into thinking this is a syncable python
3376 # module
3377
3378=== modified file 'charmhelpers/contrib/openstack/templating.py'
3379--- charmhelpers/contrib/openstack/templating.py 2015-09-18 07:24:58 +0000
3380+++ charmhelpers/contrib/openstack/templating.py 2016-07-06 14:41:57 +0000
3381@@ -1,18 +1,16 @@
3382 # Copyright 2014-2015 Canonical Limited.
3383 #
3384-# This file is part of charm-helpers.
3385-#
3386-# charm-helpers is free software: you can redistribute it and/or modify
3387-# it under the terms of the GNU Lesser General Public License version 3 as
3388-# published by the Free Software Foundation.
3389-#
3390-# charm-helpers is distributed in the hope that it will be useful,
3391-# but WITHOUT ANY WARRANTY; without even the implied warranty of
3392-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3393-# GNU Lesser General Public License for more details.
3394-#
3395-# You should have received a copy of the GNU Lesser General Public License
3396-# along with charm-helpers. If not, see <http://www.gnu.org/licenses/>.
3397+# Licensed under the Apache License, Version 2.0 (the "License");
3398+# you may not use this file except in compliance with the License.
3399+# You may obtain a copy of the License at
3400+#
3401+# http://www.apache.org/licenses/LICENSE-2.0
3402+#
3403+# Unless required by applicable law or agreed to in writing, software
3404+# distributed under the License is distributed on an "AS IS" BASIS,
3405+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
3406+# See the License for the specific language governing permissions and
3407+# limitations under the License.
3408
3409 import os
3410
3411
3412=== modified file 'charmhelpers/contrib/openstack/utils.py'
3413--- charmhelpers/contrib/openstack/utils.py 2016-06-29 20:10:40 +0000
3414+++ charmhelpers/contrib/openstack/utils.py 2016-07-06 14:41:57 +0000
3415@@ -1,18 +1,16 @@
3416 # Copyright 2014-2015 Canonical Limited.
3417 #
3418-# This file is part of charm-helpers.
3419-#
3420-# charm-helpers is free software: you can redistribute it and/or modify
3421-# it under the terms of the GNU Lesser General Public License version 3 as
3422-# published by the Free Software Foundation.
3423-#
3424-# charm-helpers is distributed in the hope that it will be useful,
3425-# but WITHOUT ANY WARRANTY; without even the implied warranty of
3426-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3427-# GNU Lesser General Public License for more details.
3428-#
3429-# You should have received a copy of the GNU Lesser General Public License
3430-# along with charm-helpers. If not, see <http://www.gnu.org/licenses/>.
3431+# Licensed under the Apache License, Version 2.0 (the "License");
3432+# you may not use this file except in compliance with the License.
3433+# You may obtain a copy of the License at
3434+#
3435+# http://www.apache.org/licenses/LICENSE-2.0
3436+#
3437+# Unless required by applicable law or agreed to in writing, software
3438+# distributed under the License is distributed on an "AS IS" BASIS,
3439+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
3440+# See the License for the specific language governing permissions and
3441+# limitations under the License.
3442
3443 # Common python helper functions used for OpenStack charms.
3444 from collections import OrderedDict
3445
3446=== modified file 'charmhelpers/contrib/peerstorage/__init__.py'
3447--- charmhelpers/contrib/peerstorage/__init__.py 2015-08-03 13:23:37 +0000
3448+++ charmhelpers/contrib/peerstorage/__init__.py 2016-07-06 14:41:57 +0000
3449@@ -1,18 +1,16 @@
3450 # Copyright 2014-2015 Canonical Limited.
3451 #
3452-# This file is part of charm-helpers.
3453-#
3454-# charm-helpers is free software: you can redistribute it and/or modify
3455-# it under the terms of the GNU Lesser General Public License version 3 as
3456-# published by the Free Software Foundation.
3457-#
3458-# charm-helpers is distributed in the hope that it will be useful,
3459-# but WITHOUT ANY WARRANTY; without even the implied warranty of
3460-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3461-# GNU Lesser General Public License for more details.
3462-#
3463-# You should have received a copy of the GNU Lesser General Public License
3464-# along with charm-helpers. If not, see <http://www.gnu.org/licenses/>.
3465+# Licensed under the Apache License, Version 2.0 (the "License");
3466+# you may not use this file except in compliance with the License.
3467+# You may obtain a copy of the License at
3468+#
3469+# http://www.apache.org/licenses/LICENSE-2.0
3470+#
3471+# Unless required by applicable law or agreed to in writing, software
3472+# distributed under the License is distributed on an "AS IS" BASIS,
3473+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
3474+# See the License for the specific language governing permissions and
3475+# limitations under the License.
3476
3477 import json
3478 import six
3479
3480=== modified file 'charmhelpers/contrib/python/__init__.py'
3481--- charmhelpers/contrib/python/__init__.py 2015-01-22 06:08:24 +0000
3482+++ charmhelpers/contrib/python/__init__.py 2016-07-06 14:41:57 +0000
3483@@ -1,15 +1,13 @@
3484 # Copyright 2014-2015 Canonical Limited.
3485 #
3486-# This file is part of charm-helpers.
3487-#
3488-# charm-helpers is free software: you can redistribute it and/or modify
3489-# it under the terms of the GNU Lesser General Public License version 3 as
3490-# published by the Free Software Foundation.
3491-#
3492-# charm-helpers is distributed in the hope that it will be useful,
3493-# but WITHOUT ANY WARRANTY; without even the implied warranty of
3494-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3495-# GNU Lesser General Public License for more details.
3496-#
3497-# You should have received a copy of the GNU Lesser General Public License
3498-# along with charm-helpers. If not, see <http://www.gnu.org/licenses/>.
3499+# Licensed under the Apache License, Version 2.0 (the "License");
3500+# you may not use this file except in compliance with the License.
3501+# You may obtain a copy of the License at
3502+#
3503+# http://www.apache.org/licenses/LICENSE-2.0
3504+#
3505+# Unless required by applicable law or agreed to in writing, software
3506+# distributed under the License is distributed on an "AS IS" BASIS,
3507+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
3508+# See the License for the specific language governing permissions and
3509+# limitations under the License.
3510
3511=== modified file 'charmhelpers/contrib/python/debug.py'
3512--- charmhelpers/contrib/python/debug.py 2015-02-11 21:41:57 +0000
3513+++ charmhelpers/contrib/python/debug.py 2016-07-06 14:41:57 +0000
3514@@ -3,19 +3,17 @@
3515
3516 # Copyright 2014-2015 Canonical Limited.
3517 #
3518-# This file is part of charm-helpers.
3519-#
3520-# charm-helpers is free software: you can redistribute it and/or modify
3521-# it under the terms of the GNU Lesser General Public License version 3 as
3522-# published by the Free Software Foundation.
3523-#
3524-# charm-helpers is distributed in the hope that it will be useful,
3525-# but WITHOUT ANY WARRANTY; without even the implied warranty of
3526-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3527-# GNU Lesser General Public License for more details.
3528-#
3529-# You should have received a copy of the GNU Lesser General Public License
3530-# along with charm-helpers. If not, see <http://www.gnu.org/licenses/>.
3531+# Licensed under the Apache License, Version 2.0 (the "License");
3532+# you may not use this file except in compliance with the License.
3533+# You may obtain a copy of the License at
3534+#
3535+# http://www.apache.org/licenses/LICENSE-2.0
3536+#
3537+# Unless required by applicable law or agreed to in writing, software
3538+# distributed under the License is distributed on an "AS IS" BASIS,
3539+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
3540+# See the License for the specific language governing permissions and
3541+# limitations under the License.
3542
3543 from __future__ import print_function
3544
3545
3546=== modified file 'charmhelpers/contrib/python/packages.py'
3547--- charmhelpers/contrib/python/packages.py 2016-06-24 20:55:58 +0000
3548+++ charmhelpers/contrib/python/packages.py 2016-07-06 14:41:57 +0000
3549@@ -3,19 +3,17 @@
3550
3551 # Copyright 2014-2015 Canonical Limited.
3552 #
3553-# This file is part of charm-helpers.
3554-#
3555-# charm-helpers is free software: you can redistribute it and/or modify
3556-# it under the terms of the GNU Lesser General Public License version 3 as
3557-# published by the Free Software Foundation.
3558-#
3559-# charm-helpers is distributed in the hope that it will be useful,
3560-# but WITHOUT ANY WARRANTY; without even the implied warranty of
3561-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3562-# GNU Lesser General Public License for more details.
3563-#
3564-# You should have received a copy of the GNU Lesser General Public License
3565-# along with charm-helpers. If not, see <http://www.gnu.org/licenses/>.
3566+# Licensed under the Apache License, Version 2.0 (the "License");
3567+# you may not use this file except in compliance with the License.
3568+# You may obtain a copy of the License at
3569+#
3570+# http://www.apache.org/licenses/LICENSE-2.0
3571+#
3572+# Unless required by applicable law or agreed to in writing, software
3573+# distributed under the License is distributed on an "AS IS" BASIS,
3574+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
3575+# See the License for the specific language governing permissions and
3576+# limitations under the License.
3577
3578 import os
3579 import subprocess
3580
3581=== modified file 'charmhelpers/contrib/python/rpdb.py'
3582--- charmhelpers/contrib/python/rpdb.py 2015-02-11 21:41:57 +0000
3583+++ charmhelpers/contrib/python/rpdb.py 2016-07-06 14:41:57 +0000
3584@@ -1,18 +1,16 @@
3585 # Copyright 2014-2015 Canonical Limited.
3586 #
3587-# This file is part of charm-helpers.
3588-#
3589-# charm-helpers is free software: you can redistribute it and/or modify
3590-# it under the terms of the GNU Lesser General Public License version 3 as
3591-# published by the Free Software Foundation.
3592-#
3593-# charm-helpers is distributed in the hope that it will be useful,
3594-# but WITHOUT ANY WARRANTY; without even the implied warranty of
3595-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3596-# GNU Lesser General Public License for more details.
3597-#
3598-# You should have received a copy of the GNU Lesser General Public License
3599-# along with charm-helpers. If not, see <http://www.gnu.org/licenses/>.
3600+# Licensed under the Apache License, Version 2.0 (the "License");
3601+# you may not use this file except in compliance with the License.
3602+# You may obtain a copy of the License at
3603+#
3604+# http://www.apache.org/licenses/LICENSE-2.0
3605+#
3606+# Unless required by applicable law or agreed to in writing, software
3607+# distributed under the License is distributed on an "AS IS" BASIS,
3608+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
3609+# See the License for the specific language governing permissions and
3610+# limitations under the License.
3611
3612 """Remote Python Debugger (pdb wrapper)."""
3613
3614
3615=== modified file 'charmhelpers/contrib/python/version.py'
3616--- charmhelpers/contrib/python/version.py 2015-02-11 21:41:57 +0000
3617+++ charmhelpers/contrib/python/version.py 2016-07-06 14:41:57 +0000
3618@@ -3,19 +3,17 @@
3619
3620 # Copyright 2014-2015 Canonical Limited.
3621 #
3622-# This file is part of charm-helpers.
3623-#
3624-# charm-helpers is free software: you can redistribute it and/or modify
3625-# it under the terms of the GNU Lesser General Public License version 3 as
3626-# published by the Free Software Foundation.
3627-#
3628-# charm-helpers is distributed in the hope that it will be useful,
3629-# but WITHOUT ANY WARRANTY; without even the implied warranty of
3630-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3631-# GNU Lesser General Public License for more details.
3632-#
3633-# You should have received a copy of the GNU Lesser General Public License
3634-# along with charm-helpers. If not, see <http://www.gnu.org/licenses/>.
3635+# Licensed under the Apache License, Version 2.0 (the "License");
3636+# you may not use this file except in compliance with the License.
3637+# You may obtain a copy of the License at
3638+#
3639+# http://www.apache.org/licenses/LICENSE-2.0
3640+#
3641+# Unless required by applicable law or agreed to in writing, software
3642+# distributed under the License is distributed on an "AS IS" BASIS,
3643+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
3644+# See the License for the specific language governing permissions and
3645+# limitations under the License.
3646
3647 import sys
3648
3649
3650=== modified file 'charmhelpers/contrib/saltstack/__init__.py'
3651--- charmhelpers/contrib/saltstack/__init__.py 2015-01-22 06:06:03 +0000
3652+++ charmhelpers/contrib/saltstack/__init__.py 2016-07-06 14:41:57 +0000
3653@@ -1,18 +1,16 @@
3654 # Copyright 2014-2015 Canonical Limited.
3655 #
3656-# This file is part of charm-helpers.
3657-#
3658-# charm-helpers is free software: you can redistribute it and/or modify
3659-# it under the terms of the GNU Lesser General Public License version 3 as
3660-# published by the Free Software Foundation.
3661-#
3662-# charm-helpers is distributed in the hope that it will be useful,
3663-# but WITHOUT ANY WARRANTY; without even the implied warranty of
3664-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3665-# GNU Lesser General Public License for more details.
3666-#
3667-# You should have received a copy of the GNU Lesser General Public License
3668-# along with charm-helpers. If not, see <http://www.gnu.org/licenses/>.
3669+# Licensed under the Apache License, Version 2.0 (the "License");
3670+# you may not use this file except in compliance with the License.
3671+# You may obtain a copy of the License at
3672+#
3673+# http://www.apache.org/licenses/LICENSE-2.0
3674+#
3675+# Unless required by applicable law or agreed to in writing, software
3676+# distributed under the License is distributed on an "AS IS" BASIS,
3677+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
3678+# See the License for the specific language governing permissions and
3679+# limitations under the License.
3680
3681 """Charm Helpers saltstack - declare the state of your machines.
3682
3683
3684=== modified file 'charmhelpers/contrib/ssl/__init__.py'
3685--- charmhelpers/contrib/ssl/__init__.py 2015-01-22 06:06:03 +0000
3686+++ charmhelpers/contrib/ssl/__init__.py 2016-07-06 14:41:57 +0000
3687@@ -1,18 +1,16 @@
3688 # Copyright 2014-2015 Canonical Limited.
3689 #
3690-# This file is part of charm-helpers.
3691-#
3692-# charm-helpers is free software: you can redistribute it and/or modify
3693-# it under the terms of the GNU Lesser General Public License version 3 as
3694-# published by the Free Software Foundation.
3695-#
3696-# charm-helpers is distributed in the hope that it will be useful,
3697-# but WITHOUT ANY WARRANTY; without even the implied warranty of
3698-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3699-# GNU Lesser General Public License for more details.
3700-#
3701-# You should have received a copy of the GNU Lesser General Public License
3702-# along with charm-helpers. If not, see <http://www.gnu.org/licenses/>.
3703+# Licensed under the Apache License, Version 2.0 (the "License");
3704+# you may not use this file except in compliance with the License.
3705+# You may obtain a copy of the License at
3706+#
3707+# http://www.apache.org/licenses/LICENSE-2.0
3708+#
3709+# Unless required by applicable law or agreed to in writing, software
3710+# distributed under the License is distributed on an "AS IS" BASIS,
3711+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
3712+# See the License for the specific language governing permissions and
3713+# limitations under the License.
3714
3715 import subprocess
3716 from charmhelpers.core import hookenv
3717
3718=== modified file 'charmhelpers/contrib/ssl/service.py'
3719--- charmhelpers/contrib/ssl/service.py 2015-04-16 01:38:48 +0000
3720+++ charmhelpers/contrib/ssl/service.py 2016-07-06 14:41:57 +0000
3721@@ -1,18 +1,16 @@
3722 # Copyright 2014-2015 Canonical Limited.
3723 #
3724-# This file is part of charm-helpers.
3725-#
3726-# charm-helpers is free software: you can redistribute it and/or modify
3727-# it under the terms of the GNU Lesser General Public License version 3 as
3728-# published by the Free Software Foundation.
3729-#
3730-# charm-helpers is distributed in the hope that it will be useful,
3731-# but WITHOUT ANY WARRANTY; without even the implied warranty of
3732-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3733-# GNU Lesser General Public License for more details.
3734-#
3735-# You should have received a copy of the GNU Lesser General Public License
3736-# along with charm-helpers. If not, see <http://www.gnu.org/licenses/>.
3737+# Licensed under the Apache License, Version 2.0 (the "License");
3738+# you may not use this file except in compliance with the License.
3739+# You may obtain a copy of the License at
3740+#
3741+# http://www.apache.org/licenses/LICENSE-2.0
3742+#
3743+# Unless required by applicable law or agreed to in writing, software
3744+# distributed under the License is distributed on an "AS IS" BASIS,
3745+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
3746+# See the License for the specific language governing permissions and
3747+# limitations under the License.
3748
3749 import os
3750 from os.path import join as path_join
3751
3752=== modified file 'charmhelpers/contrib/storage/__init__.py'
3753--- charmhelpers/contrib/storage/__init__.py 2015-01-22 06:08:24 +0000
3754+++ charmhelpers/contrib/storage/__init__.py 2016-07-06 14:41:57 +0000
3755@@ -1,15 +1,13 @@
3756 # Copyright 2014-2015 Canonical Limited.
3757 #
3758-# This file is part of charm-helpers.
3759-#
3760-# charm-helpers is free software: you can redistribute it and/or modify
3761-# it under the terms of the GNU Lesser General Public License version 3 as
3762-# published by the Free Software Foundation.
3763-#
3764-# charm-helpers is distributed in the hope that it will be useful,
3765-# but WITHOUT ANY WARRANTY; without even the implied warranty of
3766-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3767-# GNU Lesser General Public License for more details.
3768-#
3769-# You should have received a copy of the GNU Lesser General Public License
3770-# along with charm-helpers. If not, see <http://www.gnu.org/licenses/>.
3771+# Licensed under the Apache License, Version 2.0 (the "License");
3772+# you may not use this file except in compliance with the License.
3773+# You may obtain a copy of the License at
3774+#
3775+# http://www.apache.org/licenses/LICENSE-2.0
3776+#
3777+# Unless required by applicable law or agreed to in writing, software
3778+# distributed under the License is distributed on an "AS IS" BASIS,
3779+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
3780+# See the License for the specific language governing permissions and
3781+# limitations under the License.
3782
3783=== modified file 'charmhelpers/contrib/storage/linux/__init__.py'
3784--- charmhelpers/contrib/storage/linux/__init__.py 2015-01-22 06:08:24 +0000
3785+++ charmhelpers/contrib/storage/linux/__init__.py 2016-07-06 14:41:57 +0000
3786@@ -1,15 +1,13 @@
3787 # Copyright 2014-2015 Canonical Limited.
3788 #
3789-# This file is part of charm-helpers.
3790-#
3791-# charm-helpers is free software: you can redistribute it and/or modify
3792-# it under the terms of the GNU Lesser General Public License version 3 as
3793-# published by the Free Software Foundation.
3794-#
3795-# charm-helpers is distributed in the hope that it will be useful,
3796-# but WITHOUT ANY WARRANTY; without even the implied warranty of
3797-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3798-# GNU Lesser General Public License for more details.
3799-#
3800-# You should have received a copy of the GNU Lesser General Public License
3801-# along with charm-helpers. If not, see <http://www.gnu.org/licenses/>.
3802+# Licensed under the Apache License, Version 2.0 (the "License");
3803+# you may not use this file except in compliance with the License.
3804+# You may obtain a copy of the License at
3805+#
3806+# http://www.apache.org/licenses/LICENSE-2.0
3807+#
3808+# Unless required by applicable law or agreed to in writing, software
3809+# distributed under the License is distributed on an "AS IS" BASIS,
3810+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
3811+# See the License for the specific language governing permissions and
3812+# limitations under the License.
3813
3814=== modified file 'charmhelpers/contrib/storage/linux/ceph.py'
3815--- charmhelpers/contrib/storage/linux/ceph.py 2016-06-01 10:27:54 +0000
3816+++ charmhelpers/contrib/storage/linux/ceph.py 2016-07-06 14:41:57 +0000
3817@@ -1,18 +1,16 @@
3818 # Copyright 2014-2015 Canonical Limited.
3819 #
3820-# This file is part of charm-helpers.
3821-#
3822-# charm-helpers is free software: you can redistribute it and/or modify
3823-# it under the terms of the GNU Lesser General Public License version 3 as
3824-# published by the Free Software Foundation.
3825-#
3826-# charm-helpers is distributed in the hope that it will be useful,
3827-# but WITHOUT ANY WARRANTY; without even the implied warranty of
3828-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3829-# GNU Lesser General Public License for more details.
3830-#
3831-# You should have received a copy of the GNU Lesser General Public License
3832-# along with charm-helpers. If not, see <http://www.gnu.org/licenses/>.
3833+# Licensed under the Apache License, Version 2.0 (the "License");
3834+# you may not use this file except in compliance with the License.
3835+# You may obtain a copy of the License at
3836+#
3837+# http://www.apache.org/licenses/LICENSE-2.0
3838+#
3839+# Unless required by applicable law or agreed to in writing, software
3840+# distributed under the License is distributed on an "AS IS" BASIS,
3841+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
3842+# See the License for the specific language governing permissions and
3843+# limitations under the License.
3844
3845 #
3846 # Copyright 2012 Canonical Ltd.
3847
3848=== modified file 'charmhelpers/contrib/storage/linux/loopback.py'
3849--- charmhelpers/contrib/storage/linux/loopback.py 2015-11-02 19:48:05 +0000
3850+++ charmhelpers/contrib/storage/linux/loopback.py 2016-07-06 14:41:57 +0000
3851@@ -1,18 +1,16 @@
3852 # Copyright 2014-2015 Canonical Limited.
3853 #
3854-# This file is part of charm-helpers.
3855-#
3856-# charm-helpers is free software: you can redistribute it and/or modify
3857-# it under the terms of the GNU Lesser General Public License version 3 as
3858-# published by the Free Software Foundation.
3859-#
3860-# charm-helpers is distributed in the hope that it will be useful,
3861-# but WITHOUT ANY WARRANTY; without even the implied warranty of
3862-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3863-# GNU Lesser General Public License for more details.
3864-#
3865-# You should have received a copy of the GNU Lesser General Public License
3866-# along with charm-helpers. If not, see <http://www.gnu.org/licenses/>.
3867+# Licensed under the Apache License, Version 2.0 (the "License");
3868+# you may not use this file except in compliance with the License.
3869+# You may obtain a copy of the License at
3870+#
3871+# http://www.apache.org/licenses/LICENSE-2.0
3872+#
3873+# Unless required by applicable law or agreed to in writing, software
3874+# distributed under the License is distributed on an "AS IS" BASIS,
3875+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
3876+# See the License for the specific language governing permissions and
3877+# limitations under the License.
3878
3879 import os
3880 import re
3881
3882=== modified file 'charmhelpers/contrib/storage/linux/lvm.py'
3883--- charmhelpers/contrib/storage/linux/lvm.py 2015-01-22 06:06:03 +0000
3884+++ charmhelpers/contrib/storage/linux/lvm.py 2016-07-06 14:41:57 +0000
3885@@ -1,18 +1,16 @@
3886 # Copyright 2014-2015 Canonical Limited.
3887 #
3888-# This file is part of charm-helpers.
3889-#
3890-# charm-helpers is free software: you can redistribute it and/or modify
3891-# it under the terms of the GNU Lesser General Public License version 3 as
3892-# published by the Free Software Foundation.
3893-#
3894-# charm-helpers is distributed in the hope that it will be useful,
3895-# but WITHOUT ANY WARRANTY; without even the implied warranty of
3896-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3897-# GNU Lesser General Public License for more details.
3898-#
3899-# You should have received a copy of the GNU Lesser General Public License
3900-# along with charm-helpers. If not, see <http://www.gnu.org/licenses/>.
3901+# Licensed under the Apache License, Version 2.0 (the "License");
3902+# you may not use this file except in compliance with the License.
3903+# You may obtain a copy of the License at
3904+#
3905+# http://www.apache.org/licenses/LICENSE-2.0
3906+#
3907+# Unless required by applicable law or agreed to in writing, software
3908+# distributed under the License is distributed on an "AS IS" BASIS,
3909+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
3910+# See the License for the specific language governing permissions and
3911+# limitations under the License.
3912
3913 from subprocess import (
3914 CalledProcessError,
3915
3916=== modified file 'charmhelpers/contrib/storage/linux/utils.py'
3917--- charmhelpers/contrib/storage/linux/utils.py 2016-04-19 15:19:01 +0000
3918+++ charmhelpers/contrib/storage/linux/utils.py 2016-07-06 14:41:57 +0000
3919@@ -1,18 +1,16 @@
3920 # Copyright 2014-2015 Canonical Limited.
3921 #
3922-# This file is part of charm-helpers.
3923-#
3924-# charm-helpers is free software: you can redistribute it and/or modify
3925-# it under the terms of the GNU Lesser General Public License version 3 as
3926-# published by the Free Software Foundation.
3927-#
3928-# charm-helpers is distributed in the hope that it will be useful,
3929-# but WITHOUT ANY WARRANTY; without even the implied warranty of
3930-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3931-# GNU Lesser General Public License for more details.
3932-#
3933-# You should have received a copy of the GNU Lesser General Public License
3934-# along with charm-helpers. If not, see <http://www.gnu.org/licenses/>.
3935+# Licensed under the Apache License, Version 2.0 (the "License");
3936+# you may not use this file except in compliance with the License.
3937+# You may obtain a copy of the License at
3938+#
3939+# http://www.apache.org/licenses/LICENSE-2.0
3940+#
3941+# Unless required by applicable law or agreed to in writing, software
3942+# distributed under the License is distributed on an "AS IS" BASIS,
3943+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
3944+# See the License for the specific language governing permissions and
3945+# limitations under the License.
3946
3947 import os
3948 import re
3949
3950=== modified file 'charmhelpers/contrib/templating/__init__.py'
3951--- charmhelpers/contrib/templating/__init__.py 2015-01-22 06:08:24 +0000
3952+++ charmhelpers/contrib/templating/__init__.py 2016-07-06 14:41:57 +0000
3953@@ -1,15 +1,13 @@
3954 # Copyright 2014-2015 Canonical Limited.
3955 #
3956-# This file is part of charm-helpers.
3957-#
3958-# charm-helpers is free software: you can redistribute it and/or modify
3959-# it under the terms of the GNU Lesser General Public License version 3 as
3960-# published by the Free Software Foundation.
3961-#
3962-# charm-helpers is distributed in the hope that it will be useful,
3963-# but WITHOUT ANY WARRANTY; without even the implied warranty of
3964-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3965-# GNU Lesser General Public License for more details.
3966-#
3967-# You should have received a copy of the GNU Lesser General Public License
3968-# along with charm-helpers. If not, see <http://www.gnu.org/licenses/>.
3969+# Licensed under the Apache License, Version 2.0 (the "License");
3970+# you may not use this file except in compliance with the License.
3971+# You may obtain a copy of the License at
3972+#
3973+# http://www.apache.org/licenses/LICENSE-2.0
3974+#
3975+# Unless required by applicable law or agreed to in writing, software
3976+# distributed under the License is distributed on an "AS IS" BASIS,
3977+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
3978+# See the License for the specific language governing permissions and
3979+# limitations under the License.
3980
3981=== modified file 'charmhelpers/contrib/templating/contexts.py'
3982--- charmhelpers/contrib/templating/contexts.py 2015-03-23 03:41:56 +0000
3983+++ charmhelpers/contrib/templating/contexts.py 2016-07-06 14:41:57 +0000
3984@@ -1,18 +1,16 @@
3985 # Copyright 2014-2015 Canonical Limited.
3986 #
3987-# This file is part of charm-helpers.
3988-#
3989-# charm-helpers is free software: you can redistribute it and/or modify
3990-# it under the terms of the GNU Lesser General Public License version 3 as
3991-# published by the Free Software Foundation.
3992-#
3993-# charm-helpers is distributed in the hope that it will be useful,
3994-# but WITHOUT ANY WARRANTY; without even the implied warranty of
3995-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3996-# GNU Lesser General Public License for more details.
3997-#
3998-# You should have received a copy of the GNU Lesser General Public License
3999-# along with charm-helpers. If not, see <http://www.gnu.org/licenses/>.
4000+# Licensed under the Apache License, Version 2.0 (the "License");
4001+# you may not use this file except in compliance with the License.
4002+# You may obtain a copy of the License at
4003+#
4004+# http://www.apache.org/licenses/LICENSE-2.0
4005+#
4006+# Unless required by applicable law or agreed to in writing, software
4007+# distributed under the License is distributed on an "AS IS" BASIS,
4008+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
4009+# See the License for the specific language governing permissions and
4010+# limitations under the License.
4011
4012 # Copyright 2013 Canonical Ltd.
4013 #
4014
4015=== modified file 'charmhelpers/contrib/templating/jinja.py'
4016--- charmhelpers/contrib/templating/jinja.py 2015-09-18 07:24:58 +0000
4017+++ charmhelpers/contrib/templating/jinja.py 2016-07-06 14:41:57 +0000
4018@@ -1,18 +1,16 @@
4019 # Copyright 2014-2015 Canonical Limited.
4020 #
4021-# This file is part of charm-helpers.
4022-#
4023-# charm-helpers is free software: you can redistribute it and/or modify
4024-# it under the terms of the GNU Lesser General Public License version 3 as
4025-# published by the Free Software Foundation.
4026-#
4027-# charm-helpers is distributed in the hope that it will be useful,
4028-# but WITHOUT ANY WARRANTY; without even the implied warranty of
4029-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4030-# GNU Lesser General Public License for more details.
4031-#
4032-# You should have received a copy of the GNU Lesser General Public License
4033-# along with charm-helpers. If not, see <http://www.gnu.org/licenses/>.
4034+# Licensed under the Apache License, Version 2.0 (the "License");
4035+# you may not use this file except in compliance with the License.
4036+# You may obtain a copy of the License at
4037+#
4038+# http://www.apache.org/licenses/LICENSE-2.0
4039+#
4040+# Unless required by applicable law or agreed to in writing, software
4041+# distributed under the License is distributed on an "AS IS" BASIS,
4042+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
4043+# See the License for the specific language governing permissions and
4044+# limitations under the License.
4045
4046 """
4047 Templating using the python-jinja2 package.
4048
4049=== modified file 'charmhelpers/contrib/templating/pyformat.py'
4050--- charmhelpers/contrib/templating/pyformat.py 2015-01-22 06:06:03 +0000
4051+++ charmhelpers/contrib/templating/pyformat.py 2016-07-06 14:41:57 +0000
4052@@ -1,18 +1,16 @@
4053 # Copyright 2014-2015 Canonical Limited.
4054 #
4055-# This file is part of charm-helpers.
4056-#
4057-# charm-helpers is free software: you can redistribute it and/or modify
4058-# it under the terms of the GNU Lesser General Public License version 3 as
4059-# published by the Free Software Foundation.
4060-#
4061-# charm-helpers is distributed in the hope that it will be useful,
4062-# but WITHOUT ANY WARRANTY; without even the implied warranty of
4063-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4064-# GNU Lesser General Public License for more details.
4065-#
4066-# You should have received a copy of the GNU Lesser General Public License
4067-# along with charm-helpers. If not, see <http://www.gnu.org/licenses/>.
4068+# Licensed under the Apache License, Version 2.0 (the "License");
4069+# you may not use this file except in compliance with the License.
4070+# You may obtain a copy of the License at
4071+#
4072+# http://www.apache.org/licenses/LICENSE-2.0
4073+#
4074+# Unless required by applicable law or agreed to in writing, software
4075+# distributed under the License is distributed on an "AS IS" BASIS,
4076+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
4077+# See the License for the specific language governing permissions and
4078+# limitations under the License.
4079
4080 '''
4081 Templating using standard Python str.format() method.
4082
4083=== modified file 'charmhelpers/contrib/unison/__init__.py'
4084--- charmhelpers/contrib/unison/__init__.py 2015-07-23 10:49:41 +0000
4085+++ charmhelpers/contrib/unison/__init__.py 2016-07-06 14:41:57 +0000
4086@@ -1,18 +1,16 @@
4087 # Copyright 2014-2015 Canonical Limited.
4088 #
4089-# This file is part of charm-helpers.
4090-#
4091-# charm-helpers is free software: you can redistribute it and/or modify
4092-# it under the terms of the GNU Lesser General Public License version 3 as
4093-# published by the Free Software Foundation.
4094-#
4095-# charm-helpers is distributed in the hope that it will be useful,
4096-# but WITHOUT ANY WARRANTY; without even the implied warranty of
4097-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4098-# GNU Lesser General Public License for more details.
4099-#
4100-# You should have received a copy of the GNU Lesser General Public License
4101-# along with charm-helpers. If not, see <http://www.gnu.org/licenses/>.
4102+# Licensed under the Apache License, Version 2.0 (the "License");
4103+# you may not use this file except in compliance with the License.
4104+# You may obtain a copy of the License at
4105+#
4106+# http://www.apache.org/licenses/LICENSE-2.0
4107+#
4108+# Unless required by applicable law or agreed to in writing, software
4109+# distributed under the License is distributed on an "AS IS" BASIS,
4110+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
4111+# See the License for the specific language governing permissions and
4112+# limitations under the License.
4113
4114 # Easy file synchronization among peer units using ssh + unison.
4115 #
4116
4117=== modified file 'charmhelpers/coordinator.py'
4118--- charmhelpers/coordinator.py 2015-12-10 22:32:57 +0000
4119+++ charmhelpers/coordinator.py 2016-07-06 14:41:57 +0000
4120@@ -1,18 +1,17 @@
4121 # Copyright 2014-2015 Canonical Limited.
4122 #
4123-# This file is part of charm-helpers.
4124-#
4125-# charm-helpers is free software: you can redistribute it and/or modify
4126-# it under the terms of the GNU Lesser General Public License version 3 as
4127-# published by the Free Software Foundation.
4128-#
4129-# charm-helpers is distributed in the hope that it will be useful,
4130-# but WITHOUT ANY WARRANTY; without even the implied warranty of
4131-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4132-# GNU Lesser General Public License for more details.
4133-#
4134-# You should have received a copy of the GNU Lesser General Public License
4135-# along with charm-helpers. If not, see <http://www.gnu.org/licenses/>.
4136+# Licensed under the Apache License, Version 2.0 (the "License");
4137+# you may not use this file except in compliance with the License.
4138+# You may obtain a copy of the License at
4139+#
4140+# http://www.apache.org/licenses/LICENSE-2.0
4141+#
4142+# Unless required by applicable law or agreed to in writing, software
4143+# distributed under the License is distributed on an "AS IS" BASIS,
4144+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
4145+# See the License for the specific language governing permissions and
4146+# limitations under the License.
4147+
4148 '''
4149 The coordinator module allows you to use Juju's leadership feature to
4150 coordinate operations between units of a service.
4151
4152=== modified file 'charmhelpers/core/__init__.py'
4153--- charmhelpers/core/__init__.py 2015-01-22 06:08:24 +0000
4154+++ charmhelpers/core/__init__.py 2016-07-06 14:41:57 +0000
4155@@ -1,15 +1,13 @@
4156 # Copyright 2014-2015 Canonical Limited.
4157 #
4158-# This file is part of charm-helpers.
4159-#
4160-# charm-helpers is free software: you can redistribute it and/or modify
4161-# it under the terms of the GNU Lesser General Public License version 3 as
4162-# published by the Free Software Foundation.
4163-#
4164-# charm-helpers is distributed in the hope that it will be useful,
4165-# but WITHOUT ANY WARRANTY; without even the implied warranty of
4166-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4167-# GNU Lesser General Public License for more details.
4168-#
4169-# You should have received a copy of the GNU Lesser General Public License
4170-# along with charm-helpers. If not, see <http://www.gnu.org/licenses/>.
4171+# Licensed under the Apache License, Version 2.0 (the "License");
4172+# you may not use this file except in compliance with the License.
4173+# You may obtain a copy of the License at
4174+#
4175+# http://www.apache.org/licenses/LICENSE-2.0
4176+#
4177+# Unless required by applicable law or agreed to in writing, software
4178+# distributed under the License is distributed on an "AS IS" BASIS,
4179+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
4180+# See the License for the specific language governing permissions and
4181+# limitations under the License.
4182
4183=== modified file 'charmhelpers/core/decorators.py'
4184--- charmhelpers/core/decorators.py 2015-01-22 06:06:03 +0000
4185+++ charmhelpers/core/decorators.py 2016-07-06 14:41:57 +0000
4186@@ -1,18 +1,16 @@
4187 # Copyright 2014-2015 Canonical Limited.
4188 #
4189-# This file is part of charm-helpers.
4190-#
4191-# charm-helpers is free software: you can redistribute it and/or modify
4192-# it under the terms of the GNU Lesser General Public License version 3 as
4193-# published by the Free Software Foundation.
4194-#
4195-# charm-helpers is distributed in the hope that it will be useful,
4196-# but WITHOUT ANY WARRANTY; without even the implied warranty of
4197-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4198-# GNU Lesser General Public License for more details.
4199-#
4200-# You should have received a copy of the GNU Lesser General Public License
4201-# along with charm-helpers. If not, see <http://www.gnu.org/licenses/>.
4202+# Licensed under the Apache License, Version 2.0 (the "License");
4203+# you may not use this file except in compliance with the License.
4204+# You may obtain a copy of the License at
4205+#
4206+# http://www.apache.org/licenses/LICENSE-2.0
4207+#
4208+# Unless required by applicable law or agreed to in writing, software
4209+# distributed under the License is distributed on an "AS IS" BASIS,
4210+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
4211+# See the License for the specific language governing permissions and
4212+# limitations under the License.
4213
4214 #
4215 # Copyright 2014 Canonical Ltd.
4216
4217=== modified file 'charmhelpers/core/files.py'
4218--- charmhelpers/core/files.py 2015-07-22 13:55:18 +0000
4219+++ charmhelpers/core/files.py 2016-07-06 14:41:57 +0000
4220@@ -3,19 +3,17 @@
4221
4222 # Copyright 2014-2015 Canonical Limited.
4223 #
4224-# This file is part of charm-helpers.
4225-#
4226-# charm-helpers is free software: you can redistribute it and/or modify
4227-# it under the terms of the GNU Lesser General Public License version 3 as
4228-# published by the Free Software Foundation.
4229-#
4230-# charm-helpers is distributed in the hope that it will be useful,
4231-# but WITHOUT ANY WARRANTY; without even the implied warranty of
4232-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4233-# GNU Lesser General Public License for more details.
4234-#
4235-# You should have received a copy of the GNU Lesser General Public License
4236-# along with charm-helpers. If not, see <http://www.gnu.org/licenses/>.
4237+# Licensed under the Apache License, Version 2.0 (the "License");
4238+# you may not use this file except in compliance with the License.
4239+# You may obtain a copy of the License at
4240+#
4241+# http://www.apache.org/licenses/LICENSE-2.0
4242+#
4243+# Unless required by applicable law or agreed to in writing, software
4244+# distributed under the License is distributed on an "AS IS" BASIS,
4245+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
4246+# See the License for the specific language governing permissions and
4247+# limitations under the License.
4248
4249 __author__ = 'Jorge Niedbalski <niedbalski@ubuntu.com>'
4250
4251
4252=== modified file 'charmhelpers/core/fstab.py'
4253--- charmhelpers/core/fstab.py 2015-02-18 13:53:44 +0000
4254+++ charmhelpers/core/fstab.py 2016-07-06 14:41:57 +0000
4255@@ -3,19 +3,17 @@
4256
4257 # Copyright 2014-2015 Canonical Limited.
4258 #
4259-# This file is part of charm-helpers.
4260-#
4261-# charm-helpers is free software: you can redistribute it and/or modify
4262-# it under the terms of the GNU Lesser General Public License version 3 as
4263-# published by the Free Software Foundation.
4264-#
4265-# charm-helpers is distributed in the hope that it will be useful,
4266-# but WITHOUT ANY WARRANTY; without even the implied warranty of
4267-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4268-# GNU Lesser General Public License for more details.
4269-#
4270-# You should have received a copy of the GNU Lesser General Public License
4271-# along with charm-helpers. If not, see <http://www.gnu.org/licenses/>.
4272+# Licensed under the Apache License, Version 2.0 (the "License");
4273+# you may not use this file except in compliance with the License.
4274+# You may obtain a copy of the License at
4275+#
4276+# http://www.apache.org/licenses/LICENSE-2.0
4277+#
4278+# Unless required by applicable law or agreed to in writing, software
4279+# distributed under the License is distributed on an "AS IS" BASIS,
4280+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
4281+# See the License for the specific language governing permissions and
4282+# limitations under the License.
4283
4284 import io
4285 import os
4286
4287=== modified file 'charmhelpers/core/hookenv.py'
4288--- charmhelpers/core/hookenv.py 2016-06-23 07:10:31 +0000
4289+++ charmhelpers/core/hookenv.py 2016-07-06 14:41:57 +0000
4290@@ -1,18 +1,16 @@
4291 # Copyright 2014-2015 Canonical Limited.
4292 #
4293-# This file is part of charm-helpers.
4294-#
4295-# charm-helpers is free software: you can redistribute it and/or modify
4296-# it under the terms of the GNU Lesser General Public License version 3 as
4297-# published by the Free Software Foundation.
4298-#
4299-# charm-helpers is distributed in the hope that it will be useful,
4300-# but WITHOUT ANY WARRANTY; without even the implied warranty of
4301-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4302-# GNU Lesser General Public License for more details.
4303-#
4304-# You should have received a copy of the GNU Lesser General Public License
4305-# along with charm-helpers. If not, see <http://www.gnu.org/licenses/>.
4306+# Licensed under the Apache License, Version 2.0 (the "License");
4307+# you may not use this file except in compliance with the License.
4308+# You may obtain a copy of the License at
4309+#
4310+# http://www.apache.org/licenses/LICENSE-2.0
4311+#
4312+# Unless required by applicable law or agreed to in writing, software
4313+# distributed under the License is distributed on an "AS IS" BASIS,
4314+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
4315+# See the License for the specific language governing permissions and
4316+# limitations under the License.
4317
4318 "Interactions with the Juju environment"
4319 # Copyright 2013 Canonical Ltd.
4320
4321=== modified file 'charmhelpers/core/host.py'
4322--- charmhelpers/core/host.py 2016-06-02 16:00:32 +0000
4323+++ charmhelpers/core/host.py 2016-07-06 14:41:57 +0000
4324@@ -1,18 +1,16 @@
4325 # Copyright 2014-2015 Canonical Limited.
4326 #
4327-# This file is part of charm-helpers.
4328-#
4329-# charm-helpers is free software: you can redistribute it and/or modify
4330-# it under the terms of the GNU Lesser General Public License version 3 as
4331-# published by the Free Software Foundation.
4332-#
4333-# charm-helpers is distributed in the hope that it will be useful,
4334-# but WITHOUT ANY WARRANTY; without even the implied warranty of
4335-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4336-# GNU Lesser General Public License for more details.
4337-#
4338-# You should have received a copy of the GNU Lesser General Public License
4339-# along with charm-helpers. If not, see <http://www.gnu.org/licenses/>.
4340+# Licensed under the Apache License, Version 2.0 (the "License");
4341+# you may not use this file except in compliance with the License.
4342+# You may obtain a copy of the License at
4343+#
4344+# http://www.apache.org/licenses/LICENSE-2.0
4345+#
4346+# Unless required by applicable law or agreed to in writing, software
4347+# distributed under the License is distributed on an "AS IS" BASIS,
4348+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
4349+# See the License for the specific language governing permissions and
4350+# limitations under the License.
4351
4352 """Tools for working with the host system"""
4353 # Copyright 2012 Canonical Ltd.
4354
4355=== modified file 'charmhelpers/core/hugepage.py'
4356--- charmhelpers/core/hugepage.py 2015-10-20 08:15:26 +0000
4357+++ charmhelpers/core/hugepage.py 2016-07-06 14:41:57 +0000
4358@@ -2,19 +2,17 @@
4359
4360 # Copyright 2014-2015 Canonical Limited.
4361 #
4362-# This file is part of charm-helpers.
4363-#
4364-# charm-helpers is free software: you can redistribute it and/or modify
4365-# it under the terms of the GNU Lesser General Public License version 3 as
4366-# published by the Free Software Foundation.
4367-#
4368-# charm-helpers is distributed in the hope that it will be useful,
4369-# but WITHOUT ANY WARRANTY; without even the implied warranty of
4370-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4371-# GNU Lesser General Public License for more details.
4372-#
4373-# You should have received a copy of the GNU Lesser General Public License
4374-# along with charm-helpers. If not, see <http://www.gnu.org/licenses/>.
4375+# Licensed under the Apache License, Version 2.0 (the "License");
4376+# you may not use this file except in compliance with the License.
4377+# You may obtain a copy of the License at
4378+#
4379+# http://www.apache.org/licenses/LICENSE-2.0
4380+#
4381+# Unless required by applicable law or agreed to in writing, software
4382+# distributed under the License is distributed on an "AS IS" BASIS,
4383+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
4384+# See the License for the specific language governing permissions and
4385+# limitations under the License.
4386
4387 import yaml
4388 from charmhelpers.core import fstab
4389
4390=== modified file 'charmhelpers/core/kernel.py'
4391--- charmhelpers/core/kernel.py 2015-09-03 14:45:40 +0000
4392+++ charmhelpers/core/kernel.py 2016-07-06 14:41:57 +0000
4393@@ -3,19 +3,17 @@
4394
4395 # Copyright 2014-2015 Canonical Limited.
4396 #
4397-# This file is part of charm-helpers.
4398-#
4399-# charm-helpers is free software: you can redistribute it and/or modify
4400-# it under the terms of the GNU Lesser General Public License version 3 as
4401-# published by the Free Software Foundation.
4402-#
4403-# charm-helpers is distributed in the hope that it will be useful,
4404-# but WITHOUT ANY WARRANTY; without even the implied warranty of
4405-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4406-# GNU Lesser General Public License for more details.
4407-#
4408-# You should have received a copy of the GNU Lesser General Public License
4409-# along with charm-helpers. If not, see <http://www.gnu.org/licenses/>.
4410+# Licensed under the Apache License, Version 2.0 (the "License");
4411+# you may not use this file except in compliance with the License.
4412+# You may obtain a copy of the License at
4413+#
4414+# http://www.apache.org/licenses/LICENSE-2.0
4415+#
4416+# Unless required by applicable law or agreed to in writing, software
4417+# distributed under the License is distributed on an "AS IS" BASIS,
4418+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
4419+# See the License for the specific language governing permissions and
4420+# limitations under the License.
4421
4422 __author__ = "Jorge Niedbalski <jorge.niedbalski@canonical.com>"
4423
4424
4425=== modified file 'charmhelpers/core/services/__init__.py'
4426--- charmhelpers/core/services/__init__.py 2015-01-22 06:06:03 +0000
4427+++ charmhelpers/core/services/__init__.py 2016-07-06 14:41:57 +0000
4428@@ -1,18 +1,16 @@
4429 # Copyright 2014-2015 Canonical Limited.
4430 #
4431-# This file is part of charm-helpers.
4432-#
4433-# charm-helpers is free software: you can redistribute it and/or modify
4434-# it under the terms of the GNU Lesser General Public License version 3 as
4435-# published by the Free Software Foundation.
4436-#
4437-# charm-helpers is distributed in the hope that it will be useful,
4438-# but WITHOUT ANY WARRANTY; without even the implied warranty of
4439-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4440-# GNU Lesser General Public License for more details.
4441-#
4442-# You should have received a copy of the GNU Lesser General Public License
4443-# along with charm-helpers. If not, see <http://www.gnu.org/licenses/>.
4444+# Licensed under the Apache License, Version 2.0 (the "License");
4445+# you may not use this file except in compliance with the License.
4446+# You may obtain a copy of the License at
4447+#
4448+# http://www.apache.org/licenses/LICENSE-2.0
4449+#
4450+# Unless required by applicable law or agreed to in writing, software
4451+# distributed under the License is distributed on an "AS IS" BASIS,
4452+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
4453+# See the License for the specific language governing permissions and
4454+# limitations under the License.
4455
4456 from .base import * # NOQA
4457 from .helpers import * # NOQA
4458
4459=== modified file 'charmhelpers/core/services/base.py'
4460--- charmhelpers/core/services/base.py 2015-06-04 14:32:32 +0000
4461+++ charmhelpers/core/services/base.py 2016-07-06 14:41:57 +0000
4462@@ -1,18 +1,16 @@
4463 # Copyright 2014-2015 Canonical Limited.
4464 #
4465-# This file is part of charm-helpers.
4466-#
4467-# charm-helpers is free software: you can redistribute it and/or modify
4468-# it under the terms of the GNU Lesser General Public License version 3 as
4469-# published by the Free Software Foundation.
4470-#
4471-# charm-helpers is distributed in the hope that it will be useful,
4472-# but WITHOUT ANY WARRANTY; without even the implied warranty of
4473-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4474-# GNU Lesser General Public License for more details.
4475-#
4476-# You should have received a copy of the GNU Lesser General Public License
4477-# along with charm-helpers. If not, see <http://www.gnu.org/licenses/>.
4478+# Licensed under the Apache License, Version 2.0 (the "License");
4479+# you may not use this file except in compliance with the License.
4480+# You may obtain a copy of the License at
4481+#
4482+# http://www.apache.org/licenses/LICENSE-2.0
4483+#
4484+# Unless required by applicable law or agreed to in writing, software
4485+# distributed under the License is distributed on an "AS IS" BASIS,
4486+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
4487+# See the License for the specific language governing permissions and
4488+# limitations under the License.
4489
4490 import os
4491 import json
4492
4493=== modified file 'charmhelpers/core/services/helpers.py'
4494--- charmhelpers/core/services/helpers.py 2015-12-08 05:43:34 +0000
4495+++ charmhelpers/core/services/helpers.py 2016-07-06 14:41:57 +0000
4496@@ -1,18 +1,16 @@
4497 # Copyright 2014-2015 Canonical Limited.
4498 #
4499-# This file is part of charm-helpers.
4500-#
4501-# charm-helpers is free software: you can redistribute it and/or modify
4502-# it under the terms of the GNU Lesser General Public License version 3 as
4503-# published by the Free Software Foundation.
4504-#
4505-# charm-helpers is distributed in the hope that it will be useful,
4506-# but WITHOUT ANY WARRANTY; without even the implied warranty of
4507-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4508-# GNU Lesser General Public License for more details.
4509-#
4510-# You should have received a copy of the GNU Lesser General Public License
4511-# along with charm-helpers. If not, see <http://www.gnu.org/licenses/>.
4512+# Licensed under the Apache License, Version 2.0 (the "License");
4513+# you may not use this file except in compliance with the License.
4514+# You may obtain a copy of the License at
4515+#
4516+# http://www.apache.org/licenses/LICENSE-2.0
4517+#
4518+# Unless required by applicable law or agreed to in writing, software
4519+# distributed under the License is distributed on an "AS IS" BASIS,
4520+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
4521+# See the License for the specific language governing permissions and
4522+# limitations under the License.
4523
4524 import os
4525 import yaml
4526
4527=== modified file 'charmhelpers/core/strutils.py'
4528--- charmhelpers/core/strutils.py 2015-09-17 11:04:18 +0000
4529+++ charmhelpers/core/strutils.py 2016-07-06 14:41:57 +0000
4530@@ -3,19 +3,17 @@
4531
4532 # Copyright 2014-2015 Canonical Limited.
4533 #
4534-# This file is part of charm-helpers.
4535-#
4536-# charm-helpers is free software: you can redistribute it and/or modify
4537-# it under the terms of the GNU Lesser General Public License version 3 as
4538-# published by the Free Software Foundation.
4539-#
4540-# charm-helpers is distributed in the hope that it will be useful,
4541-# but WITHOUT ANY WARRANTY; without even the implied warranty of
4542-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4543-# GNU Lesser General Public License for more details.
4544-#
4545-# You should have received a copy of the GNU Lesser General Public License
4546-# along with charm-helpers. If not, see <http://www.gnu.org/licenses/>.
4547+# Licensed under the Apache License, Version 2.0 (the "License");
4548+# you may not use this file except in compliance with the License.
4549+# You may obtain a copy of the License at
4550+#
4551+# http://www.apache.org/licenses/LICENSE-2.0
4552+#
4553+# Unless required by applicable law or agreed to in writing, software
4554+# distributed under the License is distributed on an "AS IS" BASIS,
4555+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
4556+# See the License for the specific language governing permissions and
4557+# limitations under the License.
4558
4559 import six
4560 import re
4561
4562=== modified file 'charmhelpers/core/sysctl.py'
4563--- charmhelpers/core/sysctl.py 2016-03-04 00:16:08 +0000
4564+++ charmhelpers/core/sysctl.py 2016-07-06 14:41:57 +0000
4565@@ -3,19 +3,17 @@
4566
4567 # Copyright 2014-2015 Canonical Limited.
4568 #
4569-# This file is part of charm-helpers.
4570-#
4571-# charm-helpers is free software: you can redistribute it and/or modify
4572-# it under the terms of the GNU Lesser General Public License version 3 as
4573-# published by the Free Software Foundation.
4574-#
4575-# charm-helpers is distributed in the hope that it will be useful,
4576-# but WITHOUT ANY WARRANTY; without even the implied warranty of
4577-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4578-# GNU Lesser General Public License for more details.
4579-#
4580-# You should have received a copy of the GNU Lesser General Public License
4581-# along with charm-helpers. If not, see <http://www.gnu.org/licenses/>.
4582+# Licensed under the Apache License, Version 2.0 (the "License");
4583+# you may not use this file except in compliance with the License.
4584+# You may obtain a copy of the License at
4585+#
4586+# http://www.apache.org/licenses/LICENSE-2.0
4587+#
4588+# Unless required by applicable law or agreed to in writing, software
4589+# distributed under the License is distributed on an "AS IS" BASIS,
4590+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
4591+# See the License for the specific language governing permissions and
4592+# limitations under the License.
4593
4594 import yaml
4595
4596
4597=== modified file 'charmhelpers/core/templating.py'
4598--- charmhelpers/core/templating.py 2015-12-08 05:23:16 +0000
4599+++ charmhelpers/core/templating.py 2016-07-06 14:41:57 +0000
4600@@ -1,18 +1,16 @@
4601 # Copyright 2014-2015 Canonical Limited.
4602 #
4603-# This file is part of charm-helpers.
4604-#
4605-# charm-helpers is free software: you can redistribute it and/or modify
4606-# it under the terms of the GNU Lesser General Public License version 3 as
4607-# published by the Free Software Foundation.
4608-#
4609-# charm-helpers is distributed in the hope that it will be useful,
4610-# but WITHOUT ANY WARRANTY; without even the implied warranty of
4611-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4612-# GNU Lesser General Public License for more details.
4613-#
4614-# You should have received a copy of the GNU Lesser General Public License
4615-# along with charm-helpers. If not, see <http://www.gnu.org/licenses/>.
4616+# Licensed under the Apache License, Version 2.0 (the "License");
4617+# you may not use this file except in compliance with the License.
4618+# You may obtain a copy of the License at
4619+#
4620+# http://www.apache.org/licenses/LICENSE-2.0
4621+#
4622+# Unless required by applicable law or agreed to in writing, software
4623+# distributed under the License is distributed on an "AS IS" BASIS,
4624+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
4625+# See the License for the specific language governing permissions and
4626+# limitations under the License.
4627
4628 import os
4629
4630
4631=== modified file 'charmhelpers/core/unitdata.py'
4632--- charmhelpers/core/unitdata.py 2015-07-29 16:32:00 +0000
4633+++ charmhelpers/core/unitdata.py 2016-07-06 14:41:57 +0000
4634@@ -3,20 +3,17 @@
4635 #
4636 # Copyright 2014-2015 Canonical Limited.
4637 #
4638-# This file is part of charm-helpers.
4639-#
4640-# charm-helpers is free software: you can redistribute it and/or modify
4641-# it under the terms of the GNU Lesser General Public License version 3 as
4642-# published by the Free Software Foundation.
4643-#
4644-# charm-helpers is distributed in the hope that it will be useful,
4645-# but WITHOUT ANY WARRANTY; without even the implied warranty of
4646-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4647-# GNU Lesser General Public License for more details.
4648-#
4649-# You should have received a copy of the GNU Lesser General Public License
4650-# along with charm-helpers. If not, see <http://www.gnu.org/licenses/>.
4651-#
4652+# Licensed under the Apache License, Version 2.0 (the "License");
4653+# you may not use this file except in compliance with the License.
4654+# You may obtain a copy of the License at
4655+#
4656+# http://www.apache.org/licenses/LICENSE-2.0
4657+#
4658+# Unless required by applicable law or agreed to in writing, software
4659+# distributed under the License is distributed on an "AS IS" BASIS,
4660+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
4661+# See the License for the specific language governing permissions and
4662+# limitations under the License.
4663 #
4664 # Authors:
4665 # Kapil Thangavelu <kapil.foss@gmail.com>
4666
4667=== modified file 'charmhelpers/fetch/__init__.py'
4668--- charmhelpers/fetch/__init__.py 2016-06-16 02:59:30 +0000
4669+++ charmhelpers/fetch/__init__.py 2016-07-06 14:41:57 +0000
4670@@ -1,18 +1,16 @@
4671 # Copyright 2014-2015 Canonical Limited.
4672 #
4673-# This file is part of charm-helpers.
4674-#
4675-# charm-helpers is free software: you can redistribute it and/or modify
4676-# it under the terms of the GNU Lesser General Public License version 3 as
4677-# published by the Free Software Foundation.
4678-#
4679-# charm-helpers is distributed in the hope that it will be useful,
4680-# but WITHOUT ANY WARRANTY; without even the implied warranty of
4681-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4682-# GNU Lesser General Public License for more details.
4683-#
4684-# You should have received a copy of the GNU Lesser General Public License
4685-# along with charm-helpers. If not, see <http://www.gnu.org/licenses/>.
4686+# Licensed under the Apache License, Version 2.0 (the "License");
4687+# you may not use this file except in compliance with the License.
4688+# You may obtain a copy of the License at
4689+#
4690+# http://www.apache.org/licenses/LICENSE-2.0
4691+#
4692+# Unless required by applicable law or agreed to in writing, software
4693+# distributed under the License is distributed on an "AS IS" BASIS,
4694+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
4695+# See the License for the specific language governing permissions and
4696+# limitations under the License.
4697
4698 import importlib
4699 from tempfile import NamedTemporaryFile
4700
4701=== modified file 'charmhelpers/fetch/archiveurl.py'
4702--- charmhelpers/fetch/archiveurl.py 2015-12-09 20:55:04 +0000
4703+++ charmhelpers/fetch/archiveurl.py 2016-07-06 14:41:57 +0000
4704@@ -1,18 +1,16 @@
4705 # Copyright 2014-2015 Canonical Limited.
4706 #
4707-# This file is part of charm-helpers.
4708-#
4709-# charm-helpers is free software: you can redistribute it and/or modify
4710-# it under the terms of the GNU Lesser General Public License version 3 as
4711-# published by the Free Software Foundation.
4712-#
4713-# charm-helpers is distributed in the hope that it will be useful,
4714-# but WITHOUT ANY WARRANTY; without even the implied warranty of
4715-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4716-# GNU Lesser General Public License for more details.
4717-#
4718-# You should have received a copy of the GNU Lesser General Public License
4719-# along with charm-helpers. If not, see <http://www.gnu.org/licenses/>.
4720+# Licensed under the Apache License, Version 2.0 (the "License");
4721+# you may not use this file except in compliance with the License.
4722+# You may obtain a copy of the License at
4723+#
4724+# http://www.apache.org/licenses/LICENSE-2.0
4725+#
4726+# Unless required by applicable law or agreed to in writing, software
4727+# distributed under the License is distributed on an "AS IS" BASIS,
4728+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
4729+# See the License for the specific language governing permissions and
4730+# limitations under the License.
4731
4732 import os
4733 import hashlib
4734
4735=== modified file 'charmhelpers/fetch/bzrurl.py'
4736--- charmhelpers/fetch/bzrurl.py 2016-06-16 03:28:45 +0000
4737+++ charmhelpers/fetch/bzrurl.py 2016-07-06 14:41:57 +0000
4738@@ -1,18 +1,16 @@
4739 # Copyright 2014-2015 Canonical Limited.
4740 #
4741-# This file is part of charm-helpers.
4742-#
4743-# charm-helpers is free software: you can redistribute it and/or modify
4744-# it under the terms of the GNU Lesser General Public License version 3 as
4745-# published by the Free Software Foundation.
4746-#
4747-# charm-helpers is distributed in the hope that it will be useful,
4748-# but WITHOUT ANY WARRANTY; without even the implied warranty of
4749-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4750-# GNU Lesser General Public License for more details.
4751-#
4752-# You should have received a copy of the GNU Lesser General Public License
4753-# along with charm-helpers. If not, see <http://www.gnu.org/licenses/>.
4754+# Licensed under the Apache License, Version 2.0 (the "License");
4755+# you may not use this file except in compliance with the License.
4756+# You may obtain a copy of the License at
4757+#
4758+# http://www.apache.org/licenses/LICENSE-2.0
4759+#
4760+# Unless required by applicable law or agreed to in writing, software
4761+# distributed under the License is distributed on an "AS IS" BASIS,
4762+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
4763+# See the License for the specific language governing permissions and
4764+# limitations under the License.
4765
4766 import os
4767 from subprocess import check_call
4768
4769=== modified file 'charmhelpers/fetch/giturl.py'
4770--- charmhelpers/fetch/giturl.py 2016-01-22 09:41:18 +0000
4771+++ charmhelpers/fetch/giturl.py 2016-07-06 14:41:57 +0000
4772@@ -1,18 +1,16 @@
4773 # Copyright 2014-2015 Canonical Limited.
4774 #
4775-# This file is part of charm-helpers.
4776-#
4777-# charm-helpers is free software: you can redistribute it and/or modify
4778-# it under the terms of the GNU Lesser General Public License version 3 as
4779-# published by the Free Software Foundation.
4780-#
4781-# charm-helpers is distributed in the hope that it will be useful,
4782-# but WITHOUT ANY WARRANTY; without even the implied warranty of
4783-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4784-# GNU Lesser General Public License for more details.
4785-#
4786-# You should have received a copy of the GNU Lesser General Public License
4787-# along with charm-helpers. If not, see <http://www.gnu.org/licenses/>.
4788+# Licensed under the Apache License, Version 2.0 (the "License");
4789+# you may not use this file except in compliance with the License.
4790+# You may obtain a copy of the License at
4791+#
4792+# http://www.apache.org/licenses/LICENSE-2.0
4793+#
4794+# Unless required by applicable law or agreed to in writing, software
4795+# distributed under the License is distributed on an "AS IS" BASIS,
4796+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
4797+# See the License for the specific language governing permissions and
4798+# limitations under the License.
4799
4800 import os
4801 from subprocess import check_call, CalledProcessError
4802
4803=== modified file 'charmhelpers/payload/__init__.py'
4804--- charmhelpers/payload/__init__.py 2015-01-22 06:06:03 +0000
4805+++ charmhelpers/payload/__init__.py 2016-07-06 14:41:57 +0000
4806@@ -1,17 +1,15 @@
4807 # Copyright 2014-2015 Canonical Limited.
4808 #
4809-# This file is part of charm-helpers.
4810-#
4811-# charm-helpers is free software: you can redistribute it and/or modify
4812-# it under the terms of the GNU Lesser General Public License version 3 as
4813-# published by the Free Software Foundation.
4814-#
4815-# charm-helpers is distributed in the hope that it will be useful,
4816-# but WITHOUT ANY WARRANTY; without even the implied warranty of
4817-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4818-# GNU Lesser General Public License for more details.
4819-#
4820-# You should have received a copy of the GNU Lesser General Public License
4821-# along with charm-helpers. If not, see <http://www.gnu.org/licenses/>.
4822+# Licensed under the Apache License, Version 2.0 (the "License");
4823+# you may not use this file except in compliance with the License.
4824+# You may obtain a copy of the License at
4825+#
4826+# http://www.apache.org/licenses/LICENSE-2.0
4827+#
4828+# Unless required by applicable law or agreed to in writing, software
4829+# distributed under the License is distributed on an "AS IS" BASIS,
4830+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
4831+# See the License for the specific language governing permissions and
4832+# limitations under the License.
4833
4834 "Tools for working with files injected into a charm just before deployment."
4835
4836=== modified file 'charmhelpers/payload/archive.py'
4837--- charmhelpers/payload/archive.py 2015-01-22 06:06:03 +0000
4838+++ charmhelpers/payload/archive.py 2016-07-06 14:41:57 +0000
4839@@ -1,18 +1,16 @@
4840 # Copyright 2014-2015 Canonical Limited.
4841 #
4842-# This file is part of charm-helpers.
4843-#
4844-# charm-helpers is free software: you can redistribute it and/or modify
4845-# it under the terms of the GNU Lesser General Public License version 3 as
4846-# published by the Free Software Foundation.
4847-#
4848-# charm-helpers is distributed in the hope that it will be useful,
4849-# but WITHOUT ANY WARRANTY; without even the implied warranty of
4850-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4851-# GNU Lesser General Public License for more details.
4852-#
4853-# You should have received a copy of the GNU Lesser General Public License
4854-# along with charm-helpers. If not, see <http://www.gnu.org/licenses/>.
4855+# Licensed under the Apache License, Version 2.0 (the "License");
4856+# you may not use this file except in compliance with the License.
4857+# You may obtain a copy of the License at
4858+#
4859+# http://www.apache.org/licenses/LICENSE-2.0
4860+#
4861+# Unless required by applicable law or agreed to in writing, software
4862+# distributed under the License is distributed on an "AS IS" BASIS,
4863+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
4864+# See the License for the specific language governing permissions and
4865+# limitations under the License.
4866
4867 import os
4868 import tarfile
4869
4870=== modified file 'charmhelpers/payload/execd.py'
4871--- charmhelpers/payload/execd.py 2015-01-22 06:06:03 +0000
4872+++ charmhelpers/payload/execd.py 2016-07-06 14:41:57 +0000
4873@@ -2,19 +2,17 @@
4874
4875 # Copyright 2014-2015 Canonical Limited.
4876 #
4877-# This file is part of charm-helpers.
4878-#
4879-# charm-helpers is free software: you can redistribute it and/or modify
4880-# it under the terms of the GNU Lesser General Public License version 3 as
4881-# published by the Free Software Foundation.
4882-#
4883-# charm-helpers is distributed in the hope that it will be useful,
4884-# but WITHOUT ANY WARRANTY; without even the implied warranty of
4885-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4886-# GNU Lesser General Public License for more details.
4887-#
4888-# You should have received a copy of the GNU Lesser General Public License
4889-# along with charm-helpers. If not, see <http://www.gnu.org/licenses/>.
4890+# Licensed under the Apache License, Version 2.0 (the "License");
4891+# you may not use this file except in compliance with the License.
4892+# You may obtain a copy of the License at
4893+#
4894+# http://www.apache.org/licenses/LICENSE-2.0
4895+#
4896+# Unless required by applicable law or agreed to in writing, software
4897+# distributed under the License is distributed on an "AS IS" BASIS,
4898+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
4899+# See the License for the specific language governing permissions and
4900+# limitations under the License.
4901
4902 import os
4903 import sys
4904
4905=== modified file 'docs/_extensions/automembersummary.py'
4906--- docs/_extensions/automembersummary.py 2015-06-30 14:46:46 +0000
4907+++ docs/_extensions/automembersummary.py 2016-07-06 14:41:57 +0000
4908@@ -1,18 +1,16 @@
4909 # Copyright 2014-2015 Canonical Limited.
4910 #
4911-# This file is part of charm-helpers.
4912-#
4913-# charm-helpers is free software: you can redistribute it and/or modify
4914-# it under the terms of the GNU Lesser General Public License version 3 as
4915-# published by the Free Software Foundation.
4916-#
4917-# charm-helpers is distributed in the hope that it will be useful,
4918-# but WITHOUT ANY WARRANTY; without even the implied warranty of
4919-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4920-# GNU Lesser General Public License for more details.
4921-#
4922-# You should have received a copy of the GNU Lesser General Public License
4923-# along with charm-helpers. If not, see <http://www.gnu.org/licenses/>.
4924+# Licensed under the Apache License, Version 2.0 (the "License");
4925+# you may not use this file except in compliance with the License.
4926+# You may obtain a copy of the License at
4927+#
4928+# http://www.apache.org/licenses/LICENSE-2.0
4929+#
4930+# Unless required by applicable law or agreed to in writing, software
4931+# distributed under the License is distributed on an "AS IS" BASIS,
4932+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
4933+# See the License for the specific language governing permissions and
4934+# limitations under the License.
4935
4936
4937 import inspect
4938
4939=== modified file 'setup.py'
4940--- setup.py 2016-07-05 13:13:32 +0000
4941+++ setup.py 2016-07-06 14:41:57 +0000
4942@@ -1,3 +1,17 @@
4943+# Copyright 2016 Canonical Ltd
4944+#
4945+# Licensed under the Apache License, Version 2.0 (the "License");
4946+# you may not use this file except in compliance with the License.
4947+# You may obtain a copy of the License at
4948+#
4949+# http://www.apache.org/licenses/LICENSE-2.0
4950+#
4951+# Unless required by applicable law or agreed to in writing, software
4952+# distributed under the License is distributed on an "AS IS" BASIS,
4953+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
4954+# See the License for the specific language governing permissions and
4955+# limitations under the License.
4956+
4957 from distutils.core import setup
4958 import os
4959
4960@@ -57,7 +71,7 @@
4961 "bin/contrib/charmsupport/charmsupport",
4962 "bin/contrib/saltstack/salt-call",
4963 ],
4964- 'license': "GNU Lesser General Public License v3 (LGPLv3)",
4965+ 'license': "Apache 2.0 (ASL)",
4966 'long_description': open('README.txt').read(),
4967 'description': 'Helpers for Juju Charm development',
4968 }
4969
4970=== modified file 'tests/context/test_context.py'
4971--- tests/context/test_context.py 2015-07-27 11:08:45 +0000
4972+++ tests/context/test_context.py 2016-07-06 14:41:57 +0000
4973@@ -1,18 +1,16 @@
4974 # Copyright 2014-2015 Canonical Limited.
4975 #
4976-# This file is part of charm-helpers.
4977-#
4978-# charm-helpers is free software: you can redistribute it and/or modify
4979-# it under the terms of the GNU Lesser General Public License version 3 as
4980-# published by the Free Software Foundation.
4981-#
4982-# charm-helpers is distributed in the hope that it will be useful,
4983-# but WITHOUT ANY WARRANTY; without even the implied warranty of
4984-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4985-# GNU Lesser General Public License for more details.
4986-#
4987-# You should have received a copy of the GNU Lesser General Public License
4988-# along with charm-helpers. If not, see <http://www.gnu.org/licenses/>.
4989+# Licensed under the Apache License, Version 2.0 (the "License");
4990+# you may not use this file except in compliance with the License.
4991+# You may obtain a copy of the License at
4992+#
4993+# http://www.apache.org/licenses/LICENSE-2.0
4994+#
4995+# Unless required by applicable law or agreed to in writing, software
4996+# distributed under the License is distributed on an "AS IS" BASIS,
4997+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
4998+# See the License for the specific language governing permissions and
4999+# limitations under the License.
5000 import unittest
The diff has been truncated for viewing.

Subscribers

People subscribed via source and target branches