On Nov 21, 2010, at 1:31 AM, Stefan Schulte wrote:
> Hi,
>
> I have a general question about parameter vs property. I always thought
> that a property is something that can be insync or outofsync, so thats
> something that puppet can check and correct.
>
> But when I look at the current types, then "target" is always defined as
> a property. So can target be outofsync? I guess not, because (when I see
> it correctly, e.g. for the parsedfile provider) when we ask the provider
> about is the is-value of target it will always report the shouldvalue
> from the resource. So it is always in sync. Shouldn't target be a
> parameter then?
The reason target is a property is because a resource can be moved from one
file to another, and the only way I could find to implement that was to make
target a property.
It's always felt messy to do it that way, but I've never found another way.
--
Meeting, n.:
An assembly of people coming together to decide what person or
department not represented in the room must solve a problem.
---------------------------------------------------------------------
Luke Kanies -|- http://puppetlabs.com -|- +1(615)594-8199
--
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.