summaryrefslogtreecommitdiff
path: root/lib/facter
AgeCommit message (Collapse)Author
2014-03-04Add begin/rescue/end to setcode blockMatt Callaway
This silences these warnings: Could not retrieve pip_version: undefined method `[]' for nil:NilClass Could not retrieve pip_version: can't convert Symbol into String
2014-03-04Add begin/rescue/end to setcode blockMatt Callaway
This silences these warnings: Could not retrieve pip_version: undefined method `[]' for nil:NilClass Could not retrieve pip_version: can't convert Symbol into String
2014-02-26prevent Facter error when packages not installedSteve Huff
on RHEL systems, `pkg.retrieve[pkg.property(:ensure)]` returns `:absent` when a package is not installed; this can generate an unsightly error when running these facts on a RHEL system where the necessary OS packages are not installed: [root@gepeto ~]# facter -p osfamily RedHat [root@gepeto ~]# facter -p lsbmajdistrelease 5 [root@gepeto ~]# grep version /etc/puppet/modules/python/Modulefile version '1.6.3' [root@gepeto ~]# facter -p virtualenv_version pip_version Could not retrieve virtualenv_version: can't convert Symbol into String Could not retrieve pip_version: undefined method `[]' for nil:NilClass Could not retrieve pip_version: can't convert Symbol into String pip_version => virtualenv_version => Fixes #50
2014-01-20Drop stderr in pip --versionVlastimil Holer
2014-01-07Fix Python version detection, stderr to stdoutJarl Stefansson
2014-01-07Silence facter by redirecting python -V stderrJarl Stefansson
2014-01-02Fix wheel support and pip version compatabilityJarl Stefansson
Fix wheel support and compatability for older pip versions by detecting suppport when running the pip command inside a virtualenv.
2013-11-07Added latest support to pip, fixed log paramJarl Stefansson
--log-file is not supported in older versions, changed to use --log Added ability to do pip --upgrade by using latest
2013-11-05Fix facter for versionsJarl Stefansson
2013-11-05Improve python version and virtualenv version factsJarl Stefansson
2013-11-04Added support for pip installed virtualenv facterJarl Stefansson
2013-11-04Add system wide default python version to facterJarl Stefansson
2013-11-01Disable system package flag on older virtualenvJarl Stefansson