foreman_discovery 4.1.1 → 4.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (31) hide show
  1. checksums.yaml +4 -4
  2. data/app/views/foreman_discovery/redhat_kexec.erb +1 -1
  3. data/db/migrate/20151023144501_regenerate_red_hat_kexec.rb +10 -0
  4. data/lib/foreman_discovery/version.rb +1 -1
  5. data/locale/de/LC_MESSAGES/foreman_discovery.mo +0 -0
  6. data/locale/de/foreman_discovery.po +1 -1
  7. data/locale/en_GB/LC_MESSAGES/foreman_discovery.mo +0 -0
  8. data/locale/en_GB/foreman_discovery.po +7 -7
  9. data/locale/es/LC_MESSAGES/foreman_discovery.mo +0 -0
  10. data/locale/es/foreman_discovery.po +1 -1
  11. data/locale/fr/LC_MESSAGES/foreman_discovery.mo +0 -0
  12. data/locale/fr/foreman_discovery.po +1 -1
  13. data/locale/gl/LC_MESSAGES/foreman_discovery.mo +0 -0
  14. data/locale/gl/foreman_discovery.po +1 -1
  15. data/locale/it/LC_MESSAGES/foreman_discovery.mo +0 -0
  16. data/locale/it/foreman_discovery.po +1 -1
  17. data/locale/ja/LC_MESSAGES/foreman_discovery.mo +0 -0
  18. data/locale/ja/foreman_discovery.po +1 -1
  19. data/locale/ko/LC_MESSAGES/foreman_discovery.mo +0 -0
  20. data/locale/ko/foreman_discovery.po +1 -1
  21. data/locale/pt_BR/LC_MESSAGES/foreman_discovery.mo +0 -0
  22. data/locale/pt_BR/foreman_discovery.po +9 -8
  23. data/locale/ru/LC_MESSAGES/foreman_discovery.mo +0 -0
  24. data/locale/ru/foreman_discovery.po +1 -1
  25. data/locale/sv_SE/LC_MESSAGES/foreman_discovery.mo +0 -0
  26. data/locale/sv_SE/foreman_discovery.po +1 -1
  27. data/locale/zh_CN/LC_MESSAGES/foreman_discovery.mo +0 -0
  28. data/locale/zh_CN/foreman_discovery.po +1 -1
  29. data/locale/zh_TW/LC_MESSAGES/foreman_discovery.mo +0 -0
  30. data/locale/zh_TW/foreman_discovery.po +1 -1
  31. metadata +3 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3fda22f5edb3e97875c15d398febdd5023950166
4
- data.tar.gz: bd644761a152e7abe6a7dea83f6a4e964b9d665f
3
+ metadata.gz: 69250341871bac524c73e7a2271de18f888143d5
4
+ data.tar.gz: d1e2264fbe02bb72254eae7ff5ded196c81be22f
5
5
  SHA512:
6
- metadata.gz: 85212ea10af6f5a40125bcfbb849fbebb362485c6626a967a3e24faf5635444eb0dd87eab9e63251809b366cf3bdb491970b8b74623ba2e9cdd0b831fb1f1b2e
7
- data.tar.gz: b427ee0dafae3d44c3913992ffbcdf017a3b6c08579c56aa8f59b39e60d2adbd789f9d046a62eb1a69096a7cf66bb4e524e481bf95c89d5c9b1d57a066f4132e
6
+ metadata.gz: 55bb62046e1c7c03e21410df0b24163fb9405267d9b7d4d28b7815c825177666b89062d00c164683e4ab1511efa04297bb5730daefe389f92bb60b2ae4336db1
7
+ data.tar.gz: 2cd78477e03df12ba1f1ff9c0fc0ee0ca85b3572c4a75402ea09f0d804cd1056111bfc1607ea13d84616215d62d4099f417f5ef490675a927d16393a2aad6f45
@@ -24,7 +24,7 @@ information about semantics.
24
24
  -%>
25
25
  <%
26
26
  mac = @host.facts['discovery_bootif']
27
- bootif = '00-' + mac.gsub(':', '-') rescue ''
27
+ bootif = '00-' + mac.gsub(':', '-') if mac
28
28
  ip_cidr = @host.facts['discovery_ip_cidr']
29
29
  ip = @host.facts['discovery_ip']
30
30
  mask = @host.facts['discovery_netmask']
@@ -0,0 +1,10 @@
1
+ class RegenerateRedHatKexec < ActiveRecord::Migration
2
+ def up
3
+ t = ProvisioningTemplate.find_by_name("Discovery Red Hat kexec")
4
+ t.update_attributes(:template => t.template.sub(/rescue ''$/, 'if mac')) if t
5
+ end
6
+
7
+ def down
8
+ # rollback is not supported
9
+ end
10
+ end
@@ -1,3 +1,3 @@
1
1
  module ForemanDiscovery
