OpenDev is no longer running an openstackid instance and the puppet
module isn't used by the folks running the current instance. We can go
ahead and clean this repo up.
Depends-On: https://review.opendev.org/c/openstack/project-config/+/818170
Change-Id: Ifab5aa7a839d8353aee9acacd5fd2eec525cc924
fixed permission due generating the pickle
file was not allowed.
Change-Id: I18f5a832753c393ba01cec6e3318191a1e639c1f
Signed-off-by: smarcet <smarcet@gmail.com>
With the OpenDev transition for static site content, the official
location for OpenStackID tarballs is now in
https://tarballs.opendev.org/osf/openstackid/ so update our template
accordingly.
Change-Id: I4939b5fde244777126497f707e362d1c28643a4e
removed all config variables related to
ss integration
Change-Id: Id57bbf6329a0aac9904fd317ce0e1d8628993aa3
Signed-off-by: smarcet <smarcet@gmail.com>
Depends-on: https://review.opendev.org/#/c/709529
* setting the proper storage permissions
at the end of deployment
* refactoring
Change-Id: I75aca729ebaa9b3bf6c367592b0c42dd9221a856
Signed-off-by: smarcet <smarcet@gmail.com>
* Moved Redis clear cache routine to its own function.
* Moved ORM clear cache routine to its own function.
* Set proper execution permissions for artisan command.
Change-Id: Icdb4740621d6f9c7310d1b6bb52ce1db43652882
Get rid of lots of leading :: prefixes because the puppet-lint
authors think that's prettier for some reason.
Change-Id: If1f0fcebe4305861ff6cabe596feb023548cf23a
added rules to redirect registration/password lost
and resend verification to www site
Change-Id: I487a973826fb40675e5e9999be89d69481a7312e
Depends-On: https://review.opendev.org/#/c/656396/
This is a mechanically generated change to replace openstack.org
git:// URLs with https:// equivalents.
This is in aid of a planned future move of the git hosting
infrastructure to a self-hosted instance of gitea (https://gitea.io),
which does not support the git wire protocol at this stage.
This update should result in no functional change.
For more information see the thread at
http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003825.html
Change-Id: I5a536fb5b163a1e2a92f10c0bcc0802c36f790db
We currently setup a symlink loop between /usr/bin/node and
/usr/bin/nodejs. This seems to happen due to a mismatch in expectations
between nodesource packaging and our nodejs puppet module. Thankfully
the puppet module allows us to disable the symlinking behavior [0].
We've successfully used this method on the etherpad servers so apply it
to openstackid as well.
[0] https://github.com/voxpupuli/puppet-nodejs/tree/v2.3.0#legacy_debian_symlinks
Debugging notes:
Symlink loop:
clarkb@openstackid-dev01:~$ ls -al /usr/bin/node
lrwxrwxrwx 1 root root 15 Mar 18 23:54 /usr/bin/node -> /usr/bin/nodejs
clarkb@openstackid-dev01:~$ ls -al /usr/bin/nodejs
lrwxrwxrwx 1 root root 24 Mar 18 23:32 /usr/bin/nodejs -> /etc/alternatives/nodejs
clarkb@openstackid-dev01:~$ ls -al /etc/alternatives/nodejs
lrwxrwxrwx 1 root root 13 Mar 18 23:32 /etc/alternatives/nodejs -> /usr/bin/node
Package contents:
clarkb@openstackid-dev01:~$ dpkg -L nodejs | grep /usr/bin
/usr/bin
/usr/bin/node
/usr/bin/npx
/usr/bin/npm
Puppet logs:
Mar 18 23:54:39 openstackid-dev01 puppet-user[19866]: (/Stage[main]/Nodejs::Install/File[/usr/bin/node]/ensure) ensure changed 'file' to 'link'
Mar 18 23:54:39 openstackid-dev01 puppet-user[19866]: (/Stage[main]/Nodejs::Install/File[/usr/share/man/man1/node.1.gz]/ensure) ensure changed 'file' to 'link'
Change-Id: Ib77b851e12a4f94b5853b1b9e981f898c0ad36f1
As time has moved on we've udpated versions of some puppet modules
making the deps list here inaccurate. Be more forgiving in the list to
avoid warnings as we update things.
Change-Id: I80c12ac6382eb324507307f443ede369ae20ca6e
* added code to ensure that directory /etc/mysql-client-ssl exists
before to create the certs
* fixed typo on .env
Change-Id: I89640b2d25b274bcc7205b6665c9930d695a003d
* removed installation of n package ( not needed any more
due that we are installing latest nodejs version)
* added sudo to npm install due lack of permissions on
local node_modules
* added code to ensure correct tree structure of storage
folder
Change-Id: I66c8a3f52d05a74b4ed190710739c75ed05b6d05
default nodejs version installed on ubuntu xenial
is too old ( 4.x ) and wanst installing npm package
thus deployment was failing bc its relaying on that one
added repo_url_suffix attribute to class nodejs to force
to install version 9.x
Change-Id: I4f3fe711acaffdf7340c49dc9aca095bbbf10a68
Added php 7.x support and xenial support using external
ppa from andrej
Depends-On: https://review.openstack.org/611936
Change-Id: Ic30cc62216be3035c363fa0203a757df662acf47
The logic in the Gemfile was relying on Zuulv2 variables to find out
whether the spec helper gem was already available on disk, and since
Zuulv3 has changed things it was failing to find it and downloading the
master version instead. This patch ensures the Gemfile looks for the gem
in the right place when running in CI.
Change-Id: I121113f068b8c581bee477c5b77557e6ab155051
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: I61e2b18f5b1214bcf00f0c682132a41c807806db
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
Curl is an important package that we end up needing in a few places. To
avoid puppet unique name conflicts with the package "curl" only define
the curl package resource if it isn't already defined.
This allows us to define it in multiple places that may or may not
overlap depending on how hosts are constructed.
Change-Id: I17c119e81a035916550de44356b9f4badd505c81
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: Ic12edafbb2e33df37c23e3527e961cc71bc67c8c