dev-lxc 2.0.1 → 2.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +75 -0
- data/lib/dev-lxc/cluster.rb +2 -2
- data/lib/dev-lxc/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 205722f680f3b922f55803656708b853d4cb8269
|
4
|
+
data.tar.gz: 0b396986fd5ed8da6366e1e3b2a7d14ed8e4d217
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 44bf696819467c624130a0120d49b882ec992b799b31de42736c684a0c5cccb7145600e141285eb3269bec5edd37cd5d7b16ca9510cfd6a183cfd404b6ea1780
|
7
|
+
data.tar.gz: b279f720812e7556624186539fc12cf313612b8d1dde616af740da91dc866c24ccc07d8a2db5ff747af743c2c34f6e4de13b17693e58ee5d5c926d94c74a2756
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,80 @@
|
|
1
1
|
# dev-lxc Change Log
|
2
2
|
|
3
|
+
## 2.0.2 (2016-06-24)
|
4
|
+
|
5
|
+
* Change secrets.json to chef-backend-secrets.json
|
6
|
+
|
7
|
+
## 2.0.1 (2016-06-23)
|
8
|
+
|
9
|
+
Remove mixlib-install version constraint
|
10
|
+
|
11
|
+
## 2.0.0 (2016-06-23)
|
12
|
+
|
13
|
+
* Overhaul README
|
14
|
+
* Rename tiered-chef to chef-tier
|
15
|
+
* Change init's chef-backend description
|
16
|
+
* Remove realpath command
|
17
|
+
* Remove commands that functionally are replaced by nodes server type
|
18
|
+
* Add "nodes" server type
|
19
|
+
* reorder the init config options
|
20
|
+
* Allow servers to use dynamic IP addresses
|
21
|
+
* Add --append and --filename to DevLXC::CLI#init
|
22
|
+
* Rename DevLXC::CLI#create to DevLXC::CLI#create-base-container
|
23
|
+
* Install knife-opc 0.3.1 in private-chef servers
|
24
|
+
* Making conditional more readable in DevLXC::CLI#attach
|
25
|
+
* Add chef-backend build code to DevLXC::Cluster
|
26
|
+
* Add chef-backend to DevLXC::Cluster#up
|
27
|
+
* Add chef-backend to DevLXC::Cluster#get_sorted_servers
|
28
|
+
* Add chef-backend to DevLXC::Cluster#initialize
|
29
|
+
* Add chef-backend to DevLXC::Cluster#validate_cluster_config
|
30
|
+
* Add Analytics FQDN to DevLXC::CLI#status
|
31
|
+
* Add chef-backend option to DevLXC::CLI
|
32
|
+
* Add --skip-same-version to dpkg install_command
|
33
|
+
* Add DevLXC::Cluster#up
|
34
|
+
* Add build related code to DevLXC::Cluster
|
35
|
+
* Add snapshot list to DevLXC::CLI#status
|
36
|
+
* Remove unnecessary FQDNs from DevLXC::CLI#status
|
37
|
+
* Refactor DevLXC::CLI to use new DevLXC::Server capabilities
|
38
|
+
* Rename non_stopped_servers to running_servers
|
39
|
+
* Replace DevLXC::Cluster#servers with DevLXC:Cluster#get_sorted_servers
|
40
|
+
* Refactor DevLXC::Cluster#chef-repo
|
41
|
+
* Refactor DevLXC::Cluster to use new DevLXC::Cluster.config, DevLXC::Cluster.server_configs and DevLXC::Cluster#get_server
|
42
|
+
* Add DevLXC::Cluster#get_server method
|
43
|
+
* Use mixlib-install package management in DevLXC::CLI#init
|
44
|
+
* Remove packages validation from DevLXC::Cluster#validate_cluster_config
|
45
|
+
* Add mixlib-install package cache management
|
46
|
+
* Remove open-source server type
|
47
|
+
* Completely overhaul DevLXC::Cluster#initialize
|
48
|
+
* Minor code refactor in #create_dns_record
|
49
|
+
* Add DevLXC::Server#install_package
|
50
|
+
* Add DevLXC::Server#status
|
51
|
+
* Add DevLXC::Server#name
|
52
|
+
* Rename @server to @container
|
53
|
+
* Use "running" instead of "not stopped"
|
54
|
+
* Remove all cluster and build related code from DevLXC::Server
|
55
|
+
* Overhaul DevLXC::Server#initialize
|
56
|
+
* Remove usage of #realpath from code
|
57
|
+
* Minor code reorg in DevLXC::CLI#init
|
58
|
+
* Move match_server_name_regex functionality into DevLXC::Cluster#servers
|
59
|
+
* Move validate_cluster_config into DevLXC::Cluster
|
60
|
+
* Move Centos /etc/hosts fix into base container creation
|
61
|
+
* Move Centos 7 setpcap related comments
|
62
|
+
* Add confirmation check to destroy subcommand
|
63
|
+
* Replace "platform" and "image" terms with "base" and "container"
|
64
|
+
* Remove init subcommand's unique string option
|
65
|
+
* Replace some "create" terminology with "build"
|
66
|
+
* Replace unique images with snapshots
|
67
|
+
* Replace custom images with genuine snapshot management
|
68
|
+
* Require that the platform image container must already exist
|
69
|
+
* Validate dev-lxc.yml platform_image
|
70
|
+
* Store dev-lxc containers in default LXCPATH /var/lib/lxc
|
71
|
+
* Remove global-status subcommand
|
72
|
+
* Remove list-images subcommand
|
73
|
+
* Remove shared image functionality
|
74
|
+
* Remove p-ubuntu-1004 platform image
|
75
|
+
* Preserve permissions and ownership when copying directories to other servers in a cluster
|
76
|
+
* Update the Reporting package version
|
77
|
+
|
3
78
|
## 1.7.0 (2016-05-04)
|
4
79
|
|
5
80
|
* Replace p-ubuntu-1504 with p-ubuntu-1604
|
data/lib/dev-lxc/cluster.rb
CHANGED
@@ -567,9 +567,9 @@ ssl_verify_mode :verify_none
|
|
567
567
|
else
|
568
568
|
puts "Joining #{server.name} to the chef-backend cluster"
|
569
569
|
leader_backend = get_server(@config['chef-backend'][:leader_backend])
|
570
|
-
FileUtils.cp("#{leader_backend.container.config_item('lxc.rootfs')}/etc/chef-backend/secrets.json",
|
570
|
+
FileUtils.cp("#{leader_backend.container.config_item('lxc.rootfs')}/etc/chef-backend/chef-backend-secrets.json",
|
571
571
|
"#{server.container.config_item('lxc.rootfs')}/root/")
|
572
|
-
run_ctl(server, "chef-backend", "join-cluster #{@server_configs[leader_backend.name][:ipaddress]} -p #{@server_configs[server.name][:ipaddress]} -s /root/secrets.json --yes")
|
572
|
+
run_ctl(server, "chef-backend", "join-cluster #{@server_configs[leader_backend.name][:ipaddress]} -p #{@server_configs[server.name][:ipaddress]} -s /root/chef-backend-secrets.json --yes")
|
573
573
|
end
|
574
574
|
end
|
575
575
|
|
data/lib/dev-lxc/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dev-lxc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jeremiah Snapp
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-06-
|
11
|
+
date: 2016-06-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|