%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
Server IP : 49.231.201.246 / Your IP : 216.73.216.149 Web Server : Apache/2.4.18 (Ubuntu) System : Linux 246 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64 User : root ( 0) PHP Version : 7.0.33-0ubuntu0.16.04.16 Disable Function : exec,passthru,shell_exec,system,proc_open,popen,pcntl_exec MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/share/augeas/lenses/dist/tests/ |
Upload File : |
(* Module: Test_Puppetfile Provides unit tests and examples for the <Puppetfile> lens. *) module Test_Puppetfile = (* Test: Puppetfile.lns *) test Puppetfile.lns get "forge \"https://forgeapi.puppetlabs.com\" mod 'puppetlabs-razor' mod 'puppetlabs-ntp', \"0.0.3\" mod 'puppetlabs-apt', :git => \"git://github.com/puppetlabs/puppetlabs-apt.git\" mod 'puppetlabs-stdlib', :git => \"git://github.com/puppetlabs/puppetlabs-stdlib.git\" mod 'puppetlabs-apache', '0.6.0', :github_tarball => 'puppetlabs/puppetlabs-apache' metadata\n" = { "forge" = "https://forgeapi.puppetlabs.com" } { } { "1" = "puppetlabs-razor" } { "2" = "puppetlabs-ntp" { "@version" = "0.0.3" } } { } { "3" = "puppetlabs-apt" { "git" = "git://github.com/puppetlabs/puppetlabs-apt.git" } } { } { "4" = "puppetlabs-stdlib" { "git" = "git://github.com/puppetlabs/puppetlabs-stdlib.git" } } { } { "5" = "puppetlabs-apache" { "@version" = "0.6.0" } { "github_tarball" = "puppetlabs/puppetlabs-apache" } } { } { "metadata" } (* Test: Puppetfile.lns Complex version conditions *) test Puppetfile.lns get "mod 'puppetlabs/stdlib', '< 5.0.0' mod 'theforeman/concat_native', '>= 1.3.0 < 1.4.0' mod 'herculesteam/augeasproviders', '2.1.x'\n" = { "1" = "puppetlabs/stdlib" { "@version" = "< 5.0.0" } } { "2" = "theforeman/concat_native" { "@version" = ">= 1.3.0 < 1.4.0" } } { "3" = "herculesteam/augeasproviders" { "@version" = "2.1.x" } }