foreman_setup 6.0.0 → 8.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 265e5e20854aca25723e6d136a77872a9403e619
4
- data.tar.gz: 826ed0175831b84322318168f697db596826da52
2
+ SHA256:
3
+ metadata.gz: afb24bbfe42d2bb57316a001184a2b951644fffb835a070e61ac056ed2c429a9
4
+ data.tar.gz: 631701a08b8521d0a84a978a0847c03e35fc008f4fefdf6c406c7e25724db795
5
5
  SHA512:
6
- metadata.gz: b943cc4e4845b66fee1f77200f6d1d8f13706ccad09daef25e87bf00b2f91858c5f3e09a3045ec68a6be6e6b2afea214bf1e42bd4f49c4a6fb8c729281b92f81
7
- data.tar.gz: 5e9a61714ac9562814ffebf561ff8ab3e5fc9f925ce96e2ec4d89a803f99ad99dc5a4736997961aef8859a5b17aa056047eecc9c97a12604a5cf4919aa6d11e7
6
+ metadata.gz: 8b2b54521dc8049ce0004d6a1e496f80f11f895db301ebe7b86e4a7f9166f2a298387cc095e37393ba3362792de4e8e385d4bdb115d24b150e7ab419ea37e99c
7
+ data.tar.gz: 81b4899ffed53aa0430c9bfbed46c533ce60a256992d838514b2d7f8d8022b75030bf28523d9dc1df0461abdb3f812570125770b71c98f5074be4fa592e57bc4
data/CHANGES.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## v8.0.0
4
+ * release for Foreman 3.2 or newer
5
+
6
+ ## v7.0.0
7
+ * release for Foreman 1.22 or newer
8
+
3
9
  ## v6.0.0
4
10
  * fix Foreman 1.17 compatibility with Rails 5
5
11
 
data/README.md CHANGED
@@ -26,6 +26,8 @@ RPM users can install the "tfm-rubygem-foreman_setup" or
26
26
  | >= 1.12 | ~> 4.0 |
27
27
  | >= 1.13 | ~> 5.0 |
28
28
  | >= 1.17 | ~> 6.0 |
29
+ | >= 1.22 | ~> 7.0 |
30
+ | >= 3.2 | ~> 8.0 |
29
31
 
30
32
  # Areas this should help
31
33
 
@@ -58,7 +58,7 @@ module ForemanSetup
58
58
  @provisioner.domain = Domain.find_by_name(domain_name)
59
59
  @provisioner.domain ||= Domain.new(:name => domain_name)
60
60
 
61
- if @provisioner.update_attributes(provisioner_params)
61
+ if @provisioner.update(provisioner_params)
62
62
  @provisioner.subnet.domains << @provisioner.domain unless @provisioner.subnet.domains.include? @provisioner.domain
63
63
  process_success :success_msg => _("Successfully updated subnet %s.") % @provisioner.subnet.name, :success_redirect => step3_foreman_setup_provisioner_path
64
64
  else
@@ -96,7 +96,7 @@ module ForemanSetup
96
96
  url.save!
97
97
 
98
98
  # Build default PXE menu
99
- status, msg = ProvisioningTemplate.build_pxe_default(self)
99
+ status, msg = ProvisioningTemplate.build_pxe_default
100
100
  warning msg unless status == 200
101
101
 
102
102
  @provisioner.hostgroup.medium ||= @provisioner.host.os.media.first
@@ -105,7 +105,7 @@ module ForemanSetup
105
105
 
106
106
  def step4_update
107
107
  medium_id = params['foreman_setup_provisioner']['hostgroup_attributes'].try(:[], 'medium_id')
108
- if medium_id.to_i > 0
108
+ if medium_id.to_i.positive?
109
109
  @medium = Medium.find(medium_id) || raise('unable to find medium')
110
110
  else
111
111
  @provisioner.hostgroup.medium_id = nil
@@ -121,7 +121,7 @@ module ForemanSetup
121
121
  end
122
122
 
123
123
  # Associate templates with OS and vice-versa
124
- if @provisioner.host.os.family && @provisioner.host.os.family.casecmp('Redhat').zero?
124
+ if @provisioner.host.os.family&.casecmp('Redhat')&.zero?
125
125
  tmpl_name = 'Kickstart'
126
126
  provision_tmpl_name = @provisioner.host.os.name.casecmp('Redhat').zero? ? 'Kickstart RHEL' : tmpl_name
