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 11 years ago. Updated over 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 #1

Updated by Dominic Cleal over 11 years ago

  • Subject changed from Parameters added to a class do not get added when running an import via fron to Parameters added to a class do not get added when running an import via rake
  • Category set to Puppet integration
Actions #2

Updated by Dominic Cleal about 11 years ago

  • Status changed from New to Assigned
  • Assignee set to Dominic Cleal

The rake task only seems to take 'new' and 'obsolete' environments, not updated ones.

Actions #3

Updated by Dominic Cleal about 11 years ago

  • Status changed from Assigned to Ready For Testing
  • Target version set to 1.15.0
Actions #4

Updated by Dominic Cleal about 11 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #5

Updated by Dominic Cleal about 11 years ago

  • Translation missing: en.field_release set to 1
Actions

Also available in: Atom PDF