foreman_setup 2.0.2 → 2.0.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0bf21d036debd554c2c8517fa5f90702d9c0582c
|
4
|
+
data.tar.gz: 3f22698d58ca143812e14872ab06194e6f98045b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6c2045d0b9e7790f6704437cdfbee16c822951be1cfb670644cc93855e77d2bfdaf63a781ca24d84543d2d3133984fd9406e372c24bc734b573f121dfbd1b647
|
7
|
+
data.tar.gz: d6fd914ffdc7f7686596682f3bcd7999d07b964bd7f201091f67687ac24f84d5e7548109d4bb2b9b960697a4b3f4d52935329811bbea3ac504105eb702e71212
|
data/CHANGES.md
CHANGED
@@ -89,7 +89,7 @@ module ForemanSetup
|
|
89
89
|
|
90
90
|
# Helpful fix to work around #3210
|
91
91
|
url = Setting.find_by_name('foreman_url')
|
92
|
-
url.value ||= Facter.fqdn
|
92
|
+
url.value ||= Facter.value(:fqdn)
|
93
93
|
url.save!
|
94
94
|
|
95
95
|
# Build default PXE menu
|
@@ -195,7 +195,7 @@ module ForemanSetup
|
|
195
195
|
# foreman_setup manages only itself at the moment, so ensure we always have a reference to
|
196
196
|
# the Host and SmartProxy on this server
|
197
197
|
def find_myself
|
198
|
-
fqdn = Facter.fqdn
|
198
|
+
fqdn = Facter.value(:fqdn)
|
199
199
|
@host = Host.find_by_name(fqdn)
|
200
200
|
@proxy = SmartProxy.all.find { |p| URI.parse(p.url).host == fqdn }
|
201
201
|
end
|
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: 2.0.
|
4
|
+
version: 2.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dominic Cleal
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-04-
|
11
|
+
date: 2014-04-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: deface
|