Puppet & out_of_sync_resources

52 views
Skip to first unread message

heij...@rechtspraak.nl

unread,
Nov 1, 2013, 3:08:20 AM11/1/13
to puppe...@googlegroups.com

Hello,

I asked the following question in the mcollective-users group [1] but RI said it was better to ask it here.

>>What is the definition of out_of_sync_resources?
As I see it now being reported on pending&changed resources, which seems strangs to me.

Stefan

 

Eric Sorenson

unread,
Nov 1, 2013, 6:26:40 PM11/1/13
to puppe...@googlegroups.com
Hi Stefan, the way I understand it (and hopefully someone will correct me), out_of_sync indicates a total of resources which might need changes. So if we're in enforce mode (not no-op) out_of_sync would be the total of successful + failed changes. If we're in no-op, out_of_sync is the number of resources which WOULD be changed (but we don't know if they would succeed or fail, obviously)

Does that make sense? This came from trying to reason through lib/puppet/resource/status.rb but maybe I got it wrong.

--eric0

Luke Kanies

unread,
Nov 4, 2013, 12:33:33 AM11/4/13
to puppe...@googlegroups.com, Eric Sorenson
Yep, that’s what it was meant to mean in the first place.


From: Eric Sorenson Eric Sorenson
Reply: puppe...@googlegroups.com puppe...@googlegroups.com
Date: November 1, 2013 at 3:26:49 PM
To: puppe...@googlegroups.com puppe...@googlegroups.com
Subject:  [Puppet-dev] Re: Puppet & out_of_sync_resources
--
You received this message because you are subscribed to the Google Groups "Puppet Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-dev+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-dev/af1889b9-b180-46a9-9ad1-3e98489d8dd7%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

heij...@rechtspraak.nl

unread,
Nov 5, 2013, 7:01:04 AM11/5/13
to puppe...@googlegroups.com

Hi Eric,

>>Does that make sense?
Yes, I now undestand where it comes from.
The thing that made it confusing was the total of successful changes being counted in out_of_sync.

Thanks,
Stefan

Op vrijdag 1 november 2013 23:26:40 UTC+1 schreef Eric Sorenson:

Reply all
Reply to author
Forward
0 new messages