Commit Graph

8 Commits

Author SHA1 Message Date
Ryan Beisner
94f555ab19
Sync charm-helpers
Change-Id: I5a703fb5aa40809ec7e69646be847654c42a56c0
2018-11-07 15:35:11 -06:00
David Ames
b9f1eb6101 Enable xenial-pike amulet test
Make default func27-smoke xenial-pike
Charm-helpers sync

Change-Id: I13ec07348121ce9908079947f7779e09ea89c443
2017-11-14 13:17:40 -08:00
Ryan Beisner
72435d9d9f Sync charm-helpers
Change-Id: I0d49f664d7c9369a6570a249e0679606821e7061
2017-08-24 17:09:55 -05:00
Alex Kavanagh
442ac04b4b Fix alphanumeric comparisons for openstack and ubuntu releases
- sync charmhelpers with fix-alpha helpers
- fix up code where the alpha comparisons are done
- fix tests which assumed mocks would just work on os_release()

Change-Id: I9c0dae8a37ded6536dc2b0c53e06647f380c48b0
Related-Bug: #1659575
2017-04-04 18:56:56 +01:00
David Ames
1a2c2c74a4 Enable Ocata Amulet Tests
- Add Zesty as a supported series to metadata.yaml.
- Turn on Xenial-Ocata Amulet test definitions.
- Sync charm helpers to get Juju 2.x amulet compatibility.
- Keeping Zesty-Ocata Amulet test definitions turned off until the
  metadata.yaml changes propagate to the charm store.
- Resync tox.ini to resolve amulet test failures.
- Update tests for ocata changes.

Change-Id: Iea2ee8a6a482c2eb12d695123a908ee4402722df
2017-03-23 11:14:51 +00:00
David Ames
83d0ad0238 Add apparmor template for neutron services
Add support for application of apparmor profiles to
neutron and nova daemons that run on neutron-gateway
units.

By default this is disabled but may be enabled by setting
the aa-profile-mode option to ether 'complain' or 'enforce'.

Note that the apparmor profiles do not try to reproduce the
permissions required for all operations that may be undertaken
using oslo.rootwrap; daemons are granted permission to run
'sudo' without any apparmor based restrictions.

Change-Id: Ibe568a46ee4c1f1148c162f0f0b2907153770efe
2016-09-28 23:06:50 +00:00
James Page
7491779846 Resync charmhelpers for licensing change
The charm-helpers project have re-licensed to Apache 2.0
inline with the agreed licensing approach to intefaces,
layers and charms generally.

Resync helpers to bring charmhelpers inline with charm
codebase.

Change-Id: Ia808bc55096986285bfb5d27852387be2ec416f8
2016-07-06 16:37:54 +01:00
Edward Hope-Morley
7f5acef378 Add hardening support
Add charmhelpers.contrib.hardening and calls to install,
config-changed, upgrade-charm and update-status hooks.
Also add new config option to allow one or more hardening
modules to be applied at runtime.

Change-Id: I0f3035c8f8feae90ad3572297fab0ac28e7d97e2
2016-03-31 15:01:54 +01:00