2
- VERSION = "4.1.1"
2
+ VERSION = "4.1.2"
3
3
  end
@@ -11,7 +11,7 @@
11
11
  # simon11 <simon.stieger.98@live.de>, 2014
12
12
  msgid ""
13
13
  msgstr ""
14
- "Project-Id-Version: foreman_discovery 4.0.0\n"
14
+ "Project-Id-Version: foreman_discovery 4.1.1\n"
15
15
  "Report-Msgid-Bugs-To: foreman-dev@googlegroups.com\n"
16
16
  "POT-Creation-Date: 2015-10-15 09:33+0200\n"
17
17
  "PO-Revision-Date: 2015-10-15 14:20+0000\n"
@@ -4,16 +4,16 @@
4
4
  #
5
5
  # Translators:
6
6
  # Andi Chandler <andi@gowling.com>, 2015
7
- # Dominic Cleal <dcleal@redhat.com>, 2013-2014
7
+ # Dominic Cleal <dcleal@redhat.com>, 2013-2015
8
8
  # Lukáš Zapletal, 2015
9
9
  # Lukáš Zapletal, 2015
10
10
  msgid ""
11
11
  msgstr ""
12
- "Project-Id-Version: foreman_discovery 4.0.0\n"
12
+ "Project-Id-Version: foreman_discovery 4.1.1\n"
13
13
  "Report-Msgid-Bugs-To: foreman-dev@googlegroups.com\n"
14
14
  "POT-Creation-Date: 2015-10-15 09:33+0200\n"
15
- "PO-Revision-Date: 2015-10-15 09:16+0000\n"
16
- "Last-Translator: Lukáš Zapletal\n"
15
+ "PO-Revision-Date: 2015-10-21 14:21+0000\n"
16
+ "Last-Translator: Dominic Cleal <dcleal@redhat.com>\n"
17
17
  "Language-Team: English (United Kingdom) (http://www.transifex.com/foreman/foreman/language/en_GB/)\n"
18
18
  "MIME-Version: 1.0\n"
19
19
  "Content-Type: text/plain; charset=UTF-8\n"
@@ -203,8 +203,8 @@ msgid ""
203
203
  "Host group organization %s must also be associated to the discovery rule"
204
204
  msgid_plural ""
205
205
  "Host group organizations %s must also be associated to the discovery rule"
206
- msgstr[0] ""
207
- msgstr[1] ""
206
+ msgstr[0] "Host group organisation %s must also be associated to the discovery rule"
207
+ msgstr[1] "Host group organisations %s must also be associated to the discovery rule"
208
208
 
209
209
  msgid "Host of type %s can not be rebooted"
210
210
  msgstr "Host of type %s can not be rebooted"
@@ -297,7 +297,7 @@ msgid "Organization"
297
297
  msgstr "Organisation"
298
298
 
299
299
  msgid "Organizations"
300
- msgstr ""
300
+ msgstr "Organisations"
301
301
 
302
302
  msgid "Please Confirm"
303
303
  msgstr "Please Confirm"
@@ -9,7 +9,7 @@
9
9
  # Sergio Ocón <sergio.ocon@redhat.com>, 2014
10
10
  msgid ""
11
11
  msgstr ""
12
- "Project-Id-Version: foreman_discovery 4.0.0\n"
12
+ "Project-Id-Version: foreman_discovery 4.1.1\n"
13
13
  "Report-Msgid-Bugs-To: foreman-dev@googlegroups.com\n"
14
14
  "POT-Creation-Date: 2015-10-15 09:33+0200\n"
15
15
  "PO-Revision-Date: 2015-10-15 09:16+0000\n"
@@ -7,7 +7,7 @@
7
7
  # Pierre-Emmanuel Dutang <dutangp@gmail.com>, 2014
8
8
  msgid ""
9
9
  msgstr ""
10
- "Project-Id-Version: foreman_discovery 4.0.0\n"
10
+ "Project-Id-Version: foreman_discovery 4.1.1\n"
11
11
  "Report-Msgid-Bugs-To: foreman-dev@googlegroups.com\n"
12
12
  "POT-Creation-Date: 2015-10-15 09:33+0200\n"
13
13
  "PO-Revision-Date: 2015-10-15 09:16+0000\n"
@@ -5,7 +5,7 @@
5
5
  # Translators:
6
6
  msgid ""
7
7
  msgstr ""