127
127
  ipxe_tmpl_name = 'Kickstart'
@@ -135,6 +135,7 @@ module ForemanSetup
135
135
 
136
136
  {'provision' => provision_tmpl_name, 'PXELinux' => tmpl_name, 'iPXE' => ipxe_tmpl_name, 'finish' => finish_tmpl_name}.each do |kind_name, tmpl_name|
137
137
  next if tmpl_name.blank?
138
+
138
139
  kind = TemplateKind.find_by_name(kind_name)
139
140
  tmpls = ProvisioningTemplate.where('name LIKE ?', "#{tmpl_name}%").where(:template_kind_id => kind.id)
140
141
  tmpls.any? || raise("cannot find template for #{@provisioner.host.os}")
@@ -3,11 +3,11 @@ module ForemanSetup
3
3
  def provisioner_wizard(step)
4
4
  wizard_header(
5
5
  step,
6
- _("Pre-requisites"),
7
- _("Network config"),
8
- _("Foreman installer"),
9
- _("Installation media"),
10
- _("Completion")
6
+ _("Pre-requisites"),
7
+ _("Network config"),
8
+ _("Foreman installer"),
9
+ _("Installation media"),
10
+ _("Completion")
11
11
  )
12
12
  end
13
13
  end
@@ -3,7 +3,6 @@ require 'ipaddr'
3
3
  module ForemanSetup
4
4
  class Provisioner < ApplicationRecord
5
5
  include ::Authorizable
6
- include ::Host::Hostmix
7
6
 
8
7
  before_save :populate_hostgroup
9
8
 
@@ -65,6 +64,7 @@ module ForemanSetup
65
64
  # Ensures our nested hostgroup has as much data as possible
66
65
  def populate_hostgroup
67
66
  return unless hostgroup.present?
67
+
68
68
  hostgroup.architecture_id ||= architecture.id
69
69
  hostgroup.domain_id ||= domain.id
70
70
  hostgroup.operatingsystem_id ||= operatingsystem.id
@@ -26,9 +26,8 @@ foreman-installer \
26
26
  --foreman-proxy-dns-reverse=<%= provisioner.rdns_zone %> \
27
27
  <%= provisioner.dns_forwarders.map { |f| " --foreman-proxy-dns-forwarders=#{f} \\" }.join("\n") %>
28
28
  <% if defined? Katello %>
29
- --foreman-proxy-parent-fqdn=<%= Setting[:foreman_url] %> \
30
- --foreman-proxy-foreman-oauth-key=<%= Setting[:oauth_consumer_key] %> \
31
- --foreman-proxy-foreman-oauth-secret=<%= Setting[:oauth_consumer_secret] %>
29
+ --foreman-proxy-oauth-consumer-key=<%= Setting[:oauth_consumer_key] %> \
30
+ --foreman-proxy-oauth-consumer-secret=<%= Setting[:oauth_consumer_secret] %>
32
31
  <% else %>
33
32
  --foreman-proxy-foreman-base-url=<%= Setting[:foreman_url] %> \
34
33
  --foreman-proxy-oauth-consumer-key=<%= Setting[:oauth_consumer_key] %> \
@@ -50,9 +49,8 @@ foreman-installer \
50
49
  --foreman-proxy-dns-reverse=<%= provisioner.rdns_zone %> \
51
50
  <%= provisioner.dns_forwarders.map { |f| " --foreman-proxy-dns-forwarders=#{f} \\" }.join("\n") %>
52
51
  <% if defined? Katello %>
53
- --foreman-proxy-parent-fqdn=<%= Setting[:foreman_url] %> \
54
- --foreman-proxy-foreman-oauth-key=<%= Setting[:oauth_consumer_key] %> \
55
- --foreman-proxy-foreman-oauth-secret=<%= Setting[:oauth_consumer_secret] %>
52
+ --foreman-proxy-oauth-consumer-key=<%= Setting[:oauth_consumer_key] %> \
53
+ --foreman-proxy-oauth-consumer-secret=<%= Setting[:oauth_consumer_secret] %>
56
54
  <% else %>
57
55
  --foreman-proxy-foreman-base-url=<%= Setting[:foreman_url] %> \
58
56
  --foreman-proxy-oauth-consumer-key=<%= Setting[:oauth_consumer_key] %> \
@@ -16,7 +16,7 @@ module ForemanSetup
16
16
 
