Hi Experts, When I use puppet master --compile, it will spit out some notice information to the beginning of the output: # puppet master --manifest root/tt.pp --compile vm_000000000009_270e41c5-4242-416d-80ad-38dc85469076 notice: Compiled catalog for vm_000000000009_270e41c5-4242-416d-80ad-38dc85469076 in environment production in 0.02 seconds { "data": { "edges": [ ... ... When I try to apply this yaml, it returns some PSON error. I have to remove everything before the first "{" to make it work. Just wondering is there a way in puppet to avoid this? Thanks -Yushu +-------------------------------------------------+ | Yushu Yao | Ph:1-510-486-4690 | | Lawrence Berkeley National Lab | 1 Cyclotron Road | Berkeley CA 94720 - USA +-------------------------------------------------+ -- 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.
I think that putting "--no-verbose" might work, but I can''t test it. On May 25, 2011, at 12:18 PM, Yushu Yao wrote:> Hi Experts, > > When I use puppet master --compile, it will spit out some notice information to the beginning of the output: > > # puppet master --manifest root/tt.pp --compile vm_000000000009_270e41c5-4242-416d-80ad-38dc85469076 > > notice: Compiled catalog for vm_000000000009_270e41c5-4242-416d-80ad-38dc85469076 in environment production in 0.02 seconds > { > "data": { > "edges": [ > ... ... > > When I try to apply this yaml, it returns some PSON error. I have to remove everything before the first "{" to make it work. > > Just wondering is there a way in puppet to avoid this? > > Thanks > > -Yushu > > > +-------------------------------------------------+ > | Yushu Yao > | Ph:1-510-486-4690 > | > | Lawrence Berkeley National Lab > | 1 Cyclotron Road > | Berkeley CA 94720 - USA > +-------------------------------------------------+ > > > > -- > 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.-- 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.
Thanks Patrick, root@192:~# puppet master --no-verbose --manifest /root/tt.pp --compile vm_000000000009_270e41c5-4242-416d-80ad-38dc85469076 invalid option: --no-verbose Try ''puppet master --help'' Also tried --logdest option, but has no effect. Thanks -Yushu +-------------------------------------------------+ | Yushu Yao | Ph:1-510-486-4690 | | Lawrence Berkeley National Lab | 1 Cyclotron Road | Berkeley CA 94720 - USA +-------------------------------------------------+ On Wed, May 25, 2011 at 12:38 PM, Patrick <kc7zzv@gmail.com> wrote:> I think that putting "--no-verbose" might work, but I can''t test it. > > > On May 25, 2011, at 12:18 PM, Yushu Yao wrote: > > > Hi Experts, > > > > When I use puppet master --compile, it will spit out some notice > information to the beginning of the output: > > > > # puppet master --manifest root/tt.pp --compile > vm_000000000009_270e41c5-4242-416d-80ad-38dc85469076 > > > > notice: Compiled catalog for > vm_000000000009_270e41c5-4242-416d-80ad-38dc85469076 in environment > production in 0.02 seconds > > { > > "data": { > > "edges": [ > > ... ... > > > > When I try to apply this yaml, it returns some PSON error. I have to > remove everything before the first "{" to make it work. > > > > Just wondering is there a way in puppet to avoid this? > > > > Thanks > > > > -Yushu > > > > > > +-------------------------------------------------+ > > | Yushu Yao > > | Ph:1-510-486-4690 > > | > > | Lawrence Berkeley National Lab > > | 1 Cyclotron Road > > | Berkeley CA 94720 - USA > > +-------------------------------------------------+ > > > > > > > > -- > > 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. > > -- > 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. > >-- 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.