Cool thx Den, undef worked like a charm.
much appriciated!
On 2 May 2012 01:24, denmat wrote:
> Hi Peter,
>
> take a look at this:
>
> class testme {
>define vhost ($servername = "${hostname}.${domain}", $serveralias =
> [ "www.${hostname}.${domain}" ], $inorout = "1", $owner = "root",
> $g
Hi Peter,
take a look at this:
class testme {
define vhost ($servername = "${hostname}.${domain}", $serveralias =
[ "www.${hostname}.${domain}" ], $inorout = "1", $owner = "root",
$group = "root", $enabled = "link", $rewrite = "", $ssl = "false",
$cacert = "", $certchain = "", $certfile = "",
Hey Den, thanks for the answer
I changed the import to include it was just a leftover when for some reason
include wasnt good enough to be able to use defined resource types with
some older version.
This false solution isnt working sadly still that monstring get evaluated
with the default value a
Hi,
can't see anything wrong off the top of my head except you use an import
statement instead of an include.
http://docs.puppetlabs.com/guides/language_guide.html#importing-manifests
Have you tried testing for a string like 'false'? Just to see if something odd
not going on.
>> $mode = '755
Anybody got any idea on this?
I am really stuck with this one.
On Apr 30, 4:51 pm, Peter Horvath
wrote:
> Hi,
>
> I have a modul which created the vhosts and based on the variables defined
> there i am creating nagios defacement host cfg.
> My problem is that I can't conditionally decide if the f