17
17
  initializer 'foreman_setup.register_plugin', :before => :finisher_hook do |app|
18
18
  Foreman::Plugin.register :foreman_setup do
19
- requires_foreman '>= 1.17.0'
19
+ requires_foreman '>= 3.2'
20
20
 
21
21
  menu :top_menu, :provisioners, :url_hash => {:controller=> :'foreman_setup/provisioners', :action=>:index},
22
22
  :caption=> N_('Provisioning setup'),
@@ -1,3 +1,3 @@
1
1
  module ForemanSetup
2
- VERSION = '6.0.0'
2
+ VERSION = '8.0.1'
3
3
  end
@@ -3,14 +3,15 @@
3
3
  # This file is distributed under the same license as foreman_setup.
4
4
  #
5
5
  # Translators:
6
- # Robert Antoni Buj i Gelonch <rbuj@fedoraproject.org>, 2015
6
+ # Robert Antoni Buj Gelonch <rbuj@fedoraproject.org>, 2017
7
+ # Robert Antoni Buj Gelonch <rbuj@fedoraproject.org>, 2015
7
8
  msgid ""
8
9
  msgstr ""
9
- "Project-Id-Version: foreman_setup 3.0.2\n"
10
+ "Project-Id-Version: foreman_setup 7.0.0\n"
10
11
  "Report-Msgid-Bugs-To: \n"
11
12
  "POT-Creation-Date: 2014-08-20 09:25+0100\n"
12
- "PO-Revision-Date: 2015-12-08 12:35+0000\n"
13
- "Last-Translator: Robert Antoni Buj i Gelonch <rbuj@fedoraproject.org>\n"
13
+ "PO-Revision-Date: 2017-12-12 12:40+0000\n"
14
+ "Last-Translator: Robert Antoni Buj Gelonch <rbuj@fedoraproject.org>\n"
14
15
  "Language-Team: Catalan (http://www.transifex.com/foreman/foreman/language/ca/)\n"
15
16
  "MIME-Version: 1.0\n"
16
17
  "Content-Type: text/plain; charset=UTF-8\n"
@@ -31,7 +32,7 @@ msgid ""
31
32
  "All of the necessary components have been set up for provisioning support. "
32
33
  "You can now provision new hosts by registering them from the Hosts page, "
33
34
  "then PXE-boot the server on the subnet set up earlier."
34
- msgstr "Tots els components necessaris han estat preparats per a la compatibilitat amb l'aprovisionament. Ara podeu aprovisionar els nous amfitrions tot registrant-los a la pàgina «Amfitrions», després arranqueu el servidor per PXE en la subxarxa per configurar-ho més ràpid."
35
+ msgstr "Tots els components necessaris han estat preparats per a la compatibilitat amb l'aprovisionament. Ara podeu aprovisionar els amfitrions nous tot registrant-los a la pàgina «Amfitrions», després arranqueu el servidor per PXE en la subxarxa per configurar-ho més ràpid."
35
36
 
36
37
  msgid ""
37
38
  "All of the necessary network information has been collected, now run the "
@@ -46,10 +47,10 @@ msgid "Compute Resources"
46
47
  msgstr "Recursos computacionals"
47
48
 
48
49
  msgid "Create and provision a new host"
49
- msgstr "Crea i aprovisiona un nou amfitrió"
50
+ msgstr "Crea i aprovisiona un amfitrió nou"
50
51
 
51
52
  msgid "Create new installation medium"
52
- msgstr "Crea un nou mitjà d'instal·lació"
53
+ msgstr "Crea un mitjà d'instal·lació nou"
53
54
 
54
55
  msgid "Delete %s?"
55
56
  msgstr "Voleu suprimir %s?"
@@ -85,7 +86,7 @@ msgid ""
85
86
  "If installation media has already been set up, it can be selected below and "
86
87
  "the wizard will complete the necessary associations. Otherwise use the "
87
88
  "fields below, or the Installation Media page in Foreman to add new media."
88
- msgstr "Si s'ha establert el mitjà d'instal·lació, aquest es pot seleccionar a continuació, i l'assistent completarà les associacions necessàries. En cas contrari, utilitzeu els camps de sota, o la pàgina «Mitjà d'instal·lació» a Foreman per afegir nous mitjans."
89
+ msgstr "Si s'ha establert el mitjà d'instal·lació, aquest es pot seleccionar a continuació, i l'assistent completarà les associacions necessàries. En cas contrari, utilitzeu els camps de sota, o la pàgina «Mitjà d'instal·lació» a Foreman per afegir mitjans nous."
89
90
 
