[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:28 UTC 2011


The following commit has been merged in the experimental branch:
commit 94f0b0996ba628f4916bcf0978b29c584c15818b
Author: Dominic Maraglia <dmaraglia at gmail.com>
Date:   Tue May 3 17:58:53 2011 -0700

    add base test for ticket 7117

diff --git a/acceptance/pending/ticket_7117_broke_env_criteria_authconf.rb b/acceptance/pending/ticket_7117_broke_env_criteria_authconf.rb
new file mode 100644
index 0000000..b45f91b
--- /dev/null
+++ b/acceptance/pending/ticket_7117_broke_env_criteria_authconf.rb
@@ -0,0 +1,20 @@
+test_name "#7117 Broke the environment criteria in auth.conf"
+
+# curl -k -H "Accept: yaml" https://cent-55-64-1:8140/override/facts/cent-55-64-1.local
+
+# add to auth.conf
+add_2_authconf = %q{
+path /
+environment override
+auth any
+allow *
+}
+
+step "Save original auth.conf file and create a temp auth.conf"
+on master, "cp #{config['puppetpath']}/auth.conf /tmp/auth.conf-7117; echo '#{add_2_authconf}' > #{config['puppetpath']}/auth.conf"
+
+step "Fetch agent facts from Puppet Master"
+on agents, "curl -k -H \"Accept: yaml\" https://#{master}:8140/override/facts/cent-55-64-1.local"
+
+step "Restore original auth.conf file"
+on master, "cp -f /tmp/auth.conf-7117 #{config['puppetpath']}/auth.conf"

-- 
Puppet packaging for Debian



More information about the Pkg-puppet-devel mailing list