8
- "Project-Id-Version: foreman_discovery 4.0.0\n"
8
+ "Project-Id-Version: foreman_discovery 4.1.1\n"
9
9
  "Report-Msgid-Bugs-To: foreman-dev@googlegroups.com\n"
10
10
  "POT-Creation-Date: 2015-10-15 09:33+0200\n"
11
11
  "PO-Revision-Date: 2015-10-15 09:16+0000\n"
@@ -7,7 +7,7 @@
7
7
  # caifti <caifti@gmail.com>, 2014
8
8
  msgid ""
9
9
  msgstr ""
10
- "Project-Id-Version: foreman_discovery 4.0.0\n"
10
+ "Project-Id-Version: foreman_discovery 4.1.1\n"
11
11
  "Report-Msgid-Bugs-To: foreman-dev@googlegroups.com\n"
12
12
  "POT-Creation-Date: 2015-10-15 09:33+0200\n"
13
13
  "PO-Revision-Date: 2015-10-15 09:16+0000\n"
@@ -6,7 +6,7 @@
6
6
  # Shuji Yamada <uzy.exe@gmail.com>, 2015
7
7
  msgid ""
8
8
  msgstr ""
9
- "Project-Id-Version: foreman_discovery 4.0.0\n"
9
+ "Project-Id-Version: foreman_discovery 4.1.1\n"
10
10
  "Report-Msgid-Bugs-To: foreman-dev@googlegroups.com\n"
11
11
  "POT-Creation-Date: 2015-10-15 09:33+0200\n"
12
12
  "PO-Revision-Date: 2015-10-15 09:16+0000\n"
@@ -5,7 +5,7 @@
5
5
  # Translators:
6
6
  msgid ""
7
7
  msgstr ""
8
- "Project-Id-Version: foreman_discovery 4.0.0\n"
8
+ "Project-Id-Version: foreman_discovery 4.1.1\n"
9
9
  "Report-Msgid-Bugs-To: foreman-dev@googlegroups.com\n"
10
10
  "POT-Creation-Date: 2015-10-15 09:33+0200\n"
11
11
  "PO-Revision-Date: 2015-10-15 09:16+0000\n"
@@ -7,13 +7,14 @@
7
7
  # Junior Alvim <alvin@intechne.com.br>, 2014
8
8
  # luizvasconcelos <luizvasconceloss@yahoo.com.br>, 2014
9
9
  # luizvasconcelos <luizvasconceloss@yahoo.com.br>, 2014-2015
10
+ # Valeria S Silva <valeriassilva@live.com>, 2015
10
11
  msgid ""
11
12
  msgstr ""
12
- "Project-Id-Version: foreman_discovery 4.0.0\n"
13
+ "Project-Id-Version: foreman_discovery 4.1.1\n"
13
14
  "Report-Msgid-Bugs-To: foreman-dev@googlegroups.com\n"
14
15
  "POT-Creation-Date: 2015-10-15 09:33+0200\n"
15
- "PO-Revision-Date: 2015-10-15 09:16+0000\n"
16
- "Last-Translator: Lukáš Zapletal\n"
16
+ "PO-Revision-Date: 2015-10-20 11:49+0000\n"
17
+ "Last-Translator: Valeria S Silva <valeriassilva@live.com>\n"
17
18
  "Language-Team: Portuguese (Brazil) (http://www.transifex.com/foreman/foreman/language/pt_BR/)\n"
18
19
  "MIME-Version: 1.0\n"
19
20
  "Content-Type: text/plain; charset=UTF-8\n"
@@ -28,7 +29,7 @@ msgid "%s ago"
28
29
  msgstr "%s atrás"
29
30
 
30
31
  msgid "%s discovered hosts were provisioned"
31
- msgstr ""
32
+ msgstr "%s hosts descobertas foram provisionados"
32
33
 
33
34
  msgid "Are you sure?"
34
35
  msgstr "Você tem certeza?"
@@ -51,7 +52,7 @@ msgid ""
51
52
  msgstr "Provisão automática descobriu hosts recentemente, de acordo com as regras de provisionamento"
52
53
 
53
54
  msgid "Automatically reboot discovered host during provisioning"
54
- msgstr ""
55
+ msgstr "Reiniciar automaticamente descoberto host durante o aprovisionamento"
55
56
 
56
57
  msgid "CPUs"
57
58
  msgstr "CPUs"
@@ -63,7 +64,7 @@ msgid "Could not get facts from proxy %{url}: %{error}"
63
64
  msgstr "Não foi possível obter fatos do proxy %{url}: %{error}"
64
65
 