90
91
  msgid "Install provisioning with DHCP"
91
92
  msgstr "Instal·la l'aprovisionament amb DHCP"
@@ -109,7 +110,7 @@ msgid "Network selection"
109
110
  msgstr "Selecció de la xarxa"
110
111
 
111
112
  msgid "New Host"
112
- msgstr "Nou amfitrió"
113
+ msgstr "Amfitrió nou"
113
114
 
114
115
  msgid "Next"
115
116
  msgstr "Següent"
@@ -142,7 +143,7 @@ msgid "Provision from %s"
142
143
  msgstr "Aprovisionament des de %s"
143
144
 
144
145
  msgid "Provisioning Setup"
145
- msgstr "Configuració d'aprovisionament"
146
+ msgstr "Preparació d'aprovisionament"
146
147
 
147
148
  msgid "Provisioning host"
148
149
  msgstr "Amfitrió d'aprovisionament"
@@ -151,16 +152,16 @@ msgid "Provisioning network"
151
152
  msgstr "Xarxa d'aprovisionament"
152
153
 
153
154
  msgid "Provisioning setup"
154
- msgstr "Ajust d'aprovisionament"
155
+ msgstr "Preparació d'aprovisionament"
155
156
 
156
157
  msgid "Provisioning setup complete"
157
- msgstr "S'ha completat la configuració de l'aprovisionament"
158
+ msgstr "S'ha completat la preparació d'aprovisionament"
158
159
 
159
160
  msgid "Red Hat Satellite 5 or Spacewalk"
160
161
  msgstr "Red Hat Satellite 5 o Spacewalk"
161
162
 
162
163
  msgid "Return to the main provisioning setup page"
163
- msgstr "Torna a la pàgina principal de la configuració de l'aprovisionament"
164
+ msgstr "Torna a la pàgina principal de la preparació d'aprovisionament"
164
165
 
165
166
  msgid "Review and edit the host group set up by the provisioning wizard"
166
167
  msgstr "Reviseu i editeu el grup d'amfitrions que s'ha configurat amb l'assistent d'aprovisionament"
@@ -7,10 +7,10 @@
7
7
  # Ettore Atalan <atalanttore@googlemail.com>, 2014
8
8
  msgid ""
9
9
  msgstr ""
10
- "Project-Id-Version: foreman_setup 3.0.2\n"
10
+ "Project-Id-Version: foreman_setup 7.0.0\n"
11
11
  "Report-Msgid-Bugs-To: \n"
12
12
  "POT-Creation-Date: 2014-08-20 09:25+0100\n"
13
- "PO-Revision-Date: 2015-10-08 11:29+0000\n"
13
+ "PO-Revision-Date: 2017-09-20 10:08+0000\n"
14
14
  "Last-Translator: Christina Gurski <Gurski_christina@yahoo.de>\n"
15
15
  "Language-Team: German (http://www.transifex.com/foreman/foreman/language/de/)\n"
16
16
  "MIME-Version: 1.0\n"
@@ -5,7 +5,7 @@
5
5
  #, fuzzy
6
6
  msgid ""
7
7
  msgstr ""
8
- "Project-Id-Version: foreman_setup 3.0.2\n"
8
+ "Project-Id-Version: foreman_setup 7.0.0\n"
9
9
  "Report-Msgid-Bugs-To: \n"
10
10
  "POT-Creation-Date: 2014-08-20 09:25+0100\n"
11
11
  "PO-Revision-Date: 2014-08-20 09:27+0100\n"
@@ -4,13 +4,13 @@
4
4
  #
5
5
  # Translators:
6
6
  # Andi Chandler <andi@gowling.com>, 2015
7
- # Dominic Cleal <dominic@cleal.org>, 2014
7
+ # 0868a4d1af5275b3f70b0a6dac4c99a4, 2014
8
8
  msgid ""
9
9
  msgstr ""
10
- "Project-Id-Version: foreman_setup 3.0.2\n"
10
+ "Project-Id-Version: foreman_setup 7.0.0\n"
11
11
  "Report-Msgid-Bugs-To: \n"
12
12
  "POT-Creation-Date: 2014-08-20 09:25+0100\n"
