Thanks, that works as expected.
On Sun, Aug 8, 2010 at 4:58 PM, Peter Meier peter.me...@immerda.ch wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 08/07/2010 01:31 AM, Jason Koppe wrote:
I ended up getting this syntax to work:
just minor note:
4 $id,
5
Yes, that's part of the reason. I was working on my module at an obscene
hour and that probably factors in to my extra require dance.
On Tue, Aug 10, 2010 at 10:39 AM, Nigel Kersten nig...@google.com wrote:
Argh. Everyone is doing this require dance because of the docs on
definitions right?
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 08/07/2010 01:31 AM, Jason Koppe wrote:
I ended up getting this syntax to work:
just minor note:
4 $id,
5 $runlevels = '123456',
6 $action = 'respawn',
7 $process
8
I'm having similar problems, should it be:
class inittab {
define conf (
$id,
$runlevels = '123456',
$action = 'respawn',
$process
) {
$require {
$require
}
If you just mean this:
1 # generic class to allow /etc/inittab management
2 class inittab {
3 define conf (
4 $id,
5 $runlevels = '123456',
6 $action = 'respawn',
7 $process
8 ) {
9
I ended up getting this syntax to work:
Here is the class calling the define:
2 class supervisor {
...
13 exec{install supervisor:
...
32
33 # running 'init a' will start supervisord -- should be called at
the end of /etc/init.d/Indeed to start tomcats after slaving/caching
Thanks, that fixed it.
On Jul 9, 5:10 pm, Alan Barrett a...@cequrux.com wrote:
On Fri, 09 Jul 2010, Tim wrote:
# Generic config file
define config-file ($fullpath, $source) {
if $require {
require $require
}
file { $fullpath:
source =