diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-02-14 14:04:38 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-02-14 14:04:38 -0200 |
commit | aea668e7b773ab30aed96119404b7e7c72c7e59c (patch) | |
tree | 06467d28018e1302cd925fe7921caf3aeeb735f0 /share | |
parent | 26a42923bc1d0fa2bf5457ae04ae072d112c5391 (diff) | |
download | hydra-aea668e7b773ab30aed96119404b7e7c72c7e59c.tar.gz hydra-aea668e7b773ab30aed96119404b7e7c72c7e59c.tar.bz2 |
Avoid a facter bug
Diffstat (limited to 'share')
-rwxr-xr-x | share/hydractl/system-upgrade | 3 |
1 files changed, 2 insertions, 1 deletions
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 |