hi all,
newbie here...

i've been fiddling around with the inherits form...but..i can't seem
to get any headway out of it.
i've been googling and looking at some docs, but i think i might still
be confused as to how things work.
- what i've found seems to talk about overrinding variables $variable,
but..i'm trying to change a resource/service is this completely
different?
- the docs i see refer to class names as simple words like "class
snoopy", but everywhere i see classes here are of the form
snoopy::lucy...

anyway from what i can find from the error message, it doesn't like
that in my manifest file (node mynode { ... }) has a stanza:
service { netfs:
 stuff=>data
 stuff=>data
 ...
}
it says netfs is already defined.

so i looked around and it appears that my manifest file has an
include: example "include base::services"
the file it's loading also has an include that calls another file,
and THAT file has some classes in it..one of which has a netfs stanza
like above. i want to override that
in my manifest/node file. however i can't change anything anywhere
except in my manifest/node file.

one solution i know will work is to replace my first include with the
actual file itself, and replace the 2nd
include with the huge class file and change the class manually. but
expanding everything doesn't seem like it would be the suave way to go
in any complex setup. it'd be nice to be able to say: do this, except
for this.

my fear was that maybe the 'except for' method might be frowned upon
too as too 'goto' like and kludgy in nature?

hopefully the solution is simple and i'm just not getting the syntax
right..

any advice would be appreciated!

thanks much,
mark

--

You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@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.


Reply via email to