---
lib/puppet/rails/host.rb | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/lib/puppet/rails/host.rb b/lib/puppet/rails/host.rb
index a7cbfe9..187dc65 100644
--- a/lib/puppet/rails/host.rb
+++ b/lib/puppet/rails/host.rb
@@ -43,7 +43,7 @@ class Puppet::Rails::Host < ActiveRecord::Base
host.ip = ip
end
- if env = node.parameters["environment"]
+ if env = node.environment
host.environment = env
end
--
1.5.4.3
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Puppet Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/puppet-dev?hl=en
-~----------~----~----~----~------~----~------~--~---