summaryrefslogtreecommitdiff
path: root/spec/fixtures/manifests/site.pp
diff options
context:
space:
mode:
authorRaphaël Pinson <raphael.pinson@camptocamp.com>2013-03-15 20:39:16 +0100
committerRaphaël Pinson <raphael.pinson@camptocamp.com>2013-03-15 20:39:16 +0100
commita534f53b803ba46dd7ea2b55312949af688f850b (patch)
tree9b587b540e2ed653318802ef9a6fc623c51cde85 /spec/fixtures/manifests/site.pp
parentb9de77d2043341a6dd60c91daa26b6434c988f5f (diff)
Add specs for hosts
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,
+ }
+}