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.
- data/CHANGELOG +26 -0
- data/Gemfile +14 -0
- data/Gemfile.lock +28 -0
- data/Rakefile +31 -73
- data/ext/build_defaults.yaml +20 -0
- data/ext/debian/changelog.erb +71 -0
- data/ext/debian/compat +1 -0
- data/ext/debian/control +14 -0
- data/ext/debian/copyright +19 -0
- data/ext/debian/docs +2 -0
- data/ext/debian/lintian-overrides +0 -0
- data/ext/debian/rules +9 -0
- data/ext/debian/source/format +1 -0
- data/ext/facter-diff +74 -0
- data/{conf → ext}/osx/PackageInfo.plist +0 -0
- data/{conf → ext}/osx/createpackage.sh +0 -0
- data/ext/osx/file_mapping.yaml +27 -0
- data/ext/osx/preflight.erb +30 -0
- data/ext/osx/prototype.plist.erb +38 -0
- data/ext/packaging/README.md +89 -0
- data/ext/packaging/tasks/00_utils.rb +214 -0
- data/ext/packaging/tasks/10_setupvars.rake +59 -0
- data/ext/packaging/tasks/apple.rake +201 -0
- data/ext/packaging/tasks/clean.rake +5 -0
- data/ext/packaging/tasks/deb.rake +105 -0
- data/ext/packaging/tasks/gem.rake +50 -0
- data/ext/packaging/tasks/mock.rake +88 -0
- data/ext/packaging/tasks/release.rake +18 -0
- data/ext/packaging/tasks/rpm.rake +39 -0
- data/ext/packaging/tasks/ship.rake +25 -0
- data/ext/packaging/tasks/sign.rake +62 -0
- data/ext/packaging/tasks/tar.rake +19 -0
- data/ext/project_data.yaml +15 -0
- data/{conf/redhat/facter.spec → ext/redhat/facter.spec.erb} +37 -19
- data/{conf → ext}/solaris/pkginfo +0 -0
- data/lib/facter.rb +2 -6
- data/lib/facter/facterversion.rb +5 -2
- data/lib/facter/util/ec2.rb +4 -3
- data/lib/facter/version.rb +13 -0
- data/spec/unit/facter_spec.rb +0 -5
- data/spec/unit/util/ec2_spec.rb +16 -0
- metadata +370 -200
- data/conf/osx/preflight +0 -16
data/conf/osx/preflight
DELETED
@@ -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"
|