Skip to content

Instantly share code, notes, and snippets.

View Ron-Lavi's full-sized avatar

Ron Lavi Ron-Lavi

  • Red Hat Israel
  • Israel
View GitHub Profile
@Ron-Lavi
Ron-Lavi / 6-5_Gemfile.lock
Last active April 19, 2020 16:42
Gemfile.lock
PATH
remote: ../foreman-plugin/redhat-access
specs:
redhat_access (2.2.9)
angular-rails-templates (>= 0.0.4)
redhat_access_lib (>= 1.1.5)
PATH
remote: ../foreman-tasks
specs:
@Ron-Lavi
Ron-Lavi / insight.css
Last active March 19, 2020 13:07
insight.css
:root {
--ins-color--orange: #ec7a08; }
button:focus {
outline: none; }
section.ins-l-content {
padding: var(--pf-global--spacer--lg); }
section.ins-l-button-group {
# User specific aliases and functions
alias start="bundle exec foreman s"
alias railsc="bundle exec rails c"
alias migrate="bundle exec rake db:migrate"
alias seed="bundle exec rake db:seed"
alias rubocop="bundle exec rake foreman_rh_cloud:rubocop"
alias 3808="fuser -k 3808/tcp"
alias 3000="fuser -k 3000/tcp"
alias restart="sudo foreman-maintain service restart"
alias rhpr='function _rhpr(){ cd foreman_rh_cloud; hub pr checkout "$@"; };_rhpr'
ssh root@$(HOST_PATH) 3000:$(IP):443 -L 3808:$(IP):3808
PATH
remote: ../foreman_rh_cloud
specs:
foreman_rh_cloud (0.9.3)
katello
redhat_access
PATH
remote: ../katello
specs:
git clone https://github.com/redhataccess/foreman-plugin.git old_insights
git clone https://github.com/laviro/foreman_rh_cloud.git rh_cloud
echo "gem 'redhat_access', path: '../old_insights/redhat-access'" >> foreman/bundler.d/insights.local.rb
echo "gem 'foreman_rh_cloud', path: '../rh_cloud'" >> foreman/bundler.d/rh_cloud.local.rb
vi old_insights/redhat-access/config/defaults.yml -> set telemetry to true
git remote add gitlab https://gitlab.sat.engineering.redhat.com/satellite6/foreman.git
git remote add gitlab https://gitlab.sat.engineering.redhat.com/satellite6/foreman_ansible.git
git remote add gitlab https://gitlab.sat.engineering.redhat.com/satellite6/foreman_bootdisk.git
git remote add gitlab https://gitlab.sat.engineering.redhat.com/satellite6/foreman_discovery.git
git remote add gitlab https://gitlab.sat.engineering.redhat.com/satellite6/foreman_hooks.git
git remote add gitlab https://gitlab.sat.engineering.redhat.com/satellite6/foreman_openscap.git
git remote add gitlab https://gitlab.sat.engineering.redhat.com/satellite6/foreman_remote_execution.git
git remote add gitlab https://gitlab.sat.engineering.redhat.com/satellite6/foreman-tasks.git
git remote add gitlab https://gitlab.sat.engineering.redhat.com/satellite6/katello.git
yum install psmisc
development:
adapter: postgresql
database: katello
pool: 20
username: katello
password: katello
host: localhost
encoding: UTF8
template: template0
#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