diff options
| author | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2006-12-14 19:53:47 +0000 |
|---|---|---|
| committer | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2006-12-14 19:53:47 +0000 |
| commit | 72f8b3205296e1242ff63061fb7a6770cd423609 (patch) | |
| tree | a6367a95d20ec35e7626f74cd826df5abff254d0 /test/data | |
| parent | f5e7915b54a4bdb21067ad82142751b542345969 (diff) | |
| download | puppet-72f8b3205296e1242ff63061fb7a6770cd423609.tar.gz puppet-72f8b3205296e1242ff63061fb7a6770cd423609.tar.xz puppet-72f8b3205296e1242ff63061fb7a6770cd423609.zip | |
Reworking the package tests. Now providers are tested individually
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1921 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'test/data')
| -rw-r--r-- | test/data/providers/package/testpackages.yaml | 64 | ||||
| -rw-r--r-- | test/data/snippets/aliastest.pp | 4 |
2 files changed, 66 insertions, 2 deletions
diff --git a/test/data/providers/package/testpackages.yaml b/test/data/providers/package/testpackages.yaml new file mode 100644 index 000000000..47998ed33 --- /dev/null +++ b/test/data/providers/package/testpackages.yaml @@ -0,0 +1,64 @@ +--- +- :operatingsystem: Solaris + :files: + - /usr/local/pkg/rdesktop-1.3.1-sol10-intel-local + - /usr/local/pkg/rdesktop-1.4.1-sol10-x86-local + :hardwareisa: i386 + :name: SMCrdesk + :operatingsystemrelease: "5.10" + :provider: :sun +- :operatingsystem: Solaris + :name: cabextract + :provider: :blastwave +- :operatingsystem: Solaris + :files: + - /usr/local/pkg/arc-5.21e-sol8-sparc-local + :hardwareisa: sparc + :name: SMCarc + :operatingsystemrelease: "5.8" + :provider: :sun +- :operatingsystem: Solaris + :files: + - /usr/local/pkg/arc-5.21e-sol8-intel-local + :hardwareisa: i386 + :name: SMCarc + :operatingsystemrelease: "5.8" + :provider: :sun +- :operatingsystem: OpenBSD + :files: + - ftp://ftp.usa.openbsd.org/pub/OpenBSD/3.8/packages/i386/aalib-1.2-no_x11.tgz + :name: aalib + :provider: :openbsd +- :operatingsystem: Debian + :name: zec + :provider: :apt +- :operatingsystem: Debian + :name: zec + :provider: :aptitude +- :operatingsystem: Fedora + :name: wv + :provider: :yum +- :operatingsystem: + - Fedora + - CentOS + - RedHat + :files: + - /home/luke/rpm/RPMS/noarch/enhost-1.0.1-1.noarch.rpm + - /home/luke/rpm/RPMS/noarch/enhost-1.0.2-1.noarch.rpm + :name: enhost + :provider: :rpm +- :operatingsystem: Darwin + :name: aop + :provider: :darwinports +- :operatingsystem: FreeBSD + :name: yahtzee + :provider: :ports +- :provider: :apple + :files: + - /Users/luke/Documents/Puppet/pkgtesting.pkg + :name: pkgtesting +- :provider: :gem + :name: wxrubylayouts + :versions: + - 0.0.2 + - 0.0.3 diff --git a/test/data/snippets/aliastest.pp b/test/data/snippets/aliastest.pp index 2a8fc9cb9..f2b61592e 100644 --- a/test/data/snippets/aliastest.pp +++ b/test/data/snippets/aliastest.pp @@ -6,11 +6,11 @@ file { "a file": file { "another": path => "/tmp/aliastest2", ensure => file, - require => file["a file"] + require => File["a file"] } file { "a third": path => "/tmp/aliastest3", ensure => file, - require => file["/tmp/aliastest"] + require => File["/tmp/aliastest"] } |
