Shut down foreman-tasks:
service foreman-tasks stop
Open the rails console:
foreman-rake console
base=50000 #port | |
range="192.168.121." | |
contents = <<-EOS | |
Listen %{port} https | |
<VirtualHost *:%{port}> | |
ProxyPass / https://%{ip_address}/ | |
<Location /> | |
ProxyPassReverse https://%{ip_address}/ | |
</Location> |
2015-12-14 05:43:39 [I] Connecting to database specified by database.yml | |
2015-12-14 05:43:50 [D] [1m[36mSetting::General Load (1.6ms)[0m [1mSELECT "settings".* FROM "settings" WHERE "settings"."category" IN ('Setting::General') AND "settings"."name" = 'fix_db_cache' ORDER BY name LIMIT 1[0m | |
2015-12-14 05:43:50 [D] [1m[35mSetting Load (0.6ms)[0m SELECT "settings".* FROM "settings" ORDER BY name LIMIT 1 | |
2015-12-14 05:43:50 [D] [1m[36m (0.1ms)[0m [1mBEGIN[0m | |
2015-12-14 05:43:50 [D] [1m[35mSetting Load (0.3ms)[0m SELECT "settings".* FROM "settings" WHERE "settings"."name" = 'dynflow_allow_dangerous_actions' ORDER BY name LIMIT 1 | |
2015-12-14 05:43:51 [D] [1m[36mSetting Exists (0.6ms)[0m [1mSELECT 1 AS one FROM "settings" WHERE ("settings"."name" = 'dynflow_allow_dangerous_actions' AND "settings"."id" != 2) LIMIT 1[0m | |
2015-12-14 05:43:51 [D] removing dynflow_allow_dangerous_actions from cache | |
2015-12-14 05:43:51 [D] [1m[35mSetting Load (0.4ms)[0m SELECT "settings".* FROM "se |
PATH | |
remote: . | |
specs: | |
katello (2.2.0.77) | |
anemone | |
bastion | |
deface (< 1.0.0) | |
foreman-tasks (~> 0.6.0) | |
foreman_docker (>= 0.2.0) | |
gettext_i18n_rails |
Shut down foreman-tasks:
service foreman-tasks stop
Open the rails console:
foreman-rake console
1. delete my hypervisor and engine VMs from libvirt | |
2. go to Hosts -> Discovered Hosts and delete each host individually | |
* if you get an error about tokens then you need to delete them manually from the DB: | |
* vagrant ssh | |
* sudo -s | |
* sudo -u foreman psql | |
* > delete from tokens; | |
* > \q | |
* repeat step 2, deleting hosts from UI | |
3. go to RHCI Installer -> Deployments, DELETE the deployment |
gsettings set org.pantheon.terminal.settings palette "#000000:#800000:#008000:#808000:#000080:#800080:#008080:#c0c0c0:#808080:#ff0000:#00ff00:#ffff00:#0000ff:#ff00ff:#00ffff:#ffffff" | |
gsettings set org.pantheon.terminal.settings opacity "100" | |
gsettings set org.pantheon.terminal.settings foreground "#ff5f00" | |
gsettings set org.pantheon.terminal.settings font "Ubuntu Mono derivative Powerline 12" | |
diff --git a/lib/pfrpg_rules/lib/pfrpg_rules.rb b/lib/pfrpg_rules/lib/pfrpg_rules.rb | |
index a9ed005..17d0cab 100644 | |
--- a/lib/pfrpg_rules/lib/pfrpg_rules.rb | |
+++ b/lib/pfrpg_rules/lib/pfrpg_rules.rb | |
@@ -1,2 +1,4 @@ | |
+require "pfrpg_rules/tickle" | |
+ | |
module PfrpgRules | |
end |
# download latest libevent2 and tmux sources, and extract them somewhere | |
# | |
# at the time of writing: | |
# https://github.com/downloads/libevent/libevent/libevent-2.0.21-stable.tar.gz | |
# http://downloads.sourceforge.net/project/tmux/tmux/tmux-1.8/tmux-1.8.tar.gz | |
# | |
# install deps | |
sudo yum install gcc kernel-devel make ncurses-devel |
Follow standard Katello development instructions that include installing Katello via RPM and switching to git
Check out the engine branch (if you haven't already)
Clone Foreman beside Katello, such that:
workspace/
worksapce/foreman
workspace/katello
cd foreman
Create local Gemfile - vim bundler.d/katello.local.rb
args << generate_payload(options) if [:post, :put].include?(method) | |
def generate_payload(options) | |
if options[:payload].is_a?(String) | |
return options[:payload] | |
elsif options[:payload].is_a?(Hash) | |
return format_payload(options[:payload]) | |
end | |
end |