From aea668e7b773ab30aed96119404b7e7c72c7e59c Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 14 Feb 2013 14:04:38 -0200 Subject: Avoid a facter bug --- share/hydractl/system-upgrade | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'share/hydractl') diff --git a/share/hydractl/system-upgrade b/share/hydractl/system-upgrade index b26d90a..a35457b 100755 --- a/share/hydractl/system-upgrade +++ b/share/hydractl/system-upgrade @@ -24,7 +24,8 @@ hydra_config_load BASENAME="`basename $0`" # Available releases -release="`facter lsbdistcodename`" +#release="`facter lsbdistcodename`" # this doesn't work on squeeze +release="`facter | grep lsbdistcodename | sed -e 's/lsbdistcodename => //'`" nextrelease="`hydra_next_debian_release $release`" # Ensure puppet is stopped during the process -- cgit v1.2.3