Some of my modules are checking if a fact is defined, for example:
if($::eyp_docker_iscontainer!=undef)
{
...
}
In puppet 4.4.2 I get this warning:
Warning: Undefined variable 'eyp_docker_iscontainer';
(file & line not available)
how do I check if a fact is defined without getting this warning?
thanks
↧