diff options
author | Tiago Gomes <tiago.gomes@codethink.co.uk> | 2015-05-21 09:18:44 +0000 |
---|---|---|
committer | Tiago Gomes <tiago.gomes@codethink.co.uk> | 2015-05-28 17:43:51 +0000 |
commit | b17caca61bf0fb5ea8416784ed567944f6eefbb2 (patch) | |
tree | f9e55931be90d67682f05dcfedc29b6cd72a367b /strata | |
parent | 3d61e94f4edaf0f06de36300b536222091f053c9 (diff) | |
download | definitions-b17caca61bf0fb5ea8416784ed567944f6eefbb2.tar.gz |
WIP Ironic: update configuration files to Kilo
This commit updates the Ironic's configuration files to be the factory
versions for the Kilo release. Our custom configuration will be
re-added in a following commit.
Diffstat (limited to 'strata')
-rw-r--r-- | strata/openstack-services/ironic.morph | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/strata/openstack-services/ironic.morph b/strata/openstack-services/ironic.morph index 850399b4..8003dd17 100644 --- a/strata/openstack-services/ironic.morph +++ b/strata/openstack-services/ironic.morph @@ -2,14 +2,15 @@ name: ironic kind: chunk build-system: python-distutils post-install-commands: -# Install rootwrap.conf -- install -D -m 640 etc/ironic/rootwrap.conf "$DESTDIR"/etc/ironic/rootwrap.conf -# Move rootwrap files to a proper location -- mkdir -p "$DESTDIR"/etc/ironic/rootwrap.d -- install -m 644 etc/ironic/rootwrap.d/* "$DESTDIR"/etc/ironic/rootwrap.d/ -# Add ironic to sudoers controlling which commands will run as a root -# using the openstack rootwrap. - | + mkdir -p "$DESTDIR"/etc/ironic + install -m 644 etc/ironic/policy.json "$DESTDIR"/etc/ironic + install -m 644 etc/ironic/rootwrap.conf "$DESTDIR"/etc/ironic + mkdir -p "$DESTDIR"/etc/ironic/rootwrap.d + install -m 644 etc/ironic/rootwrap.d/* "$DESTDIR"/etc/ironic/rootwrap.d/ + + # Add ironic to sudoers controlling which commands will run as a root + # using the openstack rootwrap. install -D -m 0440 /proc/self/fd/0 <<'EOF' "$DESTDIR"/etc/sudoers.d/ironic-rootwrap Defaults:ironic !requiretty |