summaryrefslogtreecommitdiff
path: root/doc/examples
diff options
context:
space:
mode:
authorJames Falcon <TheRealFalcon@users.noreply.github.com>2020-05-08 16:38:51 -0500
committerGitHub <noreply@github.com>2020-05-08 17:38:51 -0400
commit34b868020254106af8c79ffb85e04e294b19e44f (patch)
tree7b7e285f0b9c13a7d9551d61ec5ef0b38b6e3263 /doc/examples
parentb24b376fabd54e4dc96ffc1b90a984addf42fc4c (diff)
downloadvyos-cloud-init-34b868020254106af8c79ffb85e04e294b19e44f.tar.gz
vyos-cloud-init-34b868020254106af8c79ffb85e04e294b19e44f.zip
Add test to ensure docs examples are valid cloud-init configs (#355)
Also update all examples to include the cloud-config header if they don't have it LP: #1876414
Diffstat (limited to 'doc/examples')
-rw-r--r--doc/examples/cloud-config-apt.txt1
-rw-r--r--doc/examples/cloud-config-datasources.txt2
-rw-r--r--doc/examples/cloud-config-disk-setup.txt1
-rw-r--r--doc/examples/cloud-config-landscape.txt1
-rw-r--r--doc/examples/cloud-config-rsyslog.txt1
5 files changed, 6 insertions, 0 deletions
diff --git a/doc/examples/cloud-config-apt.txt b/doc/examples/cloud-config-apt.txt
index ec10ae94..5a56cd1b 100644
--- a/doc/examples/cloud-config-apt.txt
+++ b/doc/examples/cloud-config-apt.txt
@@ -1,3 +1,4 @@
+#cloud-config
# apt_pipelining (configure Acquire::http::Pipeline-Depth)
# Default: disables HTTP pipelining. Certain web servers, such
# as S3 do not pipeline properly (LP: #948461).
diff --git a/doc/examples/cloud-config-datasources.txt b/doc/examples/cloud-config-datasources.txt
index e5780472..13bb687c 100644
--- a/doc/examples/cloud-config-datasources.txt
+++ b/doc/examples/cloud-config-datasources.txt
@@ -1,3 +1,5 @@
+#cloud-config
+
# Documentation on data sources configuration options
datasource:
# Ec2
diff --git a/doc/examples/cloud-config-disk-setup.txt b/doc/examples/cloud-config-disk-setup.txt
index 6b7112cb..5c6de77e 100644
--- a/doc/examples/cloud-config-disk-setup.txt
+++ b/doc/examples/cloud-config-disk-setup.txt
@@ -1,3 +1,4 @@
+#cloud-config
# Cloud-init supports the creation of simple partition tables and file systems
# on devices.
diff --git a/doc/examples/cloud-config-landscape.txt b/doc/examples/cloud-config-landscape.txt
index d7ff8ef8..88be57ce 100644
--- a/doc/examples/cloud-config-landscape.txt
+++ b/doc/examples/cloud-config-landscape.txt
@@ -1,3 +1,4 @@
+#cloud-config
# Landscape-client configuration
#
# Anything under the top 'landscape: client' entry
diff --git a/doc/examples/cloud-config-rsyslog.txt b/doc/examples/cloud-config-rsyslog.txt
index 8113272d..d28dd38e 100644
--- a/doc/examples/cloud-config-rsyslog.txt
+++ b/doc/examples/cloud-config-rsyslog.txt
@@ -1,3 +1,4 @@
+#cloud-config
## the rsyslog module allows you to configure the systems syslog.
## configuration of syslog is under the top level cloud-config
## entry 'rsyslog'.