Project

General

Profile

Bug #6

Foreman cant save new hosts with puppet 0.24-5

Added by Ohad Levy over 10 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Low
Assignee:
Category:
Web Interface
Target version:
Difficulty:
Triaged:
No
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:

Description

seems like the following diff solved the problem, needs to ensure that it doesn't break anything else.

diff --git a/config/initializers/puppet.rb b/config/initializers/puppet.rb
index c3031a8..5a8ae6c 100644
--- a/config/initializers/puppet.rb
+++ b/config/initializers/puppet.rb
@@ -2,3 +2,7 @@ class Resource < Puppet::Rails::Resource
 end
 class SourceFile < Puppet::Rails::SourceFile
 end
+class ResourceTag < Puppet::Rails::ResourceTag
+end

+class ParamValue < Puppet::Rails::ParamValue
+end

Associated revisions

Revision 2a900307 (diff)
Added by Dominic Cleal over 6 years ago

Associate gPXE templates to the OS, preferring foreman_bootdisk's

Fixes #6

History

#1 Updated by Ohad Levy over 10 years ago

the diff should also include:


+class ParamValue < Puppet::Rails::ParamValue
+end

#2 Updated by Ohad Levy over 10 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF