Re: [Puppet Users] is there a definition of the abstract service type

2011-04-20 Thread Felix Frank
On 04/20/2011 03:17 AM, Ben Hughes wrote:
> On Tue, Apr 19, 2011 at 04:24:18AM -0700, Tim Coote wrote:
> 
>> Is there a canonical definition of the service type abstraction, or is
>> the definition just how the implementation behaves?
> 
> What happens when you do:
> 
> $ puppet resource service xinetd
> 
> That should hopefully give you the output for that.
> 
> Resource isn't, say, a system profiling tool. It's more an interface to
> resources you have. And while some will give you all the information you
> may want ('user' for example), not all of them can.

Also note that under the puppet paradigm, a "service" is not something
reachable via network (as in "services provided through xinetd"), but
can be any process that is maintained by use of an init-script.

Regards,
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.



Re: [Puppet Users] is there a definition of the abstract service type

2011-04-19 Thread Ben Hughes
On Tue, Apr 19, 2011 at 04:24:18AM -0700, Tim Coote wrote:

> Is there a canonical definition of the service type abstraction, or is
> the definition just how the implementation behaves?

What happens when you do:

$ puppet resource service xinetd

That should hopefully give you the output for that.

Resource isn't, say, a system profiling tool. It's more an interface to
resources you have. And while some will give you all the information you
may want ('user' for example), not all of them can.


-- 
Ben Hughes || http://www.puppetlabs.com/

-- 
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] is there a definition of the abstract service type

2011-04-19 Thread Tim Coote
Hullo
I'm a puppet neophyte and I'm a bit confused about the service type.
I've just run up the learning vm and when I try:

puppet resource service

I don't seem to get any of the services controlled by xinetd, nor even
xinetd itself.  This doesn't sound right to me as it will cause future
issues if services are implemented in different ways on different o/s
types.

Is there a canonical definition of the service type abstraction, or is
the definition just how the implementation behaves?

cheers

Tim

-- 
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.