View gist:1ee3fed95e0cd0e20311d95f2fd81bc6
Future Prophecies | September
Dj Marky & Xrs Land | LK
Makoto | Inside Your Love
Tommy Knocker | Roule
Makoto | You Make Me Feel
60 Minute | Light Me Up
Habitat | Contact Lost (Unreleased)
John B | Brain Drain
Konflict | Roadblock (Matrix remix)
Sonic & Silver | Rocket Launcher
View gist:fb6ad4f8a832967f81c8aa7c5e086cc0
John B – Simulated Sax
Tommy Knocker – Merlin
John B – Jazz Session 2
Danny C & Addiction – Feel It
John B – Mercury Skies
High Contrast – Return Of Fever
Calibre – Second Sun
London Electricity – Vapour Trail
Logistics - Life Rhythm
London Electricity – Power Balance
View gist:43436fe37461ee06574bb61a0477263d
DiscoveredHostsTest::Multiple host Reboot#test_0001_triggers reboot on all discovered_hosts:
NoMethodError: undefined method `zero?' for nil:NilClass
test/integration_test_helper.rb:99:in `block in wait_for_ajax'
test/integration_test_helper.rb:98:in `wait_for_ajax'
/home/lzap/work/foreman_discovery/test/integration/discovered_hosts_test.rb:26:in `block (2 levels) in <class:DiscoveredHostsTest>'
View gist:3e35cdadc2c3e53c2149ad44619e6e64
[root@qe-testing-rhel7 ~]# echo "log mandatory on 30seconds mmv" | /usr/bin/pmlc -P -Dpdu,indom
[28125]pmGetPDU: ERROR fd=3 len=16 from=30118
000: 10 7000 75a6 2000000
[28125]pmXmitPDU: CREDS fd=3 len=20
000: 14 700c 6ddd 1000000 201
Connected to primary pmlogger at local:
pmlc: sending version 2 status request
_pmSendRequest: sending PDU (type=33554432, version=2)
[28125]pmXmitPDU: LOG_REQUEST fd=3 len=16
000: 10 8002 0 2000000
View example_log.json
{
"logger":"app",
"timestamp":"2018-02-06T13:20:08.450080+01:00",
"level":"INFO",
"message":" Rendering api/v2/bookmarks/index.json.rabl within api/v2/layouts/index_layout",
"mdc":{
"remote_ip":"127.0.0.1",
"request":"57e3c0cb-2cc3-40af-875d-eeb58dcdb547",
"session":"a352ac3a-079b-4a99-9b76-c51fd8984d4a",
"user_login":"admin",
View migration.patch
diff --git a/db/migrate/20170112175131_migrate_template_to_parameters_macros.rb b/db/migrate/20170112175131_migrate_template_to_parameters_macros.rb
index 48e542146..126b7bb98 100644
--- a/db/migrate/20170112175131_migrate_template_to_parameters_macros.rb
+++ b/db/migrate/20170112175131_migrate_template_to_parameters_macros.rb
@@ -45,6 +45,7 @@ class MigrateTemplateToParametersMacros < ActiveRecord::Migration[4.2]
end
def convert(content)
+ return nil if content.nil?
content = content.gsub(/@host\.param_true\?\((.*?)\)/, 'host_param_true?(\1)')
View pmdastatsite.py
#!/usr/bin/env pmpython
#
# Copyright (c) 2013, 2018 Red Hat.
#
# This program is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the
# Free Software Foundation; either version 2 of the License, or (at your
# option) any later version.
#
# This program is distributed in the hope that it will be useful, but
View gist:3e477f50dcde8f9a228b088d23542d0b
Project is running at http://localhost:3808/
webpack output is served from /webpack/
=> Booting WEBrick
=> Rails 5.1.4 application starting in development on http://0.0.0.0:3000
=> Run `rails server -h` for more startup options
tel|I Registering counter fm_rails_ruby_gc_count labels [:controller, :action]
tel|I Registering counter fm_rails_ruby_gc_major_count labels [:controller, :action]
tel|I Registering counter fm_rails_ruby_gc_minor_count labels [:controller, :action]
tel|I Registering counter fm_rails_ruby_gc_allocated_objects labels [:controller, :action]
tel|I Registering counter fm_rails_ruby_gc_freed_objects labels [:controller, :action]
View gist:3326ccf8a43d8281b3d7d9747365a6ed
diff --git a/lib/foreman_discovery/engine.rb b/lib/foreman_discovery/engine.rb
index 274241b..1f9a64b 100644
--- a/lib/foreman_discovery/engine.rb
+++ b/lib/foreman_discovery/engine.rb
@@ -55,7 +55,7 @@ module ForemanDiscovery
:"api/v2/discovered_hosts" => [:facts, :create]
}, :resource_type => 'Host'
permission :auto_provision_discovered_hosts, {
- :discovered_hosts => [:auto_provision, :multiple_auto_provision],
+ :discovered_hosts => [:auto_provision, :multiple_auto_provision, :submit_multiple_auto_provision],
View test.patch
diff --git a/app/models/host/base.rb b/app/models/host/base.rb
index fb33eee46..3a08ec7ee 100644
--- a/app/models/host/base.rb
+++ b/app/models/host/base.rb
@@ -154,6 +154,8 @@ module Host
time = time.to_time if time.is_a?(String)
self.last_compile = time if time
+ set_taxonomies(facts)
+