wilbur 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.gitignore +8 -0
- data/.ruby-version +1 -0
- data/Gemfile +5 -0
- data/README.md +93 -0
- data/Rakefile +16 -0
- data/Thorfile +145 -0
- data/Vagrantfile +46 -0
- data/flavors/README.md +33 -0
- data/flavors/ar71xx_nand_3g_usb/dot_config +3932 -0
- data/flavors/flavors.yml +4 -0
- data/lib/wilbur/version.rb +3 -0
- data/openwrt_release +1 -0
- data/provisioning/manifests/builder.pp +35 -0
- data/provisioning/manifests/provisioner.pp +0 -0
- data/provisioning/scripts/openwrt_release.sh +6 -0
- data/wilbur.gemspec +40 -0
- metadata +138 -0
data/flavors/flavors.yml
ADDED
data/openwrt_release
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
attitude_adjustment
|
@@ -0,0 +1,35 @@
|
|
1
|
+
$openwrt_source_url = "git://nbd.name/${::openwrt_release}.git"
|
2
|
+
|
3
|
+
$openwrt_build_deps = [
|
4
|
+
'subversion',
|
5
|
+
'git-core',
|
6
|
+
'libncurses5-dev',
|
7
|
+
'gawk',
|
8
|
+
'unzip',
|
9
|
+
'gettext',
|
10
|
+
'xsltproc',
|
11
|
+
'bison',
|
12
|
+
'libxml-parser-perl',
|
13
|
+
'build-essential',
|
14
|
+
]
|
15
|
+
|
16
|
+
$buildroot_path = "/home/ops/${::openwrt_release}"
|
17
|
+
|
18
|
+
package { $openwrt_build_deps:
|
19
|
+
ensure => installed,
|
20
|
+
before => Exec['checkout buildroot'],
|
21
|
+
}
|
22
|
+
|
23
|
+
user { 'ops':
|
24
|
+
ensure => present,
|
25
|
+
home => '/home/ops',
|
26
|
+
groups => 'ops',
|
27
|
+
}
|
28
|
+
|
29
|
+
exec { 'checkout buildroot':
|
30
|
+
command => "git clone ${openwrt_source_url} ${buildroot_path}",
|
31
|
+
user => 'ops',
|
32
|
+
creates => $buildroot_path,
|
33
|
+
require => User['ops'],
|
34
|
+
path => ['/bin', '/usr/bin'],
|
35
|
+
}
|
File without changes
|
data/wilbur.gemspec
ADDED
@@ -0,0 +1,40 @@
|
|
1
|
+
$:.unshift 'lib'
|
2
|
+
require 'wilbur/version'
|
3
|
+
|
4
|
+
Gem::Specification.new do |s|
|
5
|
+
s.name = "wilbur"
|
6
|
+
s.version = Wilbur::Version
|
7
|
+
s.summary = "Wilbur is a CLI tool that automates OpenWRT building process."
|
8
|
+
s.homepage = "https://github.com/stefanozanella/wilbur"
|
9
|
+
s.email = ["zanella.stefano@gmail.com"]
|
10
|
+
s.authors = ["Stefano Zanella"]
|
11
|
+
|
12
|
+
s.files = `git ls-files`.split($/)
|
13
|
+
s.executables = s.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
|
14
|
+
s.test_files = s.files.grep(%r{^(test|spec|features)/})
|
15
|
+
s.require_paths = ["lib"]
|
16
|
+
|
17
|
+
s.extra_rdoc_files = ["README.md"]
|
18
|
+
s.rdoc_options = ["--charset=UTF-8"]
|
19
|
+
|
20
|
+
s.add_runtime_dependency "thor"
|
21
|
+
s.add_runtime_dependency "net-ssh"
|
22
|
+
|
23
|
+
s.add_development_dependency "rake"
|
24
|
+
s.add_development_dependency "minitest"
|
25
|
+
s.add_development_dependency "coveralls"
|
26
|
+
|
27
|
+
s.description = %s{
|
28
|
+
Wilbur is primarly a wrapper around OpenWRT Buildroot.
|
29
|
+
|
30
|
+
Building a custom OpenWRT image with a custom kernel is not so difficult if
|
31
|
+
done once, but as long as you need to integrate it into your infrastructure
|
32
|
+
things can start to scatter. Wilbur allows resources like kernel
|
33
|
+
configurations, patches, custom config files to be sticked together and
|
34
|
+
managed as a single, configurable and cloneable entity.
|
35
|
+
|
36
|
+
Also, Wilbur provides a layer of abstraction over Vagrant and enables
|
37
|
+
repeatable, predictable builds and repeatable, predictable deployments via
|
38
|
+
network boot if your device support it.
|
39
|
+
}
|
40
|
+
end
|
metadata
ADDED
@@ -0,0 +1,138 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: wilbur
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Stefano Zanella
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2013-06-11 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: thor
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - '>='
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - '>='
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: net-ssh
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - '>='
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - '>='
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rake
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - '>='
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - '>='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: minitest
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - '>='
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: coveralls
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - '>='
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - '>='
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
description: "\n Wilbur is primarly a wrapper around OpenWRT Buildroot.\n \n
|
84
|
+
\ Building a custom OpenWRT image with a custom kernel is not so difficult if\n
|
85
|
+
\ done once, but as long as you need to integrate it into your infrastructure\n
|
86
|
+
\ things can start to scatter. Wilbur allows resources like kernel\n configurations,
|
87
|
+
patches, custom config files to be sticked together and\n managed as a single,
|
88
|
+
configurable and cloneable entity.\n \n Also, Wilbur provides a layer of abstraction
|
89
|
+
over Vagrant and enables\n repeatable, predictable builds and repeatable, predictable
|
90
|
+
deployments via\n network boot if your device support it.\n "
|
91
|
+
email:
|
92
|
+
- zanella.stefano@gmail.com
|
93
|
+
executables: []
|
94
|
+
extensions: []
|
95
|
+
extra_rdoc_files:
|
96
|
+
- README.md
|
97
|
+
files:
|
98
|
+
- .gitignore
|
99
|
+
- .ruby-version
|
100
|
+
- Gemfile
|
101
|
+
- README.md
|
102
|
+
- Rakefile
|
103
|
+
- Thorfile
|
104
|
+
- Vagrantfile
|
105
|
+
- flavors/README.md
|
106
|
+
- flavors/ar71xx_nand_3g_usb/dot_config
|
107
|
+
- flavors/flavors.yml
|
108
|
+
- lib/wilbur/version.rb
|
109
|
+
- openwrt_release
|
110
|
+
- provisioning/manifests/builder.pp
|
111
|
+
- provisioning/manifests/provisioner.pp
|
112
|
+
- provisioning/scripts/openwrt_release.sh
|
113
|
+
- wilbur.gemspec
|
114
|
+
homepage: https://github.com/stefanozanella/wilbur
|
115
|
+
licenses: []
|
116
|
+
metadata: {}
|
117
|
+
post_install_message:
|
118
|
+
rdoc_options:
|
119
|
+
- --charset=UTF-8
|
120
|
+
require_paths:
|
121
|
+
- lib
|
122
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
123
|
+
requirements:
|
124
|
+
- - '>='
|
125
|
+
- !ruby/object:Gem::Version
|
126
|
+
version: '0'
|
127
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - '>='
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0'
|
132
|
+
requirements: []
|
133
|
+
rubyforge_project:
|
134
|
+
rubygems_version: 2.0.2
|
135
|
+
signing_key:
|
136
|
+
specification_version: 4
|
137
|
+
summary: Wilbur is a CLI tool that automates OpenWRT building process.
|
138
|
+
test_files: []
|