Merge "lsb_release is missing for debian setup"
This commit is contained in:
commit
7a1d9f1ebe
@ -127,6 +127,10 @@ EOF
|
||||
}
|
||||
|
||||
function setup_puppet_ubuntu {
|
||||
if ! which lsb_release > /dev/null 2<&1 ; then
|
||||
DEBIAN_FRONTEND=noninteractive apt-get --option 'Dpkg::Options::=--force-confold' \
|
||||
--assume-yes install -y --force-yes lsb-release
|
||||
fi
|
||||
|
||||
lsbdistcodename=`lsb_release -c -s`
|
||||
if [ $lsbdistcodename != 'trusty' ] ; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user