summaryrefslogtreecommitdiff
path: root/spec/fixtures/manifests/site.pp
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2013-06-14 16:04:51 -0400
committerMicah Anderson <micah@riseup.net>2013-06-14 16:06:58 -0400
commitda0ce6473e4b3d65b60878c8cde62379222ee499 (patch)
tree987c42142c548ab1f3db7df9392bec306bd29f2f /spec/fixtures/manifests/site.pp
parent4d57632afc0d9be88c4c9a30ee26599bdbefef00 (diff)
parent0c75e1584827e52c3af20d304a76111f37307c48 (diff)
Merge remote-tracking branch 'camptocamp/master'
Conflicts: README manifests/debian.pp manifests/files.pp manifests/init.pp manifests/lens.pp manifests/redhat.pp
Diffstat (limited to 'spec/fixtures/manifests/site.pp')
-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,
+ }
+}