FAQ
Why does this:

Class['network::base'] -> Class['apt::base'] -> Class['lvm::setup'] ->
Class <| |>

generate this error?

err: Could not retrieve catalog from remote server: Error 400 on
SERVER: Resource type class doesn't exist at
/truth/sauce/env/prod/modules/role/manifests/common.pp:18 on node
mon01.ap1.xxx.com
warning: Not using cache on failed catalog
err: Could not retrieve catalog; skipping run

I've been repeatedly told to stop using run stages, and use resource
chaining instead. However, without putting the Class <| |> at the end,
to indicate that every other class should come afterwards, the
functionality is not the same. With run stages, I could specify that
classes A, B and C should applied first, before everything else.

Omitting the Class <| |> from the end gets rid of the error. However,
this means that there is no guarantee that these three classes will be
applied before the rest.

Hoping Mr Pienaar doesn't thing that such a scandalous and negative
question is not considered anti social behaviour.

Doug.

--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.

Search Discussions

Discussion Posts

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 4 | next ›
Discussion Overview
grouppuppet-users @
categoriespuppet
postedSep 10, '12 at 7:39p
activeSep 11, '12 at 6:29a
posts4
users3
websitepuppetlabs.com

People

Translate

site design / logo © 2022 Grokbase