13
- "PO-Revision-Date: 2015-05-04 01:21+0000\n"
13
+ "PO-Revision-Date: 2017-10-12 21:21+0000\n"
14
14
  "Last-Translator: Andi Chandler <andi@gowling.com>\n"
15
15
  "Language-Team: English (United Kingdom) (http://www.transifex.com/foreman/foreman/language/en_GB/)\n"
16
16
  "MIME-Version: 1.0\n"
@@ -6,11 +6,11 @@
6
6
  # Sergio Ocón <sergio.ocon@redhat.com>, 2014
7
7
  msgid ""
8
8
  msgstr ""
9
- "Project-Id-Version: foreman_setup 3.0.2\n"
9
+ "Project-Id-Version: foreman_setup 7.0.0\n"
10
10
  "Report-Msgid-Bugs-To: \n"
11
11
  "POT-Creation-Date: 2014-08-20 09:25+0100\n"
12
- "PO-Revision-Date: 2015-12-11 18:51+0000\n"
13
- "Last-Translator: Sergio Ocón <sergio.ocon@redhat.com>\n"
12
+ "PO-Revision-Date: 2018-03-27 13:24+0000\n"
13
+ "Last-Translator: Bryan Kearney <bryan.kearney@gmail.com>\n"
14
14
  "Language-Team: Spanish (http://www.transifex.com/foreman/foreman/language/es/)\n"
15
15
  "MIME-Version: 1.0\n"
16
16
  "Content-Type: text/plain; charset=UTF-8\n"
@@ -7,10 +7,10 @@
7
7
  # Pierre-Emmanuel Dutang <dutangp@gmail.com>, 2014
8
8
  msgid ""
9
9
  msgstr ""
10
- "Project-Id-Version: foreman_setup 3.0.2\n"
10
+ "Project-Id-Version: foreman_setup 7.0.0\n"
11
11
  "Report-Msgid-Bugs-To: \n"
12
12
  "POT-Creation-Date: 2014-08-20 09:25+0100\n"
13
- "PO-Revision-Date: 2016-01-04 15:53+0000\n"
13
+ "PO-Revision-Date: 2017-09-20 10:08+0000\n"
14
14
  "Last-Translator: Claer <transiblu@claer.hammock.fr>\n"
15
15
  "Language-Team: French (http://www.transifex.com/foreman/foreman/language/fr/)\n"
16
16
  "MIME-Version: 1.0\n"
@@ -5,7 +5,7 @@
5
5
  # Translators:
6
6
  msgid ""
7
7
  msgstr ""
8
- "Project-Id-Version: foreman_setup 3.0.2\n"
8
+ "Project-Id-Version: foreman_setup 7.0.0\n"
9
9
  "Report-Msgid-Bugs-To: \n"
10
10
  "POT-Creation-Date: 2014-08-20 09:25+0100\n"
11
11
  "PO-Revision-Date: 2014-08-20 08:30+0000\n"
@@ -78,7 +78,7 @@ msgid "Host %s has at least one network interface"
78
78
  msgstr ""
79
79
 
80
80
  msgid "Hostname"
81
- msgstr ""
81
+ msgstr "Nome host"
82
82
 
83
83
  msgid ""
84
84
  "If installation media has already been set up, it can be selected below and "
@@ -111,7 +111,7 @@ msgid "New Host"
111
111
  msgstr "Nuovo Host"
112
112
 
113
113
  msgid "Next"
114
- msgstr ""
114
+ msgstr "Successivo"
115
115
 
116
116
  msgid "Next steps"
117
117
  msgstr ""
@@ -3,14 +3,14 @@
3
3
  # This file is distributed under the same license as foreman_setup.
4
4
  #
5
5
  # Translators:
6
- # Shuji Yamada <uzy.exe@gmail.com>, 2015
6
+ # 山田 修司 🍣 Shuji Yamada <uzy.exe@gmail.com>, 2015
7
7
  msgid ""
8
8
  msgstr ""
9
- "Project-Id-Version: foreman_setup 3.0.2\n"
9
+ "Project-Id-Version: foreman_setup 7.0.0\n"
10
10
  "Report-Msgid-Bugs-To: \n"
11
11
  "POT-Creation-Date: 2014-08-20 09:25+0100\n"
