Displaying 2 results from an estimated 2 matches for "testaa".
Did you mean:
  testa
  
2007 Jan 15
7
How to conditionally run defines?
...ip a whole lot of setup work in the define if I know it has
already run once before. I would think adding a unless clause would be
a elegant solution (and the other conditionals like onlyif that exist
elsewhere too).
So that I can call my defines with something like this:
    installesite { "testaa":
        require => [ perlinstall[ "everything" ], exec[
"fix-everything-sqldefs" ] ],
        unless  => "test -e /var/www/testaa/index.pl",
    }
I don''t know if this would be easy to add to the puppet language, or
if it can easily be emulated w...
2007 Jan 15
1
Re: How to conditionally run defines? (and a question about updating... )
...; already run once before. I would think adding a unless clause would be
> > a elegant solution (and the other conditionals like onlyif that exist
> > elsewhere too).
> >
> > So that I can call my defines with something like this:
> >
> >     installesite { "testaa":
> >         require => [ perlinstall[ "everything" ], exec[
> > "fix-everything-sqldefs" ] ],
> >         unless  => "test -e /var/www/testaa/index.pl",
> >     }
> >
> > I don''t know if this would be easy to ad...