summaryrefslogtreecommitdiff
path: root/spec/fixtures
diff options
context:
space:
mode:
Diffstat (limited to 'spec/fixtures')
-rw-r--r--spec/fixtures/manifests/site.pp23
1 files changed, 23 insertions, 0 deletions
diff --git a/spec/fixtures/manifests/site.pp b/spec/fixtures/manifests/site.pp
new file mode 100644
index 0000000..fb803e5
--- /dev/null
+++ b/spec/fixtures/manifests/site.pp
@@ -0,0 +1,23 @@
+# simple_* and wrong_os tests
+node default {
+ class { '::augeas':
+ version => $::augeas_version,
+ ruby_version => $::augeas_ruby_version,
+ lens_dir => $::augeas_lens_dir,
+ }
+}
+
+node 'with_lens_noaugeas' {
+ ::augeas::lens { 'foo':
+ lens_source => '/tmp/foo.aug',
+ }
+}
+
+node 'with_lens' {
+ include ::augeas
+ ::augeas::lens { 'foo':
+ lens_source => $::augeas_lens_source,
+ test_source => $::augeas_test_source,
+ stock_since => $::augeas_stock_since,
+ }
+}