d53f72407e
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 |
||
---|---|---|
files | ||
manifests | ||
spec/acceptance/nodesets | ||
templates | ||
.gitignore | ||
.gitreview | ||
Gemfile | ||
LICENSE | ||
README.md | ||
Rakefile | ||
bindep.txt | ||
metadata.json |
README.md
OpenStack OpenStackId
OpenStackId is a single-sign-on service integrated with openstack.org profile database. Provides openid and oauth2 authentication for third party applications.
Quick Start
class { 'openstackid':
site_admin_password => 'adminpass',
# openstackid application database
id_mysql_host => 'localhost',
id_mysql_user => 'openstackid',
id_mysql_password => 'password',
id_db_name => 'openstackid',
# membership database
ss_mysql_host => 'localhost',
ss_mysql_user => 'openstackid',
ss_mysql_password => 'password',
ss_db_name => '$ss_db_name',
# redis settings
redis_port => '6378',
redis_host => '127.0.0.1',
redis_password => 'password',
# recaptcha service keys
id_recaptcha_public_key => $id_recaptcha_public_key,
id_recaptcha_private_key => $id_recaptcha_private_key,
id_recaptcha_template => $id_recaptcha_template,
# logging
id_log_error_to_email => $id_log_error_to_email,
id_log_error_from_email => $id_log_error_from_email,
# laravel environment settings
id_environment => 'dev',
# ssl configuration
ssl_cert_file => "/etc/ssl/certs/${::fqdn}.pem",
ssl_key_file => "/etc/ssl/private/${::fqdn}.key",
ssl_chain_file => '/etc/ssl/certs/intermediate.pem',
ssl_cert_file_contents => $ssl_cert_file_contents,
ssl_key_file_contents => $ssl_key_file_contents,
ssl_chain_file_contents => $ssl_chain_file_contents,
# release to deploy
openstackid_release => '1.0.2',
}