Remove all content and add a README.rst to explain retirement.
Depends-On: I638cc127d3588d757a4da01984a2bd292a84413c
Needed-By: I8dbc25c8a0de61ef72d53b58cf8aae3e91f41442
Change-Id: I802957611fccf66a6cd74cb7e9a35c74cc875a8c
Instead of keeping a local copy of spec_helper_acceptance.rb and
requiring updates to all modules for any change, we can move it into the
common helper gem and require it from there. This will make it easier to
create and review changes that affect all puppet modules. Also change
the Gemfile to look for the gem in the local workspace if running in a
zuul environment.
Change-Id: Ib8d118b40ff3a844300d46dd65c2732c5be82e55
Bindep is a tool for checking the presence of binary packages needed
to use an application / library. It started life as a way to make it
easier to set up a development environment for OpenStack projects.
Change-Id: I8963906c0d164a032d15ac0887080b1cd753899b
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
Currently App catalog with Glare will not allow
to log in if memcached service is not running.
Other minor changes to get rid of lintian warnings.
Add retries to assets import due to timeouts from time
to time.
spec/acceptance/nodesets/ :
- nodepool-centos7.yml :
* Make host file compatible with beaker-hostgenerator 1.x
- nodepool-xenial.yml :
* Add host file for Xenial.
Change-Id: Id5466d346b2fd3e67bb8d0c3a9e5f6ad9d586b45
glare-db-sync should be called before the service
start up and right after package installation.
Remove default vhost completely.
Change-Id: I6e07f99a69b8beedac49edd1cf8f551ebb5c569d
This commit should allow to deploy app-catalog with glare support
introduced by Ib5c6920c90f566d73a5f9e8ed545f0e082a0b20e
Change-Id: I9fbe756cfcc2456587c0395e88f14681a1e43ee4
A script that runs when an asset is added to the app catalog
relies on python-dateutils. When it is not available, it
fails silently, and does not update the date that asset was
last modified. This commit will include that package.
Change-Id: I43b42c8e9d2a6053f9817c63bdc65c5b35eec485
Closes-Bug: 1553572
Order of those parameters is changed
to follow Puppet Style Guide recommendation [0].
Moreover, it will allow to an user to find much faster
a variable in a list of variables.
[0]. https://docs.puppetlabs.com/guides/style_guide.html
Change-Id: I6930da346e9bb4f2c7ceb865e8562468d9d5a19e
This commit updates the App Catalog manifest to execute the proper
commands for generating static and compressed content such that the
content will appear in the install directory as and when expected.
Change-Id: I130878728ce3a1ae06e9823fcd3db1aa1fa5285d
This patch updates the paths to prevent puppet
from making changes to the location where the
git repo is checked out.
Change-Id: I41ac378d98e5e3423d6538fb7cf90323ca9d5ac6
This commit adds and configures mod_wsgi
for apps.openstack.org.
Change-Id: I860ba015aff8e555a69c361b414e3214e9a2107f
Depends-On: I2fa9686d3e5db4ee43a02aa7d09b998472e02bf6
Murano does not support tagging packages in a way so that they can
add features to a package without making it break with older
engines. The app catalog does not support versioning yet, so we
need a way to let the Liberty Murano find Liberty packages
separate from the Kilo ones. This change sets up a way for the Murano
engine to specify what version it is and we can update the endpoint
later to target Liberty specific Murano packages.
Change-Id: Icb869e9ac8e9795e93d8922600d900522b759e08
This commit resolves errors that are being
triggered in puppet runs for the App Catalog
hosted on OpenStack Infra by removing the
unnecessary commands to create directories
and by checking for OS disto codename before
attempting to install the zopfli package.
Change-Id: I9444087c3aa1001616af88303d8ce04fc7050b47
Closes-bug: 1495648
This commit updates the line specifying the
repository holding the contents for the
App Catalog web site, which is being moved
from stackforge to openstack.
Change-Id: Ib88c339eb176ecb17cce5ddedb02cf726d6983cf
Depends-On: Icad6f97112f91c528f80b887a5caa9fd8f6e5355
This patch adds access control headers to
the location /api/v1/assets.
This will allow a Horizon panel to work with
the App Catalog directly. For multiple
deployments of OpenStack to access the JSON
file regardless of their domain name, this
additional header (Access-Control-Allow-Origin)
must be set to "*" which will enable cross-
origin resource sharing which is normally
forbidden to prevent security issues related
to cross-site scripting. This change also
enables compression on the file, giving roughly
a 5x reduction in download size. This patch also
removes this access control header from /static
To provide content at /api/v1/assets this
patch replaces a trigger that used to build
a JSON file via a shell call in puppet with
a call to a script on the server.
Authored-By: Christopher Aedo <doc@aedo.net>
Co-Authored-By: Kevin Fox <kevin@efox.cc>
Change-Id: I4da417908186c24767310d337bc3bbbc07964d48
Closes-Bug: 1490609
This commit modifies the puppet manifest to
generate a JSON file from the contents of
the assets.yaml file. This is necessary as
the multiple YAML files are now combined
into a single YAML file.
Change-Id: Ib8211b1f0a00e2d9098c7c0eb0624781fdb212d3
Use same target directory for zuul-cloner and
the regular git command.
Change-Id: I7b5f1841ad20b16217c28d82c88481a0aa69affe
Co-Authored-By: Fabien Boucher <fabien.boucher@enovance.com>
Variables with numbers for names are valid as regex capture groups in
puppet 4[1], so this check is not beneficial and can be
counterproductive when we do actually want to have numeric variables.
Change-Id: I6ae5eaa5d9036b415759793f8bdc3dc8f1351c7e
puppet-httpd is the openstack-infra version of puppetlabs-apache
(0.0.4) release.
This patchset will remove the puppetlabs-apache namespace from -infra
allowing for possible future patchsets to use newer puppetlabs-apache
modules.
Change-Id: Ieaabcd9f6fbb4556c8f30e87245fceb7ef539d2e
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
In anticipation of puppet 4, start trying to deal with puppet 4 things
that can be helpfully predicted by puppet lint plugins.
This patch also fixes lint errors caught by the
puppet-lint-absolute_classname-check gem.
Change-Id: Ia6fdc921b4c4a8ec2d5f6a6dfe9669704eafc67b
This commit enables the apache headers module,
and adds an access control header which will
allow AJAX requests from other sites. This
is intended to allow a Horizon panel to work
with the App Catalog directly. For multiple
deployments of OpenStack to access the JSON
files regardless of their domain name, this
additional header (Access-Control-Allow-Origin)
must be set to "*" which will enable cross-
origin resource sharing which is normally
forbidden to prevent security issues related
to cross-site scripting.
This commit also includes a modification to
the puppet module to create three JSON files from
the contents of YAML files retrieved from the
App Catalog repository. The YAML format was
chosen in order to make it convenient for humans
to add content to the App Catalog, but the
preliminary work on a Horizon plugin relies on
retrieving the contents in JSON format. Adding
the functionality to automatically generate
the JSON files is a short term step intended
to accelerate development of the Horizon plugin.
Change-Id: I4a3c44bb5806362416b1b175d917939ebaa351dd
Closes-Bug: 1467699
The apache vhost template needed to live
in a templates subdirectory. This commit
moves the template file into the subdirectory.
Change-Id: Ic9aa9385970ba98c50e915ffa8127ef0182744db
This commit adds the puppet module to
host the content of apps.openstack.org
by cloning the repo hosting static
content.
Change-Id: If419130e5ed01742c0e3840c7fe761ca53f86560