Project

General

Profile

Actions

Bug #2895

closed

Parameters added to a class do not get added when running an import via rake

Added by Anonymous over 10 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
High
Assignee:
Category:
Puppet integration
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Have a test class like and import it into foreman:
class base ( $test = true, $othertest = false ) {

}

Add a parameter:
class base ( $test = true, $othertest = false, $otherothertest = true ) {

}

Run an import:
[root@s02 ~]# cd /usr/share/foreman
[root@s02 foreman]# RAILS_ENV=production /usr/bin/ruby193-rake puppet:import:puppet_classes
/opt/rh/ruby193/root/usr/share/rubygems/rubygems/custom_require.rb:36:in `require': iconv will be deprecated in the future, use String#encode instead.
Evaluating possible changes to your installation
No changes detected

But go into the UI and import and get:
development Update: base

Actions

Also available in: Atom PDF