facter 1.6.11 → 1.6.12.rc1

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of facter might be problematic. Click here for more details.

Files changed (43) hide show
  1. data/CHANGELOG +26 -0
  2. data/Gemfile +14 -0
  3. data/Gemfile.lock +28 -0
  4. data/Rakefile +31 -73
  5. data/ext/build_defaults.yaml +20 -0
  6. data/ext/debian/changelog.erb +71 -0
  7. data/ext/debian/compat +1 -0
  8. data/ext/debian/control +14 -0
  9. data/ext/debian/copyright +19 -0
  10. data/ext/debian/docs +2 -0
  11. data/ext/debian/lintian-overrides +0 -0
  12. data/ext/debian/rules +9 -0
  13. data/ext/debian/source/format +1 -0
  14. data/ext/facter-diff +74 -0
  15. data/{conf → ext}/osx/PackageInfo.plist +0 -0
  16. data/{conf → ext}/osx/createpackage.sh +0 -0
  17. data/ext/osx/file_mapping.yaml +27 -0
  18. data/ext/osx/preflight.erb +30 -0
  19. data/ext/osx/prototype.plist.erb +38 -0
  20. data/ext/packaging/README.md +89 -0
  21. data/ext/packaging/tasks/00_utils.rb +214 -0
  22. data/ext/packaging/tasks/10_setupvars.rake +59 -0
  23. data/ext/packaging/tasks/apple.rake +201 -0
  24. data/ext/packaging/tasks/clean.rake +5 -0
  25. data/ext/packaging/tasks/deb.rake +105 -0
  26. data/ext/packaging/tasks/gem.rake +50 -0
  27. data/ext/packaging/tasks/mock.rake +88 -0
  28. data/ext/packaging/tasks/release.rake +18 -0
  29. data/ext/packaging/tasks/rpm.rake +39 -0
  30. data/ext/packaging/tasks/ship.rake +25 -0
  31. data/ext/packaging/tasks/sign.rake +62 -0
  32. data/ext/packaging/tasks/tar.rake +19 -0
  33. data/ext/project_data.yaml +15 -0
  34. data/{conf/redhat/facter.spec → ext/redhat/facter.spec.erb} +37 -19
  35. data/{conf → ext}/solaris/pkginfo +0 -0
  36. data/lib/facter.rb +2 -6
  37. data/lib/facter/facterversion.rb +5 -2
  38. data/lib/facter/util/ec2.rb +4 -3
  39. data/lib/facter/version.rb +13 -0
  40. data/spec/unit/facter_spec.rb +0 -5
  41. data/spec/unit/util/ec2_spec.rb +16 -0
  42. metadata +370 -200
  43. data/conf/osx/preflight +0 -16
@@ -1,16 +0,0 @@
1
- #!/bin/bash
2
- #
3
- # Make sure that old facter cruft is removed
4
- # This also allows us to downgrade facter as
5
- # it's more likely that installing old versions
6
- # over new will cause issues.
7
- #
8
- # ${3} is the destination volume so that this works correctly
9
- # when being installed to volumes other than the current OS.
10
-
11
- /bin/rm -Rf "${3}{SITELIBDIR}/facter"
12
- /bin/rm -Rf "${3}{SITELIBDIR}/facter.rb"
13
-
14
- # remove old doc files
15
-
16
- /bin/rm -Rf "${3}/usr/share/doc/facter"