palletjack-tools 0.5.0 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +2 -1
- data/exe/palletjack2kea +6 -6
- data.tar.gz.sig +0 -0
- metadata +4 -4
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ed7051bfe3f1b942b259227abbae1ec8b98bdc01
|
4
|
+
data.tar.gz: 8b25d846aa56e8e423bb51f09124ac49d9c2272b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2a120f54ab1926dc424d498ccfdc7c33bf2ce4ad204823b7302e5f5fdc2b45ebf2bdbd67b7ab89ccfe5153f143efe586c4ddd01341801279ced2107b9b9c22bc
|
7
|
+
data.tar.gz: b05e424268cde198b2193fc0b5db07df14e37f89365046e9acff9823f26205874cf0440cf713454e3b66122e4c67662ce29ef92002b4a128074a416a0f539097
|
checksums.yaml.gz.sig
CHANGED
@@ -1 +1,2 @@
|
|
1
|
-
�
|
1
|
+
M���J���,{�;��xM�ޯ�D���� ҩ_侷4�����l��ƫm����{Ḥ>1�f3�Ϻ>�>���~j�7���ʭ%F�H�4u}W����[�/TD�NS0SC����uuϥ�w��007��mj}[��'�"Y�"��đ�&>�ae�xp�=�7&6*eb�Ŕ��<��$Y8Π����p�z�ș��_�P�Y���R
|
2
|
+
u�v���&
|
data/exe/palletjack2kea
CHANGED
@@ -35,15 +35,15 @@ Write configuration for the Kea DHCP server from a Palletjack warehouse"
|
|
35
35
|
attr_reader :kea_config
|
36
36
|
|
37
37
|
def process
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
38
|
+
service = jack.fetch(kind: 'service',
|
39
|
+
parent_name: 'dhcp-server',
|
40
|
+
name: options[:service])
|
41
|
+
|
42
|
+
@kea_config = { 'Dhcp4' => service['service.kea_v4'] }
|
43
43
|
|
44
44
|
@kea_config['Dhcp4']['subnet4'] = []
|
45
45
|
|
46
|
-
|
46
|
+
service.descendants(kind: 'ipv4_network') do |net|
|
47
47
|
net_config = {'subnet' => net['net.ipv4.cidr'],
|
48
48
|
'reservations' => [],
|
49
49
|
'option-data' => []}
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: palletjack-tools
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Karl-Johan Karlsson
|
@@ -31,7 +31,7 @@ cert_chain:
|
|
31
31
|
f8wtQllq82VF0AXUYeLtTh1f+DW3WW5BO1e2OCu5eOV7dbyaVPaNK/+rHjCN8kM/
|
32
32
|
DGZSwUoNADmVkQ==
|
33
33
|
-----END CERTIFICATE-----
|
34
|
-
date: 2017-
|
34
|
+
date: 2017-02-09 00:00:00.000000000 Z
|
35
35
|
dependencies:
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: palletjack
|
@@ -39,14 +39,14 @@ dependencies:
|
|
39
39
|
requirements:
|
40
40
|
- - '='
|
41
41
|
- !ruby/object:Gem::Version
|
42
|
-
version: 0.
|
42
|
+
version: 0.6.0
|
43
43
|
type: :runtime
|
44
44
|
prerelease: false
|
45
45
|
version_requirements: !ruby/object:Gem::Requirement
|
46
46
|
requirements:
|
47
47
|
- - '='
|
48
48
|
- !ruby/object:Gem::Version
|
49
|
-
version: 0.
|
49
|
+
version: 0.6.0
|
50
50
|
- !ruby/object:Gem::Dependency
|
51
51
|
name: dns-zone
|
52
52
|
requirement: !ruby/object:Gem::Requirement
|
metadata.gz.sig
CHANGED
Binary file
|