> We recently upgraded to PE2015, and as such have upgraded our local puppet > gems to match (4.2.2). Unfortunately a few of our specs that were previously > passing are now failing, mostly in regards to stages: > > "Evaluation Error: Error while evaluating a Function Call, Could not find > stage first specified by Class[Ipa::client]" > > The class is fairly simple: > > class ipa::client( > $principal = 'host_manager', > $password = 'obscured_because_security' > $stage = first, > ){ > > Has anyone run into this yet by chance?
I don't totally understand this. You seem to have a parameterised class which takes $stage as a parameter? I would expect 'stage' to be used as a metaparameter in resource-like class declaration as in:- https://docs.puppetlabs.com/puppet/latest/reference/lang_run_stages.html Cheers, Phil. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CAA54UtO792a%3D7LEm-t2uOwPREV4-9dhy84LU1Mh6y2SpZTjq6Q%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.