fpm-fry 0.2.2 → 0.4.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/cabin/nice_output.rb +16 -1
- data/lib/fpm/fry/block_enumerator.rb +6 -3
- data/lib/fpm/fry/build_output_parser.rb +10 -5
- data/lib/fpm/fry/channel.rb +13 -0
- data/lib/fpm/fry/chroot.rb +2 -2
- data/lib/fpm/fry/client.rb +96 -12
- data/lib/fpm/fry/command.rb +15 -32
- data/lib/fpm/fry/command/cook.rb +38 -56
- data/lib/fpm/fry/detector.rb +43 -98
- data/lib/fpm/fry/docker_file.rb +60 -26
- data/lib/fpm/fry/exec.rb +76 -0
- data/lib/fpm/fry/inspector.rb +70 -0
- data/lib/fpm/fry/joined_io.rb +1 -1
- data/lib/fpm/fry/plugin/apt.rb +52 -0
- data/lib/fpm/fry/plugin/edit_staging.rb +1 -1
- data/lib/fpm/fry/plugin/env.rb +45 -0
- data/lib/fpm/fry/plugin/init.rb +71 -42
- data/lib/fpm/fry/plugin/service.rb +108 -49
- data/lib/fpm/fry/plugin/systemd.rb +75 -0
- data/lib/fpm/fry/recipe.rb +64 -23
- data/lib/fpm/fry/recipe/builder.rb +53 -20
- data/lib/fpm/fry/source.rb +41 -12
- data/lib/fpm/fry/source/{package.rb → archive.rb} +115 -35
- data/lib/fpm/fry/source/dir.rb +13 -8
- data/lib/fpm/fry/source/git.rb +81 -45
- data/lib/fpm/fry/source/patched.rb +61 -32
- data/lib/fpm/fry/tar.rb +63 -0
- data/lib/fpm/fry/templates/debian/after_remove.erb +1 -1
- data/lib/fpm/fry/templates/debian/before_remove.erb +1 -1
- data/lib/fpm/fry/ui.rb +1 -1
- data/lib/fpm/fry/with_data.rb +34 -0
- data/lib/fpm/package/docker.rb +16 -0
- metadata +82 -13
- data/lib/fpm/fry/os_db.rb +0 -36
data/lib/fpm/fry/os_db.rb
DELETED
@@ -1,36 +0,0 @@
|
|
1
|
-
module FPM; module Fry
|
2
|
-
|
3
|
-
# Structure is
|
4
|
-
#
|
5
|
-
# <distribution> => {
|
6
|
-
# codenames: {
|
7
|
-
# <codename> => <version>
|
8
|
-
# },
|
9
|
-
# flavour: <flavour>
|
10
|
-
# }
|
11
|
-
OsDb = {
|
12
|
-
'centos' => {
|
13
|
-
codenames: {},
|
14
|
-
flavour: 'redhat'
|
15
|
-
},
|
16
|
-
|
17
|
-
'debian' => {
|
18
|
-
codenames: {
|
19
|
-
'lenny' => '5',
|
20
|
-
'squeeze' => '6',
|
21
|
-
'wheezy' => '7'
|
22
|
-
},
|
23
|
-
flavour: 'debian'
|
24
|
-
},
|
25
|
-
|
26
|
-
'ubuntu' => {
|
27
|
-
codenames: {
|
28
|
-
'precise' => '12.04',
|
29
|
-
'trusty' => '14.04',
|
30
|
-
'xenial' => '16.04'
|
31
|
-
},
|
32
|
-
flavour: 'debian'
|
33
|
-
}
|
34
|
-
}
|
35
|
-
|
36
|
-
end ; end
|