Re: General questions and problems with exec...

Luke Kanies
Sun, 15 Oct 2006 23:50:50 -0000

> Ok. I like it that way. Is there any way to set a default on a type,
> eg. define a general schedule for packages, without specifying
> "schedule => maintance" on all package statements, or
subclassing
> like "class remotefile { file {..." etc. ??

Yeah:

   Package { schedule => maintenance }

The capitalized form with no name affects all instances of that type.
These defaults inherit via the scopes, so if you want them to affect
your whole configuration you should put them in the top-level scope in
the site.pp file or something similar.

>> Ok.  Have you tried running the exec with ''logoutput =>
true'' set?
>> That should at least tell you what make is saying.  Are you getting a
>> failure from make?
>
> Yes. I hadn''t specified /bin in the path, and make
couldn''t find
> ls... doh! ;-)
>
> It''s now fixed. It''s a cool feature that you can turn on
debug for a
> specific part of the code...

Okay, glad to hear it works.

--
This space intentionally has nothing but text explaining why this space
has nothing but text explaining that this space would otherwise have
been left blank, and would otherwise have been left blank.