12
- "PO-Revision-Date: 2015-03-25 15:12+0000\n"
13
- "Last-Translator: Shuji Yamada <uzy.exe@gmail.com>\n"
12
+ "PO-Revision-Date: 2018-03-27 14:09+0000\n"
13
+ "Last-Translator: Bryan Kearney <bryan.kearney@gmail.com>\n"
14
14
  "Language-Team: Japanese (http://www.transifex.com/foreman/foreman/language/ja/)\n"
15
15
  "MIME-Version: 1.0\n"
16
16
  "Content-Type: text/plain; charset=UTF-8\n"
@@ -5,11 +5,11 @@
5
5
  # Translators:
6
6
  msgid ""
7
7
  msgstr ""
8
- "Project-Id-Version: foreman_setup 3.0.2\n"
8
+ "Project-Id-Version: foreman_setup 7.0.0\n"
9
9
  "Report-Msgid-Bugs-To: \n"
10
10
  "POT-Creation-Date: 2014-08-20 09:25+0100\n"
11
- "PO-Revision-Date: 2015-01-21 10:56+0000\n"
12
- "Last-Translator: Dominic Cleal <dominic@cleal.org>\n"
11
+ "PO-Revision-Date: 2018-01-05 19:26+0000\n"
12
+ "Last-Translator: 0868a4d1af5275b3f70b0a6dac4c99a4\n"
13
13
  "Language-Team: Korean (http://www.transifex.com/foreman/foreman/language/ko/)\n"
14
14
  "MIME-Version: 1.0\n"
15
15
  "Content-Type: text/plain; charset=UTF-8\n"
@@ -78,7 +78,7 @@ msgid "Host %s has at least one network interface"
78
78
  msgstr ""
79
79
 
80
80
  msgid "Hostname"
81
- msgstr ""
81
+ msgstr "호스트 이름 "
82
82
 
83
83
  msgid ""
84
84
  "If installation media has already been set up, it can be selected below and "
@@ -111,7 +111,7 @@ msgid "New Host"
111
111
  msgstr "새 호스트"
112
112
 
113
113
  msgid "Next"
114
- msgstr ""
114
+ msgstr "다음"
115
115
 
116
116
  msgid "Next steps"
117
117
  msgstr ""
@@ -3,15 +3,16 @@
3
3
  # This file is distributed under the same license as foreman_setup.
4
4
  #
5
5
  # Translators:
6
- # luizvasconcelos <luizvasconceloss@yahoo.com.br>, 2015
7
- # Odilhao <odilon.junior93@gmail.com>, 2015
6
+ # Luiz Henrique Vasconcelos <luizvasconceloss@yahoo.com.br>, 2016
7
+ # Luiz Henrique Vasconcelos <luizvasconceloss@yahoo.com.br>, 2015
8
+ # Odilon Junior <odilon.junior93@gmail.com>, 2015
8
9
  msgid ""
9
10
  msgstr ""
10
- "Project-Id-Version: foreman_setup 3.0.2\n"
11
+ "Project-Id-Version: foreman_setup 7.0.0\n"
11
12
  "Report-Msgid-Bugs-To: \n"
12
13
  "POT-Creation-Date: 2014-08-20 09:25+0100\n"
13
- "PO-Revision-Date: 2015-10-08 11:29+0000\n"
14
- "Last-Translator: Odilhao <odilon.junior93@gmail.com>\n"
14
+ "PO-Revision-Date: 2019-03-18 15:24+0000\n"
15
+ "Last-Translator: Bryan Kearney <bryan.kearney@gmail.com>\n"
15
16
  "Language-Team: Portuguese (Brazil) (http://www.transifex.com/foreman/foreman/language/pt_BR/)\n"
16
17
  "MIME-Version: 1.0\n"
17
18
  "Content-Type: text/plain; charset=UTF-8\n"
@@ -41,7 +42,7 @@ msgid ""
41
42
  msgstr ""
42
43
 
43
44
  msgid "Completion"
44
- msgstr ""
45
+ msgstr "Conclusão"
45
46
 
46
47
  msgid "Compute Resources"
47
48
  msgstr "Recursos de computação"
@@ -80,7 +81,7 @@ msgid "Host %s has at least one network interface"
80
81
  msgstr ""
81
82
 
82
83
  msgid "Hostname"
83
- msgstr ""
84
+ msgstr "Nome de máquina"
84
85
 
85
86
  msgid ""
86
87
  "If installation media has already been set up, it can be selected below and "
