aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorJan Tuomi <jans.tuomi@gmail.com>2024-01-24 16:57:56 +0200
committerJan Tuomi <jans.tuomi@gmail.com>2024-01-24 17:12:45 +0200
commit0bc80beb699000826b8e9415a7b254c92dc86a5a (patch)
treec67c5ea7e06447339e811ef2c177bcf920d68fc5 /examples
parentb5ddfdc53cf1cf2197adf8718ea405acfa2fe6f7 (diff)
Do things
Diffstat (limited to 'examples')
-rw-r--r--examples/apply-config5
-rw-r--r--examples/desmo-config.scm19
-rw-r--r--examples/desmorc1
3 files changed, 6 insertions, 19 deletions
diff --git a/examples/apply-config b/examples/apply-config
new file mode 100644
index 0000000..343fe81
--- /dev/null
+++ b/examples/apply-config
@@ -0,0 +1,5 @@
+((prison (name "foobar")
+ (base "14.0-RELEASE-base")
+ (packages ())
+ (commands ())
+ (replicas 3)))
diff --git a/examples/desmo-config.scm b/examples/desmo-config.scm
deleted file mode 100644
index 5ca34ca..0000000
--- a/examples/desmo-config.scm
+++ /dev/null
@@ -1,19 +0,0 @@
-((cluster
- (node (name "node1")
- (tags "tag1")
- (ssh-hostname "2001:db8:0:1::1")
- (ssh-user "root")
- (ssh-command "ssh -i ~/.ssh/desmo_rsa -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null"))
- (node (name "node2")
- (ssh-user "root")
- (ssh-hostname "2001:db8:0:1::2")
- (ssh-command "ssh -i ~/.ssh/desmo_rsa -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null"))
- (node (name "node3")
- (ssh-user "root")
- (ssh-hostname "2001:db8:0:1::3")
- (ssh-command "ssh -i ~/.ssh/desmo_rsa -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null")))
- (service (name "service1")
- (port 80)
- (protocol "tcp")
- (requires-tag "tag1")))
-
diff --git a/examples/desmorc b/examples/desmorc
new file mode 100644
index 0000000..331a201
--- /dev/null
+++ b/examples/desmorc
@@ -0,0 +1 @@
+((mgmt-api-url "http://localhost:9939"))