-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
> But this should not be. Has Puppet problems, when I have serveral
> words in afact, since it works perfectly for Xen Systems.
as far as I can see not:
$ cat foo.pp
$manufacturer1 = 'Xen'
if ($manufacturer1 == 'Xen') or ($manufacturer1 == 'Sun Microsystems'){
} else {
notice("autsch")
}
$manufacturer2 = 'Sun Microsystems'
if ($manufacturer2 == 'Xen') or ($manufacturer2 == 'Sun Microsystems'){
} else {
notice("autsch")
}
$ puppet foo.pp
$
This is worked on both 0.24.8 and 0.25.4.
was your linebreak after Sun with intend or a mail issue? With a
linebreak it doesn't work for me either, but a linebreaked string is not
the same as one without.
Anyway you could debug it by doing a notice("$manufacturer") and see
what is actually in that variable at that point.
cheers pete
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAkvNTsIACgkQbwltcAfKi38LPACdGZ1bPK32UYP0KMybxSmCNinG
w6kAoJSnnsO9Tv37HzYf8pjFg1RL1Dec
=PD3O
-----END PGP SIGNATURE-----
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.