Gosh sorry, would be something like existant_class.
On Wednesday, January 7, 2015 12:28:09 PM UTC-7, Felix.Frank wrote:
>
> On 01/07/2015 08:18 PM, Matthew Kennedy wrote:
>
> So changing this to:
>
> if ($profile == 'existantclass') {
> include "profile::${separator}::${profile}"
> }
>
> resu
On 01/07/2015 08:18 PM, Matthew Kennedy wrote:
> So changing this to:
>
> if ($profile == 'existantclass') {
> include "profile::${separator}::${profile}"
> }
>
> results in Error 400 on SERVER: Could not find class
> profile::app::existantclass for node1.vnet on node node1.vnet.
Wait, what, so
No, if you remove the defined() call and just include it will fail to find
the class. Defined() is there simply to ensure that we can do the include.
For a bit more context I've written an abstraction layer that assigns
apps/roles to nodes and will pull in profiles if they exist, that is where
On 12/30/2014 09:05 PM, Matthew Kennedy wrote:
>
> |
> if (defined("profile::${separator}::${profile}")) {
> include "profile::${separator}::${profile}"
> }
> |
Hi,
Is the if defined() construct significant? Can you only reproduce when
it is in place? Why is it there and what does i