@@ -6,10 +6,10 @@
6
6
  # Vladimir Pavlov <v.pavlov@i-teco.ru>, 2015
7
7
  msgid ""
8
8
  msgstr ""
9
- "Project-Id-Version: foreman_setup 3.0.2\n"
9
+ "Project-Id-Version: foreman_setup 7.0.0\n"
10
10
  "Report-Msgid-Bugs-To: \n"
11
11
  "POT-Creation-Date: 2014-08-20 09:25+0100\n"
12
- "PO-Revision-Date: 2015-07-03 10:51+0000\n"
12
+ "PO-Revision-Date: 2017-12-01 20:58+0000\n"
13
13
  "Last-Translator: Vladimir Pavlov <v.pavlov@i-teco.ru>\n"
14
14
  "Language-Team: Russian (http://www.transifex.com/foreman/foreman/language/ru/)\n"
15
15
  "MIME-Version: 1.0\n"
@@ -6,10 +6,10 @@
6
6
  # johnny.westerlund <johnny.westerlund@gmail.com>, 2014
7
7
  msgid ""
8
8
  msgstr ""
9
- "Project-Id-Version: foreman_setup 3.0.2\n"
9
+ "Project-Id-Version: foreman_setup 7.0.0\n"
10
10
  "Report-Msgid-Bugs-To: \n"
11
11
  "POT-Creation-Date: 2014-08-20 09:25+0100\n"
12
- "PO-Revision-Date: 2015-01-21 10:56+0000\n"
12
+ "PO-Revision-Date: 2017-09-20 10:08+0000\n"
13
13
  "Last-Translator: johnny.westerlund <johnny.westerlund@gmail.com>\n"
14
14
  "Language-Team: Swedish (Sweden) (http://www.transifex.com/foreman/foreman/language/sv_SE/)\n"
15
15
  "MIME-Version: 1.0\n"
@@ -3,13 +3,14 @@
3
3
  # This file is distributed under the same license as foreman_setup.
4
4
  #
5
5
  # Translators:
6
+ # Xingchao Yu <yuxcer@gmail.com>, 2017
6
7
  msgid ""
7
8
  msgstr ""
8
- "Project-Id-Version: foreman_setup 3.0.2\n"
9
+ "Project-Id-Version: foreman_setup 7.0.0\n"
9
10
  "Report-Msgid-Bugs-To: \n"
10
11
  "POT-Creation-Date: 2014-08-20 09:25+0100\n"
11
- "PO-Revision-Date: 2014-08-20 08:30+0000\n"
12
- "Last-Translator: Dominic Cleal <dcleal@redhat.com>\n"
12
+ "PO-Revision-Date: 2017-12-01 20:58+0000\n"
13
+ "Last-Translator: Xingchao Yu <yuxcer@gmail.com>\n"
13
14
  "Language-Team: Chinese (China) (http://www.transifex.com/foreman/foreman/language/zh_CN/)\n"
14
15
  "MIME-Version: 1.0\n"
15
16
  "Content-Type: text/plain; charset=UTF-8\n"
@@ -60,7 +61,7 @@ msgid "Domain|Name"
60
61
  msgstr "名称"
61
62
 
62
63
  msgid "Edit Host Group"
63
- msgstr ""
64
+ msgstr "编辑主机组"
64
65
 
65
66
  msgid "Existing medium"
66
67
  msgstr ""
@@ -78,7 +79,7 @@ msgid "Host %s has at least one network interface"
78
79
  msgstr ""
79
80
 
80
81
  msgid "Hostname"
81
- msgstr ""
82
+ msgstr "主机名"
82
83
 
83
84
  msgid ""
84
85
  "If installation media has already been set up, it can be selected below and "
@@ -102,7 +103,7 @@ msgid "Missing registered smart proxy %s, please ensure it is registered"
102
103
  msgstr ""
103
104
 
104
105
  msgid "Network config"
105
- msgstr ""
106
+ msgstr "网络配置"
106
107
 
107
108
  msgid "Network selection"
108
109
  msgstr ""
@@ -111,10 +112,10 @@ msgid "New Host"
111
112
  msgstr "新建主机"
112
113
 
113
114
  msgid "Next"
114
- msgstr ""
115
+ msgstr "下一项"
115
116
 
116
117
  msgid "Next steps"
117
- msgstr ""
118
+ msgstr "下一步"
118
119
 
