From a62db1a0c62d9caf45f9a8577fda8ef589722a12 Mon Sep 17 00:00:00 2001 From: Megan Marsh Date: Fri, 8 Mar 2019 14:50:05 -0800 Subject: [PATCH] add tests fixtures --- packer/test-fixtures/variables.json | 11 +++++++++++ packer/test-fixtures/variables2.json | 10 ++++++++++ 2 files changed, 21 insertions(+) create mode 100644 packer/test-fixtures/variables.json create mode 100644 packer/test-fixtures/variables2.json diff --git a/packer/test-fixtures/variables.json b/packer/test-fixtures/variables.json new file mode 100644 index 000000000..b3b32a7bd --- /dev/null +++ b/packer/test-fixtures/variables.json @@ -0,0 +1,11 @@ +{ + "variables": { + "foo": "bar", + "bar": "{{user `foo`}}", + "baz": "{{user `bar`}}baz", + "bang": "bang{{user `baz`}}" + }, + "builders": [ + {"type": "foo"} + ] +} diff --git a/packer/test-fixtures/variables2.json b/packer/test-fixtures/variables2.json new file mode 100644 index 000000000..3d4019756 --- /dev/null +++ b/packer/test-fixtures/variables2.json @@ -0,0 +1,10 @@ +{ + "variables": { + "bar": "{{user `foo`}}", + "baz": "{{user `bar`}}baz", + "bang": "bang{{user `baz`}}" + }, + "builders": [ + {"type": "foo"} + ] +}