One Follow up question:

how do I apply the compiled catalog on the client?

The yaml I get from puppet master --compile is like:
cat mytest.yaml
{
  "data": {
    "edges": [
      {
        "target": "Class[main]",
        "source": "Stage[main]"
.... ...
}

If I do on the client: puppet apply --test --debug mytest.yaml, I get
Could not parse for environment production: Syntax error at '{'; expected
'}' at /root/mytest.yaml:1 on node 192.168.2.199

Am I missing anything?

Thanks a lot!

-Yushu

+-------------------------------------------------+
| Yushu Yao
| Ph:1-510-486-4690
|
| Lawrence Berkeley National Lab
| 1 Cyclotron Road
| Berkeley CA 94720 - USA
+-------------------------------------------------+




On Sat, May 7, 2011 at 9:00 AM, Nigel Kersten <[email protected]> wrote:

>
>
> On Sat, May 7, 2011 at 5:50 AM, Yushu Yao <[email protected]> wrote:
>
>> Thanks Folks for the answers.
>>
>> Before I go into this direction, I just want to make sure one thing from
>> the developers:
>>
>> Is this a feature that you think will stay inside puppet? (in 3.0, 4.0,
>> etc)
>>
>> Or has there been any discussion to remove this feature?
>>
>> Feel safer if I know this feature will stay long. Thanks
>
>
>
> You're only going to see more flexible control over out of band catalog
> compilation like this Yushu, not less.
>
> We won't be removing this feature, we'll be improving it.
>
>
>
> --
> Nigel Kersten
> Product, Puppet Labs
> @nigelkersten
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/puppet-users?hl=en.
>

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

Reply via email to