Daniel Pittman <dan...@puppetlabs.com> writes: > The change doesn't assume it, because it checks if that file exists, > so it reduces the number of cases things go wrong on Ubuntu ... and I > believe 'ubuntu-minimal' *does* get lsb-bas installed, leading it to > be correct except in cases upstream consider "not Ubuntu" anyhow. :)
The "/etc/lsb-release" file is owned by the "base-files" package, which has priority "required" on Ubuntu Lucid (latest LTS release) and Ubuntu Natty (latest release). It should therefore always be present, on any Ubuntu installation (excluding administrative intervention, of course). The format of this file is: DISTRIB_ID=Ubuntu DISTRIB_RELEASE=11.04 DISTRIB_CODENAME=natty DISTRIB_DESCRIPTION="Ubuntu 11.04" ...so using a string-match on one of the lines would perhaps feel better than a case insensitive regexp on "ubuntu". -- Stig Sandbeck Mathisen -- You received this message because you are subscribed to the Google Groups "Puppet Developers" group. To post to this group, send email to puppet-dev@googlegroups.com. To unsubscribe from this group, send email to puppet-dev+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-dev?hl=en.