diff options
| author | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2007-01-30 18:39:21 +0000 |
|---|---|---|
| committer | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2007-01-30 18:39:21 +0000 |
| commit | 788a74e80c6af40ca2a0d162c5445a0aa0ba866a (patch) | |
| tree | 838c639dbc1af81c7ca90cf78d558d64f6cae2fe /test/data | |
| parent | a7bd7863fe67e2441013c8c26bcc112d76650dcd (diff) | |
| download | puppet-788a74e80c6af40ca2a0d162c5445a0aa0ba866a.tar.gz puppet-788a74e80c6af40ca2a0d162c5445a0aa0ba866a.tar.xz puppet-788a74e80c6af40ca2a0d162c5445a0aa0ba866a.zip | |
Partially fixing #460, take 2 -- fully-qualified definitions can now be used.
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2127 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'test/data')
| -rw-r--r-- | test/data/snippets/fqdefinition.pp | 5 | ||||
| -rw-r--r-- | test/data/snippets/fqparents.pp | 11 |
2 files changed, 16 insertions, 0 deletions
diff --git a/test/data/snippets/fqdefinition.pp b/test/data/snippets/fqdefinition.pp new file mode 100644 index 000000000..ddb0675a9 --- /dev/null +++ b/test/data/snippets/fqdefinition.pp @@ -0,0 +1,5 @@ +define one::two($ensure) { + file { "/tmp/fqdefinition": ensure => $ensure } +} + +one::two { "/tmp/fqdefinition": ensure => file } diff --git a/test/data/snippets/fqparents.pp b/test/data/snippets/fqparents.pp new file mode 100644 index 000000000..ae588d9cf --- /dev/null +++ b/test/data/snippets/fqparents.pp @@ -0,0 +1,11 @@ +class base { + class one { + file { "/tmp/fqparent1": ensure => file } + } +} + +class two inherits base::one { + file { "/tmp/fqparent2": ensure => file } +} + +include two |
