Luke Kanies
2007-Nov-28 05:10 UTC
What to call a class: Manifest? Configuration? ResourceContainer?
Hi all, I''ve got a new class in the current code, which I''ve been calling Configuration but Matt reasonably thinks is horrible. He is recommending the name Manifest, and I figured I''d see what others thought. The point of the class is to function as a resource container -- it keeps a reference to all of the resources we''re managing, and knows how to interact with transaction and stuff. Any other terminological ideas? -- A cult is a religion with no political power. -- Tom Wolfe --------------------------------------------------------------------- Luke Kanies | http://reductivelabs.com | http://madstop.com
Jeff McCune
2007-Nov-29 13:03 UTC
Re: What to call a class: Manifest? Configuration? ResourceContainer?
On Nov 28, 2007, at 12:10 AM, Luke Kanies wrote:> Hi all, > > I''ve got a new class in the current code, which I''ve been calling > Configuration but Matt reasonably thinks is horrible. > > He is recommending the name Manifest, and I figured I''d see what > others thought. > > The point of the class is to function as a resource container -- it > keeps a reference to all of the resources we''re managing, and knows > how to interact with transaction and stuff. > > Any other terminological ideas?Manifest might be confused with our existing use of manifest. Based off your description of this thing, would Bill of Materials, or BOM work? -- Jeff McCune Systems Manager The Ohio State University Department of Mathematics
Joshua Timberman
2007-Nov-29 15:09 UTC
Re: What to call a class: Manifest? Configuration? ResourceContainer?
On Nov 27, 2007 10:10 PM, Luke Kanies <luke@madstop.com> wrote:> The point of the class is to function as a resource container -- it > keeps a reference to all of the resources we''re managing, and knows > how to interact with transaction and stuff.Ideas: resourcecontainer rescontainer managedresources I haven''t looked at the code to see what naming might be consistent though.
Luke Kanies
2007-Nov-29 22:35 UTC
Re: What to call a class: Manifest? Configuration? ResourceContainer?
On Nov 29, 2007, at 7:03 AM, Jeff McCune wrote:> Manifest might be confused with our existing use of manifest. > > Based off your description of this thing, would Bill of Materials, or > BOM work?I would really like something that was easy to type, since it comes up a *lot*, and neither of these are great for that, unless you used ''bom'' everywhere, which, well, is a bit strange. Joshua asks about: resourcecontainer rescontainer managedresources These kind of fail the ''easy'' test, too. I think I like Manifest best so far, and in some ways it''s reusing the term -- it''s either a file with resources in it, or it''s the resources in memory. I''ll do some thesaurus trawling to see what I can come up with, but are there any other recommendations? -- Progress isn''t made by early risers. It''s made by lazy men trying to find easier ways to do something. --Robert Heinlein --------------------------------------------------------------------- Luke Kanies | http://reductivelabs.com | http://madstop.com
Blake Barnett
2007-Nov-30 00:24 UTC
Re: What to call a class: Manifest? Configuration? ResourceContainer?
On Nov 29, 2007, at 2:35 PM, Luke Kanies wrote:> On Nov 29, 2007, at 7:03 AM, Jeff McCune wrote: > >> Manifest might be confused with our existing use of manifest. >> >> Based off your description of this thing, would Bill of Materials, or >> BOM work? > > I would really like something that was easy to type, since it comes > up a *lot*, and neither of these are great for that, unless you used > ''bom'' everywhere, which, well, is a bit strange. > > Joshua asks about: > > resourcecontainer > rescontainer > managedresources > > These kind of fail the ''easy'' test, too. > > I think I like Manifest best so far, and in some ways it''s reusing > the term -- it''s either a file with resources in it, or it''s the > resources in memory. > > I''ll do some thesaurus trawling to see what I can come up with, but > are there any other recommendations?Assuming this has something do with the configuration abstraction layer and the data clients send back, I think it''s more accurate to call it a Result since it''s what''s coming back from the client, or maybe Harvest or Aftermath ;) -Blake
Juri Rischel Jensen
2007-Nov-30 08:52 UTC
Re: What to call a class: Manifest? Configuration? ResourceContainer?
Hi, On 28/11/2007, at 6.10, Luke Kanies wrote:> The point of the class is to function as a resource container -- it > keeps a reference to all of the resources we''re managing, and knows > how to interact with transaction and stuff. > > Any other terminological ideas?As I understand it, the class is both a container for structure and for processes, and that makes it hard to coin in one, simple word. But what about Policy? -- Med venlig hilsen Juri Rischel Jensen Fab:IT ApS Vesterbrogade 50 DK-1620 København Tlf: 70 202 407 / Fax: 33 313 640 www.fab-it.dk / juri@fab-it.dk
Marcin Owsiany
2007-Nov-30 09:22 UTC
Re: What to call a class: Manifest? Configuration? ResourceContainer?
On Thu, Nov 29, 2007 at 04:35:43PM -0600, Luke Kanies wrote:> On Nov 29, 2007, at 7:03 AM, Jeff McCune wrote: > > > Manifest might be confused with our existing use of manifest. > > > > Based off your description of this thing, would Bill of Materials, or > > BOM work? > > I would really like something that was easy to type, since it comes > up a *lot*, and neither of these are great for that, unless you used > ''bom'' everywhere, which, well, is a bit strange. > > Joshua asks about: > > resourcecontainer > rescontainer > managedresources > > These kind of fail the ''easy'' test, too. > > I think I like Manifest best so farIt''s going to be confusing :-/> I''ll do some thesaurus trawling to see what I can come up with, but > are there any other recommendations?Basket Cart (mnemonic: you put stuff (i.e. resources) into a basket/cart when shopping (i.e. performing a transaction)) -- Marcin Owsiany Web Systems Integrator - Guardian Unlimited ------------------------------------------------------------------ Visit Guardian Unlimited - the UK''s most popular newspaper website http://guardian.co.uk http://observer.co.uk ------------------------------------------------------------------ The Newspaper Marketing Agency Opening Up Newspapers http://www.nmauk.co.uk ------------------------------------------------------------------ This e-mail and all attachments are confidential and may also be privileged. If you are not the named recipient, please notify the sender and delete the e-mail and all attachments immediately. Do not disclose the contents to another person. You may not use the information for any purpose, or store, or copy, it in any way. Guardian News & Media Limited is not liable for any computer viruses or other material transmitted with or as part of this e-mail. You should employ virus checking software. Guardian News & Media Limited A member of Guardian Media Group PLC Registered Office Number 1 Scott Place, Manchester M3 3GG Registered in England Number 908396
Luke Kanies
2007-Nov-30 20:51 UTC
Re: What to call a class: Manifest? Configuration? ResourceContainer?
On Nov 29, 2007, at 6:24 PM, Blake Barnett wrote:> Assuming this has something do with the configuration abstraction > layer and the data clients send back, I think it''s more accurate to > call it a Result since it''s what''s coming back from the client, or > maybe Harvest or Aftermath ;)It''s not only used for that, and focusing around that model is one of the mistakes I made in development. It should be easy to do the other things, like just create a resource container, add some resources to it, and apply it. On Nov 30, 2007, at 2:52 AM, Juri Rischel Jensen wrote:> As I understand it, the class is both a container for structure and > for processes, and that makes it hard to coin in one, simple word. > But what about Policy?Heh, I''m a big fan of using vague words, but I personally know people who would want to kill me if I use Policy for anything specific. :) On Nov 30, 2007, at 3:22 AM, Marcin Owsiany wrote:>> >> I think I like Manifest best so far > > It''s going to be confusing :-/ > >> I''ll do some thesaurus trawling to see what I can come up with, but >> are there any other recommendations? > > Basket > Cart > > (mnemonic: you put stuff (i.e. resources) into a basket/cart when > shopping (i.e. performing a transaction))I like this direction, but I''m not exactly thrilled with the term. Are there interesting synonyms for these words we can use? I''m especially looking for something that''s not likely to show up elsewhere. Another way to think of it is as a resource collection, btw. -- Today I dialed a wrong number...The other person said, "Hello?" and I said, "Hello, could I speak to Joey?"... They said, "Uh...I don''t think so...he''s only 2 months old." I said, "I''ll wait." -- Steven Wright --------------------------------------------------------------------- Luke Kanies | http://reductivelabs.com | http://madstop.com
James Turnbull
2007-Nov-30 21:55 UTC
Re: What to call a class: Manifest? Configuration? ResourceContainer?
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Luke Kanies wrote:>> Basket >> Cart >> >> (mnemonic: you put stuff (i.e. resources) into a basket/cart when >> shopping (i.e. performing a transaction)) > > I like this direction, but I''m not exactly thrilled with the term. > Are there interesting synonyms for these words we can use? I''m > especially looking for something that''s not likely to show up elsewhere. > > Another way to think of it is as a resource collection, btw.Some varying terms: container box carton coffer packet pack sachet catalogue inventory register Regards James Turnbull - -- James Turnbull <james@lovedthanlost.net> - --- Author of Pro Nagios 2.0 (http://www.amazon.com/gp/product/1590596099/) Hardening Linux (http://www.amazon.com/gp/product/1590594444/) - --- PGP Key (http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x0C42DF40) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHUIbV9hTGvAxC30ARAjFQAKCUG3RJPZOZvHS64UZ4s9YeEtIauACdHyEc 6rTfYjU5QdfBFGsnAZ/3Hig=MvDS -----END PGP SIGNATURE-----
Luke Kanies
2007-Nov-30 23:28 UTC
Re: What to call a class: Manifest? Configuration? ResourceContainer?
On Nov 30, 2007, at 2:55 PM, James Turnbull wrote:> > Some varying terms: > > container > box > carton > coffer > packet > pack > sachet > catalogue > inventory > registerI like ''inventory''. -- Talent hits a target no one else can hit; Genius hits a target no one else can see. -- Arthur Schopenhauer --------------------------------------------------------------------- Luke Kanies | http://reductivelabs.com | http://madstop.com
I have a case where I want an event to force an update on a few systems. So, I''m trying to get puppet to exec puppetrun, but it is not working. I can run the exact puppetrun command manually and it works. But when puppet runs it, it claims it executed it successfully, but the remote system is not triggered. Is it possible for puppetd to exec puppetrun? Or do I have some other issue? case $hostname { "admin4012": {$cmd = "puppetrun --host admin4001 --host admin2001" } "admin1016": {$cmd = "puppetrun --host admin1001" } } if $cmd { exec { puppetrun: command => $cmd, path => ["/usr/bin", "/usr/sbin"], # Run if the file has changed in the last 20 minutes unless => "test $(expr `date +''%s''` - `date +''%s'' -r /etc/puppet/templates/aliases.erb`) -gt 1200" } } Thanks, Steven
Never mind. For some reason the path is not sufficient. The full path must be part of the command. Change the commands to "/usr/bin/puppetrun ..." then it works.> -----Original Message----- > From: puppet-users-bounces@madstop.com [mailto:puppet-users- > bounces@madstop.com] On Behalf Of Steven Nemetz > Sent: Friday, November 30, 2007 4:03 PM > To: Puppet User Discussion > Subject: [Puppet-users] Is it possible for puppet to exec puppetrun? > > I have a case where I want an event to force an update on a fewsystems.> So, I''m trying to get puppet to exec puppetrun, but it is not working. > > I can run the exact puppetrun command manually and it works. But when > puppet runs it, it claims it executed it successfully, but the remote > system is not triggered. > > Is it possible for puppetd to exec puppetrun? Or do I have some other > issue? > > case $hostname { > "admin4012": {$cmd = "puppetrun --host admin4001 --host > admin2001" } > "admin1016": {$cmd = "puppetrun --host admin1001" } > } > if $cmd { > exec { puppetrun: > command => $cmd, > path => ["/usr/bin", "/usr/sbin"], > # Run if the file has changed in the last 20 minutes > unless => "test $(expr `date +''%s''` - `date +''%s'' -r > /etc/puppet/templates/aliases.erb`) -gt 1200" > } > } > > Thanks, > > Steven
Digant C Kasundra
2007-Dec-12 01:27 UTC
Re: What to call a class: Manifest? Configuration? ResourceContainer?
--On Friday, November 30, 2007 04:28:59 PM -0700 Luke Kanies <luke@madstop.com> wrote:>> Some varying terms: >> >> container >> box >> carton >> coffer >> packet >> pack >> sachet >> catalogue >> inventory >> register > > I like ''inventory''.I like inventory. Though the glossary of terms already has a catalog, defined as "the totality of resources, files, properties, etc, for a given system." <http://reductivelabs.com/trac/puppet/wiki/GlossaryOfTerms> -- Digant C Kasundra <digant@stanford.edu> Technical Lead, ITS Unix Systems and Applications, Stanford University
Luke Kanies
2007-Dec-12 03:31 UTC
Re: What to call a class: Manifest? Configuration? ResourceContainer?
On Dec 11, 2007, at 7:27 PM, Digant C Kasundra wrote:> I like inventory. Though the glossary of terms already has a catalog, > defined as "the totality of resources, files, properties, etc, for > a given > system." > <http://reductivelabs.com/trac/puppet/wiki/GlossaryOfTerms>I decided to go with catalog rather than inventory. I''m not entirely sure why, but I think I like it better. -- I have an answering machine in my car. It says, "I''m home now. But leave a message and I''ll call when I''m out. -- Stephen Wright --------------------------------------------------------------------- Luke Kanies | http://reductivelabs.com | http://madstop.com