[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, squeeze, updated. debian/2.6.0-2-6-ga9df0ac
Stig Sandbeck Mathisen
ssm at debian.org
Fri Aug 27 21:14:15 UTC 2010
The following commit has been merged in the squeeze branch:
commit 41459f11fc0205a4a29e4734e6adff5e2daab128
Author: Markus Roberts <Markus at reality.com>
Date: Fri Aug 6 10:47:42 2010 -0700
Fix for #4487 -- Store environment names, not objects if storeconfigs
Users of stored configs expect the environment column to contain the name. So
that's what we put there.
diff --git a/lib/puppet/rails/host.rb b/lib/puppet/rails/host.rb
index 6c008bc..e0482e9 100644
--- a/lib/puppet/rails/host.rb
+++ b/lib/puppet/rails/host.rb
@@ -56,7 +56,7 @@ class Puppet::Rails::Host < ActiveRecord::Base
end
if env = node.environment
- host.environment = env
+ host.environment = env.to_s
end
# Store the facts into the database.
--
Puppet packaging for Debian
More information about the Pkg-puppet-devel
mailing list