staypuft 0.1.2 → 0.1.3

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
2
  SHA1:
3
- metadata.gz: f7301b7c1b7e335012bb653557cc106401da6e95
4
- data.tar.gz: 0e5ac0bfec56e7b0be15f10cda44741a8d82bb8e
3
+ metadata.gz: 0299f2c0c0f5688c0888e4922af7b801fc25acb1
4
+ data.tar.gz: 09e4b6abd6aaa3baff6686ce5db178894da200c7
5
5
  SHA512:
6
- metadata.gz: 2df14ce916c35710c5fe4f19325657b844acda5bfb04d228a3d86f23f8537a5133db056b23513d2eef5a4156955d035c1964a9362fc65978f4f96ad9c5a9173f
7
- data.tar.gz: 981de075c91c95cb49b24aed5aee084625af26e93e1bdcc815fde64601a2927a1e0b9b131580cb42d54f6d71f8c676ef128e08affaddfedd794918d4d5855b58
6
+ metadata.gz: 46eb5d18b1961d13a84cf31a05dad134bb965eb9dcde61a6337a728d8ace30ca74a79bcc24a6345e4dd83b635b5cfc8a7f5a4825a5e37cc101ce5d889bc44452
7
+ data.tar.gz: d4fbc9a6f3aae0d03486439fa1c62eefb3f9e09a135f6b0bd2ae2636d38d1e7e33994cc5eeafcb126931128524438a9b224cc32da15642d99caa6e114e193961
@@ -130,7 +130,7 @@ module Staypuft
130
130
 
131
131
  interface = hosts_facts.
132
132
  includes(:fact_name).
133
- where(value: discovery_bootif.value).
133
+ where(value: [discovery_bootif.value.upcase, discovery_bootif.value.downcase]).
134
134
  find { |v| v.fact_name.name =~ /^macaddress_.*$/ }.
135
135
  fact_name.name.split('_').last
136
136
 
@@ -25,6 +25,7 @@ module Actions
25
25
  host = ::Host.find(input[:host_id])
26
26
  # return back to hostgroup's environment
27
27
  host.environment = nil
28
+ host.expire_token
28
29
  host.set_token
29
30
  host.save!
30
31
  host.send :setTFTP
@@ -22,7 +22,7 @@
22
22
  :rel => 'popover',
23
23
  :data => { 'content' => "#{render partial: 'import_form'}",
24
24
  'original-title' => _('Import Config'),
25
- 'placement' => 'left', } }) %>
25
+ 'placement' => 'left'} }) %>
26
26
  </li>
27
27
  <li>
28
28
  <%= link_to(icon_text("cloud-download", _("Export")),
@@ -1,3 +1,3 @@
1
1
  module Staypuft
2
- VERSION = '0.1.2'
2
+ VERSION = '0.1.3'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: staypuft
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Staypuft team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-06-13 00:00:00.000000000 Z
11
+ date: 2014-06-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: foreman-tasks