dev-lxc 1.6.0 → 1.6.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cc3e32a92441d13891b9d18d695f0090b66fda21
4
- data.tar.gz: 88ffc5dd9c96a388b05bd667efa0911f49a7b9ed
3
+ metadata.gz: b24d7c5c69cbd5a1f6f5f82dc2245f4cc2ec3e74
4
+ data.tar.gz: 90b48e20b8e7e3771ae72415d1f827693af731fd
5
5
  SHA512:
6
- metadata.gz: 036550a1aa6075233f9ca49dd69e97dee81e34b0b08b11b19eb4ed277d3a0308b5e422d8ca28c979c91c770651210723e38be3292dc83b2faf355a6a36fc2d72
7
- data.tar.gz: 25a763a9686080b77466efe50e77ad7326081ed6569056362a00d2088786f5d471bc826656ba6d582c53106c45d67b623e7f69afe4856b7d45402eb42725bfc2
6
+ metadata.gz: 1f62b4e0bdad4825dd04720ae27d6e9dee44f15b801becacb91fda99a3e12053016a1e8f377a14b07820f9f1c4b9757127b0d1ca2e17ada503fd0e6b3c853807
7
+ data.tar.gz: 9c2efad299bb412f8df89019ad76e35df631285e680ddd1044e5e66740f412928c4bbc0ac60a22ad4c738ad629403be17623382026dfdb3aef12789cbcfa5e45
data/CHANGELOG.md CHANGED
@@ -1,6 +1,10 @@
1
1
  # dev-lxc Change Log
2
2
 
3
- ## 1.6.0 (2015-04-20)
3
+ ## 1.6.1 (2016-04-20)
4
+
5
+ * Fix for open-source in "dev-lxc init"
6
+
7
+ ## 1.6.0 (2016-04-20)
4
8
 
5
9
  * Rewrite "dev-lxc init" so its options determine what config gets generated
6
10
 
@@ -20,20 +24,20 @@
20
24
 
21
25
  * Make standalone topology the default for Chef Server
22
26
 
23
- ## 1.5.1 (2015-04-15)
27
+ ## 1.5.1 (2016-04-15)
24
28
 
25
- * Add ability to pass options to LXC create calls
26
- For example, this lets users pass the following options for more control over the creation process.
29
+ * Add ability to pass options to LXC create calls
30
+ For example, this lets users pass the following options for more control over the creation process.
27
31
  https://github.com/lxc/lxc/blob/lxc-2.0.0/templates/lxc-download.in#L200-L207
28
32
 
29
- ## 1.5.0 (2015-04-14)
33
+ ## 1.5.0 (2016-04-14)
30
34
 
31
- * Set lxc.network.hwaddr, if one doesn’t exist, instead of lxc.network.0.hwaddr
35
+ * Set lxc.network.hwaddr, if one doesn’t exist, instead of lxc.network.0.hwaddr
32
36
  Fixes a bug that caused containers to get identical hwaddrs and IPs
33
37
 
34
38
  * Remove chef-sync since it is EOL
35
39
 
36
- * Refactor removal of container config's mount entries
40
+ * Refactor removal of container config's mount entries
37
41
  Make sure you are using LXC 2.0 which includes a fix that allows the refactor to work
38
42
 
39
43
  * Make mount section in dev-lxc.yml optional
data/lib/dev-lxc/cli.rb CHANGED
@@ -213,6 +213,7 @@ adhoc:
213
213
  ipaddress: 10.0.3.207
214
214
  )
215
215
  config = header
216
+ config += open_source_config if options[:open_source]
216
217
  config += chef_config if options[:chef]
217
218
  config += tiered_chef_config if options[:tiered_chef]
218
219
  config += analytics_config if options[:analytics]
@@ -223,7 +224,7 @@ adhoc:
223
224
  config_hash = YAML.load(config.gsub(/^#/, ''))
224
225
  config.gsub!(/api_fqdn:\s+#{config_hash['api_fqdn']}/, "api_fqdn: #{unique_string}#{config_hash['api_fqdn']}")
225
226
  config.gsub!(/analytics_fqdn:\s+#{config_hash['analytics_fqdn']}/, "analytics_fqdn: #{unique_string}#{config_hash['analytics_fqdn']}")
226
- %w(open-source chef-server analytics compliance supermarket adhoc).each do |server_type|
227
+ %w(chef-server analytics compliance supermarket adhoc).each do |server_type|
227
228
  if config_hash[server_type]
228
229
  config_hash[server_type]['servers'].keys.each do |server_name|
229
230
  config.gsub!(/ #{server_name}:/, " #{unique_string}#{server_name}:")
@@ -1,3 +1,3 @@
1
1
  module DevLXC
2
- VERSION = "1.6.0"
2
+ VERSION = "1.6.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dev-lxc
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.0
4
+ version: 1.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeremiah Snapp