search for: sqldefs

Displaying 2 results from an estimated 2 matches for "sqldefs".

Did you mean: muldefs
2007 Jan 15
7
How to conditionally run defines?
...g 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 with code in the define itself? I''m drawing a bit of a blank on the last option at the moment......
2007 Jan 15
1
Re: How to conditionally run defines? (and a question about updating... )
...onals 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 with code in the define itself? I''m > > dr...