diff options
Diffstat (limited to 'strata/openstack-services')
22 files changed, 0 insertions, 380 deletions
diff --git a/strata/openstack-services/ceilometer.morph b/strata/openstack-services/ceilometer.morph deleted file mode 100644 index f120ce9e..00000000 --- a/strata/openstack-services/ceilometer.morph +++ /dev/null @@ -1,23 +0,0 @@ -name: ceilometer -kind: chunk -build-system: python-distutils -post-install-commands: -# Install the configuration files required to -- mkdir -p "$DESTDIR"/etc/ceilometer -- install -D -m 644 etc/ceilometer/*.json "$DESTDIR"/etc/ceilometer -- install -D -m 644 etc/ceilometer/*.yaml "$DESTDIR"/etc/ceilometer -- install -D -m 644 etc/ceilometer/api_paste.ini "$DESTDIR"/etc/ceilometer/api_paste.ini -# Install rootwrap.conf -- install -D -m 640 etc/ceilometer/rootwrap.conf "$DESTDIR"/etc/ceilometer/rootwrap.conf -# Move rootwrap files to a proper location -- mkdir -p "$DESTDIR"/etc/ceilometer/rootwrap.d -- install -D -m 644 etc/ceilometer/rootwrap.d/* "$DESTDIR"/etc/ceilometer/rootwrap.d/ -# Add ceilometer to sudoers controlling which commands will run as a root -# using the openstack rootwrap. -- mkdir -p "$DESTDIR"/etc/sudoers.d -- | - install -D -m 0440 /proc/self/fd/0 <<'EOF' "$DESTDIR"/etc/sudoers.d/ceilometer-rootwrap - Defaults:ceilometer !requiretty - - ceilometer ALL=(root) NOPASSWD: /usr/bin/ceilometer-rootwrap /etc/ceilometer/rootwrap.conf * - EOF diff --git a/strata/openstack-services/cinder.morph b/strata/openstack-services/cinder.morph deleted file mode 100644 index a0fc879f..00000000 --- a/strata/openstack-services/cinder.morph +++ /dev/null @@ -1,21 +0,0 @@ -name: cinder -kind: chunk -build-system: python-distutils -post-install-commands: -# Install some default configuration files -- install -D -m 644 etc/cinder/logging_sample.conf "$DESTDIR"/etc/cinder/logging.conf -- install -D -m 644 etc/cinder/api-paste.ini "$DESTDIR"/etc/cinder/api-paste.ini -- install -D -m 644 etc/cinder/policy.json "$DESTDIR"/etc/cinder/policy.json -- install -D -m 640 etc/cinder/rootwrap.conf "$DESTDIR"/etc/cinder/rootwrap.conf -# Move rootwrap files to a proper location -- mkdir -p "$DESTDIR"/etc/cinder/rootwrap.d -- install -D -m 644 etc/cinder/rootwrap.d/* "$DESTDIR"/etc/cinder/rootwrap.d/ -# Add cinder to sudoers controlling which commands will run as a root -# using the openstack rootwrap. -- mkdir -p "$DESTDIR"/etc/sudoers.d -- | - install -D -m 0440 /proc/self/fd/0 <<'EOF' "$DESTDIR"/etc/sudoers.d/cinder-rootwrap - Defaults:cinder !requiretty - - cinder ALL=(root) NOPASSWD: /usr/bin/cinder-rootwrap /etc/cinder/rootwrap.conf * - EOF diff --git a/strata/openstack-services/erlang-sd_notify.morph b/strata/openstack-services/erlang-sd_notify.morph deleted file mode 100644 index dd3f66ca..00000000 --- a/strata/openstack-services/erlang-sd_notify.morph +++ /dev/null @@ -1,8 +0,0 @@ -name: erlang-sd_notify -kind: chunk -build-commands: -- LDFLAGS=-lsystemd REBAR_FLAGS="--verbose 2" make -install-commands: -- install -D -m 644 -p ebin/sd_notify.app "$DESTDIR$PREFIX"/lib/erlang/lib/sd_notify-0.1/ebin/sd_notify.app -- install -D -m 644 -p ebin/sd_notify.beam "$DESTDIR$PREFIX"/lib/erlang/lib/sd_notify-0.1/ebin/sd_notify.beam -- install -D -m 755 -p priv/sd_notify_drv.so "$DESTDIR$PREFIX"/lib/erlang/lib/sd_notify-0.1/priv/sd_notify_drv.so diff --git a/strata/openstack-services/glance.morph b/strata/openstack-services/glance.morph deleted file mode 100644 index 3f81a505..00000000 --- a/strata/openstack-services/glance.morph +++ /dev/null @@ -1,29 +0,0 @@ -name: glance -kind: chunk -build-system: python-distutils -post-install-commands: -# Install some default configuration files -- mkdir -p "$DESTDIR"/etc/glance -- install -m 644 etc/glance-api-paste.ini "$DESTDIR"/etc/glance/ -- install -m 644 etc/glance-registry-paste.ini "$DESTDIR"/etc/glance/ -- install -m 644 etc/glance-search-paste.ini "$DESTDIR"/etc/glance/ -- install -m 644 etc/policy.json "$DESTDIR"/etc/glance/ -- install -m 644 etc/schema-image.json "$DESTDIR"/etc/glance/ -- install -m 644 etc/search-policy.json "$DESTDIR"/etc/glance/ -# Install predefined namespaces for Glance Metadata Definitions -# Catalog (see more info in its README) -- cp -r etc/metadefs "$DESTDIR"/etc/glance/ -# Install conf files which are not modified by -- install -m 644 etc/glance-scrubber.conf "$DESTDIR"/etc/glance/ -- install -m 644 etc/glance-cache.conf "$DESTDIR"/etc/glance/ -- install -m 644 etc/glance-search.conf "$DESTDIR"/etc/glance/ -- | - install -m 644 etc/glance-swift.conf.sample \ - "$DESTDIR"/etc/glance/glance-swift.conf -- install -m 644 etc/glance-manage.conf "$DESTDIR"/etc/glance/ -- | - install -m 644 etc/property-protections-policies.conf.sample \ - "$DESTDIR"/etc/glance/property-protections-policies.conf -- | - install -m 644 etc/property-protections-roles.conf.sample \ - "$DESTDIR"/etc/glance/property-protections-roles.conf diff --git a/strata/openstack-services/horizon.morph b/strata/openstack-services/horizon.morph deleted file mode 100644 index 74930a1e..00000000 --- a/strata/openstack-services/horizon.morph +++ /dev/null @@ -1,63 +0,0 @@ -name: horizon -kind: chunk -configure-commands: -# Remove unnecessary .mo files they will be generated -# later during package build. -- find . -name "django*.mo" -exec rm -f '{}' \; -build-commands: -# Compile message strings -- cd horizon && django-admin.py compilemessages -- cd openstack_dashboard && django-admin.py compilemessages -- python setup.py build - -# Use the local_settings.py example to compile and compress the css, js, etc files. -# This is a hack to make SECRET_KEY work. -- | - cp openstack_dashboard/local/local_settings.py.example \ - openstack_dashboard/local/local_settings.py -# Collect the static files and compress them. -- python manage.py collectstatic --noinput -- python manage.py compress --force -install-commands: -# Install horizon in a temporary folder first, and then move things to the -# right place in $DESTDIR -- mkdir temproot -- python setup.py install -O1 --skip-build --prefix "$PREFIX" --root temproot -# Remove unnecessary .po files -- find temproot -name django.po -exec rm '{}' \; -- find temproot -name djangojs.po -exec rm '{}' \; - -# Move openstack_dashboard to /var/lib/horizon -- mkdir -p "$DESTDIR"/var/lib/horizon/ -- | - mv temproot/"$PREFIX"/lib/python*/site-packages/openstack_dashboard \ - "$DESTDIR"/var/lib/horizon/ -- cp manage.py "$DESTDIR"/var/lib/horizon/openstack_dashboard/ - -# Copy the rest to $DESTDIR -- cp -a temproot/* "$DESTDIR" - -# Copy local_settings to /etc/horizon/openstack_dashboard, so that they -# can be modified, and link them where openstack_dashboard is installed. -- mkdir -p "$DESTDIR"/etc/horizon/openstack_dashboard/ -- | - cp openstack_dashboard/local/local_settings.py.example \ - "$DESTDIR"/etc/horizon/openstack_dashboard/local_settings.py -# Set COMPRESS_OFFLINE=True -- | - echo "COMPRESS_OFFLINE=True" >> \ - "$DESTDIR"/etc/horizon/openstack_dashboard/local_settings.py - -- mkdir -p "$DESTDIR"/var/lib/horizon/openstack_dashboard/local -- | - ln -sf /etc/horizon/openstack_dashboard/local_settings.py \ - "$DESTDIR"/var/lib/horizon/openstack_dashboard/local/local_settings.py - -# Create the static directory (STATIC_ROOT) used in local_settings.py to keep -# the static objects like css files. -- mkdir -p "$DESTDIR"/var/lib/horizon/static -# Copy the compressed static files to horizon. -- cp -a static/* "$DESTDIR"/var/lib/horizon/static - -# Create the horizon document root for apache configuration -- mkdir -p "$DESTDIR"/var/lib/horizon/.blackhole diff --git a/strata/openstack-services/ipaddr-py.morph b/strata/openstack-services/ipaddr-py.morph deleted file mode 100644 index f6691ab7..00000000 --- a/strata/openstack-services/ipaddr-py.morph +++ /dev/null @@ -1,6 +0,0 @@ -name: ipaddr-py -kind: chunk -build-commands: -- cd trunk && python setup.py build -install-commands: -- cd trunk && python setup.py install --prefix "$PREFIX" --root "$DESTDIR" diff --git a/strata/openstack-services/ironic.morph b/strata/openstack-services/ironic.morph deleted file mode 100644 index 8003dd17..00000000 --- a/strata/openstack-services/ironic.morph +++ /dev/null @@ -1,18 +0,0 @@ -name: ironic -kind: chunk -build-system: python-distutils -post-install-commands: -- | - 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 - - ironic ALL=(root) NOPASSWD: /usr/bin/ironic-rootwrap /etc/ironic/rootwrap.conf * - EOF diff --git a/strata/openstack-services/keystone.morph b/strata/openstack-services/keystone.morph deleted file mode 100644 index 836b5d47..00000000 --- a/strata/openstack-services/keystone.morph +++ /dev/null @@ -1,9 +0,0 @@ -name: keystone -kind: chunk -build-system: python-distutils -post-install-commands: -# Install some default configuration files -- mkdir -p "$DESTDIR"/etc/keystone -- install -m 644 etc/keystone-paste.ini "$DESTDIR"/etc/keystone/ -- install -m 644 etc/policy.json "$DESTDIR"/etc/keystone/ -- install -m 644 etc/logging.conf.sample "$DESTDIR"/etc/keystone/logging.conf diff --git a/strata/openstack-services/librabbitmq.morph b/strata/openstack-services/librabbitmq.morph deleted file mode 100644 index b87ce369..00000000 --- a/strata/openstack-services/librabbitmq.morph +++ /dev/null @@ -1,10 +0,0 @@ -name: librabbitmq -kind: chunk -build-system: python-distutils -configure-commands: -- (cd rabbitmq-c; rm -rf codegen; ln -sf ../rabbitmq-codegen ./codegen) -- (cd rabbitmq-c; autoreconf -fvi) -- (cd rabbitmq-c; automake --add-missing) -- (cd rabbitmq-c; ./configure --disable-tools --disable-docs) -- (cd rabbitmq-c; make distdir) -- mv rabbitmq-c/rabbitmq-c-0.5.3 clib diff --git a/strata/openstack-services/neutron.morph b/strata/openstack-services/neutron.morph deleted file mode 100644 index 6e203922..00000000 --- a/strata/openstack-services/neutron.morph +++ /dev/null @@ -1,27 +0,0 @@ -name: neutron -kind: chunk -build-system: python-distutils -post-install-commands: -- | - # Move the configuration files to a proper location - mkdir "$DESTDIR"/etc - mv "$DESTDIR/$PREFIX"/etc/neutron "$DESTDIR"/etc - - # Remove unused start/stop script - rm "$DESTDIR/$PREFIX"/etc/init.d/neutron-server - - # Remove configuration files which will be added by Ansible - rm "$DESTDIR"/etc/neutron/neutron.conf - rm "$DESTDIR"/etc/neutron/metadata_agent.ini - rm "$DESTDIR"/etc/neutron/plugins/ml2/ml2_conf.ini - rm "$DESTDIR"/etc/neutron/dhcp_agent.ini - rm "$DESTDIR"/etc/neutron/l3_agent.ini - - # Add neutron to sudoers controlling which commands is running as a - # root using the openstack rootwrap. - mkdir -p "$DESTDIR"/etc/sudoers.d - install -D -m 0440 /proc/self/fd/0 <<'EOF' "$DESTDIR"/etc/sudoers.d/neutron-rootwrap - Defaults:neutron !requiretty - - neutron ALL=(root) NOPASSWD: /usr/bin/neutron-rootwrap /etc/neutron/rootwrap.conf * - EOF diff --git a/strata/openstack-services/nova.morph b/strata/openstack-services/nova.morph deleted file mode 100644 index e5a87daf..00000000 --- a/strata/openstack-services/nova.morph +++ /dev/null @@ -1,24 +0,0 @@ -name: nova -kind: chunk -build-system: python-distutils -post-install-commands: -# Install some default configuration files -- mkdir -p "$DESTDIR"/etc/nova -- install -m 644 etc/nova/api-paste.ini "$DESTDIR"/etc/nova/ -- install -m 644 etc/nova/cells.json "$DESTDIR"/etc/nova/ -- install -m 644 etc/nova/logging_sample.conf "$DESTDIR"/etc/nova/logging.conf -- install -m 644 etc/nova/policy.json "$DESTDIR"/etc/nova/ -# Install rootwrap.conf -- install -m 640 etc/nova/rootwrap.conf "$DESTDIR"/etc/nova/rootwrap.conf -# Move rootwrap files to a proper location -- mkdir -p "$DESTDIR"/etc/nova/rootwrap.d -- install -m 644 etc/nova/rootwrap.d/* "$DESTDIR"/etc/nova/rootwrap.d/ -# Add nova to sudoers controlling which commands will run as a root -# using the openstack rootwrap. -- mkdir -p "$DESTDIR"/etc/sudoers.d -- | - install -D -m 0440 /proc/self/fd/0 <<'EOF' "$DESTDIR"/etc/sudoers.d/nova-rootwrap - Defaults:nova !requiretty - - nova ALL=(root) NOPASSWD: /usr/bin/nova-rootwrap /etc/nova/rootwrap.conf * - EOF diff --git a/strata/openstack-services/novnc.morph b/strata/openstack-services/novnc.morph deleted file mode 100644 index 858320a0..00000000 --- a/strata/openstack-services/novnc.morph +++ /dev/null @@ -1,11 +0,0 @@ -name: novnc -kind: chunk -install-commands: -- mkdir -p "$DESTDIR$PREFIX"/share/novnc/utils -- install -m 444 *html "$DESTDIR$PREFIX"/share/novnc -- install -m 444 vnc.html "$DESTDIR$PREFIX"/share/novnc/index.html -- mkdir -p "$DESTDIR$PREFIX"/share/novnc/include -- install -m 444 include/*.* "$DESTDIR$PREFIX"/share/novnc/include -- mkdir -p "$DESTDIR$PREFIX"/share/novnc/images -- install -m 444 images/*.* "$DESTDIR$PREFIX"/share/novnc/images -- install -d "$DESTDIR"/etc/sysconfig diff --git a/strata/openstack-services/open-iscsi.morph b/strata/openstack-services/open-iscsi.morph deleted file mode 100644 index 6a0b73b3..00000000 --- a/strata/openstack-services/open-iscsi.morph +++ /dev/null @@ -1,46 +0,0 @@ -name: open-iscsi -kind: chunk -build-commands: -- make -install-commands: -# Rewrite prefix and exec_prefix which are set to "/usr" and "/" respectively -- make prefix="$PREFIX" exec_prefix="$PREFIX" DESTDIR="$DESTDIR" install -# Install iscsistart app which is not listed by default in PROGRAMS -- make prefix="$PREFIX" exec_prefix="$PREFIX" DESTDIR="$DESTDIR" PROGRAMS="usr/iscsistart" - install -post-install-commands: -# Configure iscsi daemon -# Point the startup to the installed binary -- | - sed -i -e "s|iscsid.startup = \/sbin\/iscsid|iscsid.startup = "$PREFIX"/sbin/iscsid|" \ - etc/iscsid.conf -# Start up a session automatically -- sed -i -e 's|node.startup = manual|node.startup = automatic|' etc/iscsid.conf -# Install config file -- install -D -m 644 etc/iscsid.conf "$DESTDIR"/etc/iscsi -# Install custom systemd unit file -- | - install -D -m 644 /proc/self/fd/0 << 'EOF' "$DESTDIR$PREFIX"/lib/systemd/system/iscsid.service - [Unit] - Description=Open iSCSI Daemon - After=network.target - - [Service] - Type=forking - ExecStart=/usr/sbin/iscsid - - [Install] - WantedBy=multi-user.target - EOF -# Install iscsi socket unit -- | - install -D -m 644 /proc/self/fd/0 << 'EOF' "$DESTDIR$PREFIX"/lib/systemd/system/iscsid.socket - [Unit] - Description=Open-iSCSI iscsid Socket - - [Socket] - ListenStream=@ISCSIADM_ABSTRACT_NAMESPACE - - [Install] - WantedBy=sockets.target - EOF diff --git a/strata/openstack-services/pysendfile.morph b/strata/openstack-services/pysendfile.morph deleted file mode 100644 index 2e2f809b..00000000 --- a/strata/openstack-services/pysendfile.morph +++ /dev/null @@ -1,3 +0,0 @@ -name: pysendfile -kind: chunk -build-system: python-distutils diff --git a/strata/openstack-services/qpid-python.morph b/strata/openstack-services/qpid-python.morph deleted file mode 100644 index 203b3db5..00000000 --- a/strata/openstack-services/qpid-python.morph +++ /dev/null @@ -1,6 +0,0 @@ -name: qpid-python -kind: chunk -build-commands: -- cd qpid/python && python setup.py build -install-commands: -- cd qpid/python && python setup.py install --prefix "$PREFIX" --root "$DESTDIR" diff --git a/strata/openstack-services/rabbitmq-codegen.morph b/strata/openstack-services/rabbitmq-codegen.morph deleted file mode 100644 index 2b06aeb5..00000000 --- a/strata/openstack-services/rabbitmq-codegen.morph +++ /dev/null @@ -1,7 +0,0 @@ -name: rabbitmq-codegen -kind: chunk -configure-commands: [] -build-commands: [] -install-commands: -- mkdir -p "$DESTDIR$PREFIX"/lib/rabbitmq-codegen -- cp * "$DESTDIR$PREFIX"/lib/rabbitmq-codegen diff --git a/strata/openstack-services/rabbitmq-server.morph b/strata/openstack-services/rabbitmq-server.morph deleted file mode 100644 index 97b8a126..00000000 --- a/strata/openstack-services/rabbitmq-server.morph +++ /dev/null @@ -1,16 +0,0 @@ -name: rabbitmq-server -kind: chunk -configure-commands: -- mkdir -p codegen -- cp /usr/lib/rabbitmq-codegen/* codegen -build-commands: -- make -install-commands: -- | - make install_bin TARGET_DIR="$DESTDIR$PREFIX" \ - SBIN_DIR="$DESTDIR$PREFIX"/sbin \ - MAN_DIR="$PREFIX"/share/man \ - DOC_INSTALL_DIR="$PREFIX"/share - -post-install-commands: -- rm "$DESTDIR$PREFIX"/LICENSE* "$DESTDIR$PREFIX"/INSTALL diff --git a/strata/openstack-services/rtslib-fb.morph b/strata/openstack-services/rtslib-fb.morph deleted file mode 100644 index 26de3f9b..00000000 --- a/strata/openstack-services/rtslib-fb.morph +++ /dev/null @@ -1,27 +0,0 @@ -name: rtslib-fb -kind: chunk -build-system: python-distutils -post-install-commands: -- mkdir -p "$DESTDIR$PREFIX"/lib/systemd/system - -# The following systemd unit is from the fedora package see -# http://pkgs.fedoraproject.org/cgit/python-rtslib.git/tree/target.service for -# more information - -- | - install -D -m 0644 /proc/self/fd/0 <<'EOF' "$DESTDIR$PREFIX"/lib/systemd/system/target.service - [Unit] - Description=Restore LIO kernel target configuration - Requires=sys-kernel-config.mount - After=sys-kernel-config.mount network.target local-fs.target - - [Service] - Type=oneshot - RemainAfterExit=yes - ExecStart=/usr/bin/targetctl restore - ExecStop=/usr/bin/targetctl clear - SyslogIdentifier=target - - [Install] - WantedBy=multi-user.target - EOF diff --git a/strata/openstack-services/singledispatch.morph b/strata/openstack-services/singledispatch.morph deleted file mode 100644 index 919c7096..00000000 --- a/strata/openstack-services/singledispatch.morph +++ /dev/null @@ -1,3 +0,0 @@ -name: singledispatch -kind: chunk -build-system: python-distutils diff --git a/strata/openstack-services/tempest.morph b/strata/openstack-services/tempest.morph deleted file mode 100644 index cffb7d33..00000000 --- a/strata/openstack-services/tempest.morph +++ /dev/null @@ -1,12 +0,0 @@ -name: tempest -kind: chunk -build-system: python-distutils -post-install-commands: -# Install files and folders required to run tempest -- mkdir -p "$DESTDIR"/etc/tempest -- cp -r tempest "$DESTDIR"/etc/tempest/ -- cp -r tools "$DESTDIR"/etc/tempest/ -- cp setup.py tox.ini "$DESTDIR"/etc/tempest/ -- cp run_tests.sh run_tempest.sh "$DESTDIR"/etc/tempest/ -- cp .testr.conf "$DESTDIR"/etc/tempest/ -- cp etc/logging.conf.sample "$DESTDIR"/etc/tempest/logging.conf diff --git a/strata/openstack-services/tftp-hpa.morph b/strata/openstack-services/tftp-hpa.morph deleted file mode 100644 index d466d2d4..00000000 --- a/strata/openstack-services/tftp-hpa.morph +++ /dev/null @@ -1,5 +0,0 @@ -name: tftp-hpa -build-system: autotools -kind: chunk -install-commands: -- make INSTALLROOT="$DESTDIR" install diff --git a/strata/openstack-services/thrift.morph b/strata/openstack-services/thrift.morph deleted file mode 100644 index 39062351..00000000 --- a/strata/openstack-services/thrift.morph +++ /dev/null @@ -1,6 +0,0 @@ -name: thrift -kind: chunk -build-system: autotools -max-jobs: 1 -pre-configure-commands: -- ./bootstrap.sh |