-
Creates a cvv
-
Creates a cv history
-
Fetches the source repositories belonging to the content view
-
Actions::Katello::ContentView::AddToEnvironment
-
Adds cvv to the library environment
-
-
Actions::Katello::ContentViewVersion::CreateRepos
-
Creates the repositories in the cvv
-
Provides a repository mapping
-
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/env python | |
import json | |
import requests | |
import sys | |
from requests.auth import HTTPBasicAuth | |
from pprint import pprint | |
def fetch_metadata(fl): | |
with open(fl, "r") as content: | |
data = json.load(content) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/env python | |
import json | |
import requests | |
import sys | |
from requests.auth import HTTPBasicAuth | |
from pprint import pprint | |
def fetch_metadata(fl): | |
with open(fl, "r") as content: | |
data = json.load(content) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
shopt -s expand_aliases | |
set -e | |
set -x | |
EXPORT_ORG="export-$RANDOM" | |
PRODUCT="prod" | |
REPO1="katello" | |
REPO1_URL="https://fedorapeople.org/groups/katello/releases/yum/3.8/katello/el7/x86_64/" | |
REPO2="misc" | |
REPO2_URL="https://partha.fedorapeople.org/test-repos/pteradactly-with-dino-errata/" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
shopt -s expand_aliases | |
set -e | |
set -x | |
IMPORT_ORG="import-$RANDOM" | |
PRODUCT="prod" | |
REPO1="katello" | |
REPO2="misc" | |
CONTENT_VIEW="view" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT | |
HOSTS.ID AS T0_R0 | |
, HOSTS.NAME AS T0_R1 | |
, HOSTS.LAST_COMPILE AS T0_R2 | |
, HOSTS.LAST_REPORT AS T0_R3 | |
, HOSTS.UPDATED_AT AS T0_R4 | |
, HOSTS.CREATED_AT AS T0_R5 | |
, HOSTS.ROOT_PASS AS T0_R6 | |
, HOSTS.ARCHITECTURE_ID AS T0_R7 | |
, HOSTS.OPERATINGSYSTEM_ID AS T0_R8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# vagrant ssh into the dev station | |
$ vagrant ssh <machine> | |
#get the ip addr | |
$ ip addr | |
#get the host name | |
$ hostname |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Definition for singly-linked list. | |
class ListNode | |
attr_accessor :val, :next | |
def initialize(val = 0, _next = nil) | |
@val = val | |
@next = _next | |
end | |
end | |
# @param {ListNode} l1 | |
# @param {ListNode} l2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def possible_tour_point(gas_stations): | |
for i in range(len(gas_stations)): | |
if check_tour(gas_stations, i): | |
return i | |
return -1 | |
def check_tour(gas_stations, start_index): | |
liters_in_tank = 0 | |
visited = [] | |
index = start_index |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/ansible/configs/satellite-vm/pre_software.yml b/ansible/configs/satellite-vm/pre_software.yml | |
index f32b9ba9..7447fd05 100644 | |
--- a/ansible/configs/satellite-vm/pre_software.yml | |
+++ b/ansible/configs/satellite-vm/pre_software.yml | |
@@ -50,9 +50,9 @@ | |
vars: | |
rhel_repos: "{{ rhel7_repos + satellite_repos }}" | |
repo_method: "{{ satellite_host_repo_method }}" | |
- satellite_org: "{{ satellite_host_repo_registration.org }}" | |
- satellite_activationkey: "{{ satellite_host_repo_registration.activationkey }}" |