Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Duncan McGreggor
committed
Jan 1, 2014
1 parent
c18249c
commit 1f51cc1
Showing
4 changed files
with
57 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
(defmodule lferax-config | ||
(export all)) | ||
|
||
(defun open () | ||
(: openstack-config open | ||
(: lferax-const config-file))) | ||
|
||
(defun get-value (key) | ||
(: openstack-config open | ||
(: lferax-const config-file)) | ||
(: openstack-config get-value | ||
(: lferax-const config-provider) key)) | ||
|
||
(defun get-username () | ||
(get-value '"username")) | ||
|
||
(defun get-password () | ||
(get-value '"password")) | ||
|
||
(defun get-apikey () | ||
(get-value '"apikey")) | ||
|
||
(defun get-auth-url () | ||
(get-value '"auth-url")) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters