aboutsummaryrefslogtreecommitdiffhomepage
path: root/dhall/addon
diff options
context:
space:
mode:
authorHussein Ait-Lahcen <hussein.ait-lahcen@fretlink.com>2018-11-19 15:50:51 +0100
committerHussein Ait-Lahcen <hussein.ait-lahcen@fretlink.com>2018-11-19 18:58:43 +0100
commit50a9e710f9cff8be9d85d7161bb454a46c3f5734 (patch)
tree8b566d127eb719a0c3f458f8f80b91a6d75040bc /dhall/addon
parentb570ba036adb74095c712705d686f630d41f4ed0 (diff)
downloadansible-clever-50a9e710f9cff8be9d85d7161bb454a46c3f5734.tar.gz
ansible-clever-50a9e710f9cff8be9d85d7161bb454a46c3f5734.tar.zst
ansible-clever-50a9e710f9cff8be9d85d7161bb454a46c3f5734.zip
add dhall interface
Diffstat (limited to 'dhall/addon')
-rw-r--r--dhall/addon/Addon.dhall1
-rw-r--r--dhall/addon/Postgresql.dhall3
-rw-r--r--dhall/addon/functions.dhall1
3 files changed, 5 insertions, 0 deletions
diff --git a/dhall/addon/Addon.dhall b/dhall/addon/Addon.dhall
new file mode 100644
index 0000000..2eb781c
--- /dev/null
+++ b/dhall/addon/Addon.dhall
@@ -0,0 +1 @@
< Postgresql : { name : Text, env_prefix : Text } >
diff --git a/dhall/addon/Postgresql.dhall b/dhall/addon/Postgresql.dhall
new file mode 100644
index 0000000..9dd9744
--- /dev/null
+++ b/dhall/addon/Postgresql.dhall
@@ -0,0 +1,3 @@
1 let addon = constructors ./Addon.dhall
2
3in addon.Postgresql { name = "pg", env_prefix = "POSTGRESQL_ADDON" }
diff --git a/dhall/addon/functions.dhall b/dhall/addon/functions.dhall
new file mode 100644
index 0000000..65979ac
--- /dev/null
+++ b/dhall/addon/functions.dhall
@@ -0,0 +1 @@
{ Postgresql = ./Postgresql.dhall }