Well, the code is pretty explicitly ignoring --parseonly if --compile is
set:

    dispatch do
        if options[:node]
            :compile
        elsif Puppet[:parseonly]
            :parseonly
        else
            :main
        end
    end

If that's unexpected, we should open a new bug.

On Thu, Dec 10, 2009 at 3:36 PM, Markus Roberts <[email protected]>wrote:

> +1, though this may be the shadow of an actual bug; if you type:
>
>    puppetmasterd --compile trojan --parseonly
>
> the parseonly is ignored, a behavior that parallels the test failure.
>
> -- Markus
>
> P.S. "--compile" is how you set options[:node], and the example node
> name was chosen by analogy with our printer naming scheme.
>
> --
>
> You received this message because you are subscribed to the Google Groups
> "Puppet Developers" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<puppet-dev%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/puppet-dev?hl=en.
>
>
>

--

You received this message because you are subscribed to the Google Groups 
"Puppet Developers" 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-dev?hl=en.


Reply via email to