119
120
  msgid "No network interfaces listed in $interfaces fact"
120
121
  msgstr ""
@@ -5,11 +5,11 @@
5
5
  # Translators:
6
6
  msgid ""
7
7
  msgstr ""
8
- "Project-Id-Version: foreman_setup 3.0.2\n"
8
+ "Project-Id-Version: foreman_setup 7.0.0\n"
9
9
  "Report-Msgid-Bugs-To: \n"
10
10
  "POT-Creation-Date: 2014-08-20 09:25+0100\n"
11
- "PO-Revision-Date: 2014-08-20 08:30+0000\n"
12
- "Last-Translator: Dominic Cleal <dcleal@redhat.com>\n"
11
+ "PO-Revision-Date: 2018-03-27 15:20+0000\n"
12
+ "Last-Translator: Bryan Kearney <bryan.kearney@gmail.com>\n"
13
13
  "Language-Team: Chinese (Taiwan) (http://www.transifex.com/foreman/foreman/language/zh_TW/)\n"
14
14
  "MIME-Version: 1.0\n"
15
15
  "Content-Type: text/plain; charset=UTF-8\n"
@@ -78,7 +78,7 @@ msgid "Host %s has at least one network interface"
78
78
  msgstr ""
79
79
 
80
80
  msgid "Hostname"
81
- msgstr ""
81
+ msgstr "主機名稱"
82
82
 
83
83
  msgid ""
84
84
  "If installation media has already been set up, it can be selected below and "
@@ -111,7 +111,7 @@ msgid "New Host"
111
111
  msgstr "新增主機"
112
112
 
113
113
  msgid "Next"
114
- msgstr ""
114
+ msgstr "下一個"
115
115
 
116
116
  msgid "Next steps"
117
117
  msgstr ""
@@ -1,13 +1,13 @@
1
1
  FactoryBot.define do
2
2
  factory :setup_provisioner, :class => ForemanSetup::Provisioner do
3
3
  host do
4
- association :host, :with_puppet_orchestration, :domain => FactoryBot.create(:domain)
4
+ association :host, :managed, :domain => FactoryBot.create(:domain)
5
5
  end
6
6
  smart_proxy { association :smart_proxy, :url => "https://#{host.name}:8443" }
7
7
 
8
8
  # After step1, interface selection
9
9
  trait :step1 do
10
- provision_interface 'eth0'
10
+ provision_interface { 'eth0' }
11
11
  after(:create) do |prov, evaluator|
12
12
  fact = FactoryBot.create(:fact_name, :name => "ipaddress_#{prov.provision_interface}")
13
13
  FactoryBot.create(:fact_value, :fact_name => fact, :host => prov.host, :value => '192.168.1.20')
@@ -2,7 +2,7 @@ require 'test_plugin_helper'
2
2
 
3
3
  class ForemanSetup::ProvisionersControllerTest < ActionController::TestCase
4
4
  test '#index without provisioner' do
5
- get :index, headers: set_session_user
5
+ get :index, session: set_session_user
6
6
  assert_redirected_to new_foreman_setup_provisioner_path
7
7
  end
8
8
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foreman_setup
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.0.0
4
+ version: 8.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dominic Cleal
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-12-26 00:00:00.000000000 Z
11
+ date: 2022-03-22 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Plugin for Foreman that helps set up provisioning.
14
14
  email: dcleal@redhat.com
@@ -81,11 +81,11 @@ files:
81
81
  - test/functional/foreman_setup/provisioners_controller_test.rb
82
82
  - test/test_plugin_helper.rb
83
83
  - test/unit/foreman_setup/provisioner_test.rb
84
- homepage: http://github.com/theforeman/foreman_setup
84
+ homepage: https://github.com/theforeman/foreman_setup
85
85
  licenses:
86
86
  - GPL-3
87
87
  metadata: {}
88
- post_install_message:
88
+ post_install_message:
89
89
  rdoc_options: []
90
90
  require_paths:
91
91
  - lib
@@ -100,9 +100,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
100
100
  - !ruby/object:Gem::Version
101
101
  version: '0'
102
102
  requirements: []
103
- rubyforge_project:
104
- rubygems_version: 2.6.13
105
- signing_key:
103
+ rubygems_version: 3.1.6
104
+ signing_key:
106
105
  specification_version: 4
107
106
  summary: Helps set up Foreman for provisioning
108
107
  test_files: []