[PATCH/foreman 1/1] <%= @host.architecture %> not available in templates

Signed-off-by: Frank Sweetser <fs@wpi.edu>

··· --- app/models/host.rb | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/app/models/host.rb b/app/models/host.rb
index b9ddfb6…cf0c0fd 100644
— a/app/models/host.rb
+++ b/app/models/host.rb
@@ -16,7 +16,7 @@ class Host < Puppet::Rails::Host

class Jail < Safemode::Jail
allow :name, :diskLayout, :puppetmaster, :operatingsystem, :os, :environment, :ptable, :hostgroup, :url_for_boot,

  •  :params, :hostgroup, :domain, :ip, :mac, :shortname
    
  •  :params, :hostgroup, :domain, :ip, :mac, :shortname, :architecture
    

    end

    attr_reader :cached_host_params, :cached_lookup_keys_params

    1.7.4.1