Skip to content

Instantly share code, notes, and snippets.

def self.get_session(credentials)
@session =|| get_private_session(credentials)
@session
end
def self.get_private_session(credentials)
configuration = make_configuration(credentials)
session = ::Aviator::Session.new(:config => configuration)
session.authenticate unless credentials.nil?
session
class fooclass (
$foo = "using default"
) {
warning("foo = [$foo]")
}
class { 'fooclass': foo => hiera('does not exist', undef) }
# This prints Warning: foo = []
diff --git a/bin/foreman_server.sh b/bin/foreman_server.sh
index 95550e7..f814171 100755
--- a/bin/foreman_server.sh
+++ b/bin/foreman_server.sh
@@ -1,10 +1,12 @@
#!/bin/bash
-echo "#################### RED HAT OPENSTACK #####################"
-echo "Thank you for using the Red Hat OpenStack Foreman Installer!"
-echo "############################################################"
diff --git a/packstack/plugins/keystone_100.py b/packstack/plugins/keystone_100.
index 7440ec9..718337d 100644
--- a/packstack/plugins/keystone_100.py
+++ b/packstack/plugins/keystone_100.py
@@ -87,6 +87,19 @@ def initConfig(controller):
"USE_DEFAULT": True,
"NEED_CONFIRM": False,
"CONDITION": False},
+
+ {"CMD_OPTION": "keystone-use-wsgi",