[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, experimental, updated. debian/2.6.8-1-844-g7ec39d5
Dominic Maraglia
dmaraglia at gmail.com
Tue May 10 08:19:46 UTC 2011
The following commit has been merged in the experimental branch:
commit d2b5ec617d91accdaf89a5f3309a4ffd3709d288
Author: Dominic Maraglia <dmaraglia at gmail.com>
Date: Thu May 5 09:51:47 2011 -0700
Adding test for ticket 7139
diff --git a/acceptance/tests/ticket_7139_puppet_resource_file_qualified_paths.rm b/acceptance/tests/ticket_7139_puppet_resource_file_qualified_paths.rm
new file mode 100644
index 0000000..f773ba1
--- /dev/null
+++ b/acceptance/tests/ticket_7139_puppet_resource_file_qualified_paths.rm
@@ -0,0 +1,11 @@
+test_name "#7139: Puppet resource file failes on path with leading '/'"
+
+step "Agents: create valid, invalid formatted manifests"
+create_remote_file(agents, '/tmp/ticket-7139', %w{foo bar contents} )
+
+step "Run puppet file resource on /tmp/ticket-7139"
+agents.each do |host|
+ on(host, "puppet resource file /tmp/ticket-7139") do
+ assert_match(/file \{ \'\/tmp\/ticket-7139\':/, stdout, "puppet resource file failed on #{host}")
+ end
+end
--
Puppet packaging for Debian
More information about the Pkg-puppet-devel
mailing list