[Puppet Users] Re: Pitching Puppet - How does it work question

2009-05-07 Thread Len Rugen
Thanks to all, you have helped, as has a few more days of testing.

In my first tests, I would change files on the puppetmaster and those
changes weren't being made on the clients.  It was config problems.  I got
"the book" and built a consistent puppetmaster.  The various doc's on the
web don't seem to agree in directory structure and/or aren't complete, so I
was having some problems.

--~--~-~--~~~---~--~~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~--~~~~--~~--~--~---



[Puppet Users] Re: Pitching Puppet - How does it work question

2009-05-06 Thread Andrew Shafer
When you say the hash value changed, do you mean on the puppetmaster?

In the most used Puppet setup, the master compiles the config for each
client, and the client synchronizes the resources.

'Noticed' is a little ambiguous, and I might be misinterpreting, but the
client is what is going to compare the current state of the system with the
compiled config.

Does that answer the question?




On Tue, May 5, 2009 at 7:48 PM, Len Rugen  wrote:

> I'm trying to pitch puppet to my group.  I have a test server & 2 clients,
> things are going pretty well.  The question relates to user password
> management as outlined in the recipies.  My question, if only the hash value
> changes, will puppet apply that change?  Who notices the change, the client
> or the server?
>
> Thanks, just trying to be the "salesman"
>
> >
>

--~--~-~--~~~---~--~~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~--~~~~--~~--~--~---



[Puppet Users] Re: Pitching Puppet - How does it work question

2009-05-06 Thread Eric Gerlach

Hi Len,

Let me take a shot at this.  I'm sure I'll be corrected if I'm wrong.

It roughly works like this:

1) Client connects to server and asks "what should my configuration be?"
2) Server responds with the desired configuration
3) Client then checks that configuration against what exists
4) Client fixes anything that doesn't match what the server gave it

tl;dr: If only the hash value changes, will puppet apply that change?

Yes.

Who notices the change, the client or the server?

Mu.  (It's kinda both)

Cheers,

Eric

On Tue, May 05, 2009 at 08:48:34PM -0500, Len Rugen wrote:
> I'm trying to pitch puppet to my group.  I have a test server & 2 clients,
> things are going pretty well.  The question relates to user password
> management as outlined in the recipies.  My question, if only the hash value
> changes, will puppet apply that change?  Who notices the change, the client
> or the server?
> 
> Thanks, just trying to be the "salesman"
> 
> > 

-- 
Eric Gerlach, Network Administrator
Federation of Students
University of Waterloo
p: (519) 888-4567 x36329
e: egerl...@feds.uwaterloo.ca

--~--~-~--~~~---~--~~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~--~~~~--~~--~--~---



[Puppet Users] Re: Pitching puppet - how does it work question

2009-05-06 Thread Felix Schäfer

Hi,

Am 06.05.2009 um 16:40 schrieb LenR:

> I'm trying to pitch puppet to my group.  I have a test server & 2
> clients, things are going pretty well.  The question relates to user
> password management as outlined in the recipies.  My question, if only
> the hash value changes, will puppet apply that change?  Who notices
> the change, the client or the server?  I need to explain how it works.

The way I understand it, the server looks at the file when compiling  
the recipe for the client and calculates a hash value for the file.  
This hash value is the integrated in the recipe, which in turn is sent  
to the client. The client then looks at the files described in the  
recipe and checks if the hash values of the local files match the hash  
values sent by the server for those files. If they match, nothing  
happens, as the file is in the right state, if not, the client  
downloads the file from the server.

That's a least the principle. You also have some layers of caching and  
checking timestamps to see if it's even necessary to recompute a hash,  
or if you can take the hash value from a previous run, and so on.

BR,

Felix

--~--~-~--~~~---~--~~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~--~~~~--~~--~--~---



[Puppet Users] Re: Pitching puppet - how does it work question

2009-05-06 Thread Evan Hisey

On Wed, May 6, 2009 at 9:40 AM, LenR  wrote:
>
> I'm trying to pitch puppet to my group.  I have a test server & 2
> clients, things are going pretty well.  The question relates to user
> password management as outlined in the recipies.  My question, if only
> the hash value changes, will puppet apply that change?  Who notices
> the change, the client or the server?  I need to explain how it works.
>
> Thanks, just trying to be the "salesman"

All system changes are noticed client side. The server parses and
compiles everything in the manifests to create the expected
configuration of the client. It then hands this compiled manifest to
the client which checks the state of managed resources against this
expected configuration. If things do not match then client chagnes teh
computer configuration to match the expected configuration.

Evan

--~--~-~--~~~---~--~~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~--~~~~--~~--~--~---