| The problem is catalog_cache_terminus overrides the literal expression, and we try to load and apply the cached catalog from disk. When using the yaml terminus, we don't have a previously cached catalog (as the default terminus is JSON). So we return an empty catalog. When using the JSON terminus, we return the previously cached catalog, so it "seems" to work. I think puppet apply should always evaluate the expression or manifest passed on the command line, instead of loading the previously cached catalog. |