65
66
  msgid "Create a discovered host for testing (use /facts to create new hosts)"
66
- msgstr ""
67
+ msgstr "Criar um host descoberto para o teste (uso / fatos para criar novos hospedeiros )"
67
68
 
68
69
  msgid "Create a discovery rule"
69
70
  msgstr "Criar uma regra de descoberta"
@@ -102,7 +103,7 @@ msgid "Discovered hosts are provisioning now"
102
103
  msgstr "Hosts descobertos estão provisionando agora"
103
104
 
104
105
  msgid "Discovered hosts are rebooting now"
105
- msgstr ""
106
+ msgstr "Hosts descobertos serão reiniciados agora"
106
107
 
107
108
  msgid "Discovery Rules"
108
109
  msgstr "Regras de descobertos"
@@ -144,7 +145,7 @@ msgid "Errors during auto provisioning: %s"
144
145
  msgstr "Erros durante o auto provisionamento: %s"
145
146
 
146
147
  msgid "Errors during reboot: %s"
147
- msgstr ""
148
+ msgstr "Erros durante a reinicialização: %s"
148
149
 
149
150
  msgid "Execute rules against a discovered host"
150
151
  msgstr "Executar regras nos hosts descobertos"
@@ -9,7 +9,7 @@
9
9
  # Vladimir Pavlov <v.pavlov@i-teco.ru>, 2015
10
10
  msgid ""
11
11
  msgstr ""
12
- "Project-Id-Version: foreman_discovery 4.0.0\n"
12
+ "Project-Id-Version: foreman_discovery 4.1.1\n"
13
13
  "Report-Msgid-Bugs-To: foreman-dev@googlegroups.com\n"
14
14
  "POT-Creation-Date: 2015-10-15 09:33+0200\n"
15
15
  "PO-Revision-Date: 2015-10-15 09:16+0000\n"
@@ -8,7 +8,7 @@
8
8
  # johnny.westerlund <johnny.westerlund@gmail.com>, 2014
9
9
  msgid ""
10
10
  msgstr ""
11
- "Project-Id-Version: foreman_discovery 4.0.0\n"
11
+ "Project-Id-Version: foreman_discovery 4.1.1\n"
12
12
  "Report-Msgid-Bugs-To: foreman-dev@googlegroups.com\n"
13
13
  "POT-Creation-Date: 2015-10-15 09:33+0200\n"
14
14
  "PO-Revision-Date: 2015-10-15 09:16+0000\n"
@@ -5,7 +5,7 @@
5
5
  # Translators:
6
6
  msgid ""
7
7
  msgstr ""
8
- "Project-Id-Version: foreman_discovery 4.0.0\n"
8
+ "Project-Id-Version: foreman_discovery 4.1.1\n"
9
9
  "Report-Msgid-Bugs-To: foreman-dev@googlegroups.com\n"
10
10
  "POT-Creation-Date: 2015-10-15 09:33+0200\n"
11
11
  "PO-Revision-Date: 2015-10-15 09:16+0000\n"
@@ -5,7 +5,7 @@
5
5
  # Translators:
6
6
  msgid ""
7
7
  msgstr ""
8
- "Project-Id-Version: foreman_discovery 4.0.0\n"
8
+ "Project-Id-Version: foreman_discovery 4.1.1\n"
9
9
  "Report-Msgid-Bugs-To: foreman-dev@googlegroups.com\n"
10
10
  "POT-Creation-Date: 2015-10-15 09:33+0200\n"
11
11
  "PO-Revision-Date: 2015-10-15 09:16+0000\n"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foreman_discovery
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.1.1
4
+ version: 4.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amos Benari
@@ -32,7 +32,7 @@ authors:
32
32
  autorequire:
33
33
  bindir: bin
34
34
  cert_chain: []
35
- date: 2015-10-20 00:00:00.000000000 Z
35
+ date: 2015-10-26 00:00:00.000000000 Z
36
36
  dependencies:
37
37
  - !ruby/object:Gem::Dependency
38
38
  name: deface
@@ -118,6 +118,7 @@ files:
118
118
  - db/migrate/20150505111345_remove_leftover_tokens.rb
119
119
  - db/migrate/20141107091417_add_discovery_rule_to_host.rb
120
120
  - db/migrate/20150302112545_remove_duplicate_tokens_from_hosts.rb
121
+ - db/migrate/20151023144501_regenerate_red_hat_kexec.rb
121
122
  - db/migrate/20150331132115_remove_old_permissions.rb
122
123
  - db/migrate/20141126165451_add_discovery_id_to_subnet.rb
123
124
  - db/migrate/20141223101707_create_discovery_attribute_sets.rb