Project

General

Profile

Actions

Bug #26910

closed

foreman-rake puppet:import:puppet_classes problem

Added by Sergey Smirnov over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Category:
Rake tasks
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

For example:
foreman-rake puppet:import:puppet_classes[true,master]
From: /usr/share/foreman/lib/tasks/puppet.rake @ line 89 :

84:           end
85: exit 1
86: end
87:
88: require "pry"
=> 89: binding.pry
90:
91: puts "Changes: #{changes}"
92: if changes["new"].empty? && changes["obsolete"].empty?
93: puts "No changes detected" unless args.batch
94: puts "debug"

Changes: {"new"=>{}, "obsolete"=>{}, "updated"=>{<any_data>}, "ignored"=>{}}

require change line 92: add changes["updated"].empty?
We are have problem with import new class parameters from puppet manifests, without this fix.

Actions #2

Updated by The Foreman Bot over 5 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/6807 added
Actions #3

Updated by Ondřej Pražák over 5 years ago

  • Status changed from Ready For Testing to Closed
  • Fixed in Releases 1.23.0 added
Actions #4

Updated by Amit Upadhye over 5 years ago

  • Category set to Rake tasks
Actions

Also available in: Atom PDF