-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Andrew Schulman wrote: >> This has nothing to do with grep. >> >> facter should report a single consistent value for 'operatingsystem' when >> invoked in either of these ways. >
Maybe I am jumping in too late but do you have lsb installed on that host (lsb-base package from memory I think)? Because if you don't then Facter won't return Ubuntu. Not that we shouldn't refactor that fact but unfortunately Ubuntu is not an easy system to identify unlike some others. https://bugs.launchpad.net/ubuntu/+source/base-files/+bug/19353 http://www.debianadmin.com/find-your-debian-or-ubuntu-linux-version-you-are-running.html Regards James Turnbull - -- Author of: * Pro Linux System Administration (http://tinyurl.com/linuxadmin) * Pulling Strings with Puppet (http://tinyurl.com/pupbook) * Pro Nagios 2.0 (http://tinyurl.com/pronagios) * Hardening Linux (http://tinyurl.com/hardeninglinux) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEVAwUBSvzbbSFa/lDkFHAyAQKTegf/XWD9Hz6MJ31adRiVqH9+sMle1+9tJGHT b1PrYuafDi+OUXQDMMKksWnxZXx1S63ymW+/ix44i6TU8AOl1ClsCyahL1FdKPER MP176Ls5zxv4E2F8d04EqsI/BGuT4eBpOhsvldoeWjoN/tx614qat3XSAb0R0srZ 4WJe/c9VJLgOM/HQfHN+OHJXwP7Gj1a4jLhuFy/LAEAr2hjg0np/tLVnRdziDHZg Lxl4NpzZFH30F/9LC/0v4lpgMyfNlf66tvaLt5Bc/nQa58+plroADeCmSCIvJP65 CrSh7EBzmxGeb2LamQw/HlR1K7C5JA224/1pjkwJbxAuwR2ycRH6BA== =lmcP -----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 puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---