Skip to content

Instantly share code, notes, and snippets.

View daviddavis's full-sized avatar

David Davis daviddavis

View GitHub Profile
---
### File managed with puppet ###
## Module: 'foreman_proxy'
:settings_directory: /etc/foreman-proxy/settings.d
# SSL Setup
# if enabled, all communication would be verified via SSL
# NOTE that both certificates need to be signed by the same CA in order for this to work
2016-01-05 10:07:50 [I] Connecting to database specified by database.yml
2016-01-05 10:08:01 [D] Setting::General Load (1.5ms) SELECT "settings".* FROM "settings" WHERE "settings"."category" IN ('Setting::General') AND "settings"."name" = 'fix_db_cache' ORDER BY name LIMIT 1
2016-01-05 10:08:01 [D] Setting Load (0.6ms) SELECT "settings".* FROM "settings" ORDER BY name LIMIT 1
2016-01-05 10:08:01 [D]  (0.1ms) BEGIN
2016-01-05 10:08:01 [D] Setting Load (0.3ms) SELECT "settings".* FROM "settings" WHERE "settings"."name" = 'discovery_fact' ORDER BY name LIMIT 1
2016-01-05 10:08:02 [D] Setting Exists (0.7ms) SELECT 1 AS one FROM "settings" WHERE ("settings"."name" = 'discovery_fact' AND "settings"."id" != 2) LIMIT 1
2016-01-05 10:08:02 [D] removing discovery_fact from cache
2016-01-05 10:08:02 [D] Setting Load (0.4ms) SELECT "settings".* FROM "settings" WHERE "settings"."name" = 'discovery_auto'
127.0.0.1 sat61devg.example.com sat61devg localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
## vagrant-hostmanager-start
192.168.52.10 sat61devg.example.com
## vagrant-hostmanager-end
#your default puppet server - can be overridden in the host level
#if none specified, plain "puppet" will be used.
#:puppet_server: puppet
:unattended: true
:login: true
:require_ssl: false
:locations_enabled: true
:organizations_enabled: true
# The following values are used for providing default settings during db migrate
@daviddavis
daviddavis / -
Created December 14, 2015 21:22
# =========================
# Pulp Server Configuration
# =========================
# This settings in this file are all commented by default, and the commented settings show the
# default values that Pulp will choose if not specified here.
# -- Common Configuration -----------------------------------------------------
# = Database =
2015-12-14 05:43:39 [I] Connecting to database specified by database.yml
2015-12-14 05:43:50 [D] Setting::General Load (1.6ms) SELECT "settings".* FROM "settings" WHERE "settings"."category" IN ('Setting::General') AND "settings"."name" = 'fix_db_cache' ORDER BY name LIMIT 1
2015-12-14 05:43:50 [D] Setting Load (0.6ms) SELECT "settings".* FROM "settings" ORDER BY name LIMIT 1
2015-12-14 05:43:50 [D]  (0.1ms) BEGIN
2015-12-14 05:43:50 [D] Setting Load (0.3ms) SELECT "settings".* FROM "settings" WHERE "settings"."name" = 'dynflow_allow_dangerous_actions' ORDER BY name LIMIT 1
2015-12-14 05:43:51 [D] Setting Exists (0.6ms) SELECT 1 AS one FROM "settings" WHERE ("settings"."name" = 'dynflow_allow_dangerous_actions' AND "settings"."id" != 2) LIMIT 1
2015-12-14 05:43:51 [D] removing dynflow_allow_dangerous_actions from cache
2015-12-14 05:43:51 [D] Setting Load (0.4ms) 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
Execution of '/bin/yum -d 0 -e 0 -y install mongodb' returned 1: Error downloading packages:
/Stage[main]/Mongodb::Client::Install/Package[mongodb_client]/ensure: change from absent to present failed: Execution of '/bin/yum -d 0 -e 0 -y install mongodb' returned 1: Error downloading packages:
Execution of '/bin/yum -d 0 -e 0 -y install wget' returned 1: Error downloading packages:
/Stage[main]/Candlepin::Install/Package[wget]/ensure: change from absent to present failed: Execution of '/bin/yum -d 0 -e 0 -y install wget' returned 1: Error downloading packages:
Execution of '/bin/yum -d 0 -e 0 -y install katello-certs-tools' returned 1: Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
/Stage[main]/Certs::Install/Package[katello-certs-tools]/ensure: change from absent to present failed: Execution of '/bin/yum -d 0 -e 0 -y install katello-certs-tools' returned 1: Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
Execution of '/bin/yum -d 0 -e 0 -y install bind-utils' return
@daviddavis
daviddavis / ListenOnCandlepin.md
Created November 24, 2015 17:37 — forked from jlsherrill/ListenOnCandlepin.md
clearing ListenOnCandlepin Events

Shut down foreman-tasks:

  service foreman-tasks stop

Open the rails console:

foreman-rake console
@daviddavis
daviddavis / gist:ae014e50d3bab138530b
Last active October 1, 2015 17:11 — forked from jmrodri/gist:437cb71622be36ea3213
Deployment restart procedure
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