Project

General

Profile

« Previous | Next » 

Revision 9b8333d9

Added by Olivier Favre almost 12 years ago

  • ID 9b8333d9c63d1d0d3504679546efb1698f4a4d71

Simplify failing is/to_parameter

The import broke by making is_parameter? return true only
for one of the environment the puppetclass appears in.

Moreover, a detached parameter smart-variable is still a parameter,
hence we must succeed even when puppetclass is nil.
(And it reduced the number of DB queries.)

  • added
  • modified
  • copied
  • renamed
  • deleted