Skip to content

Commit

Permalink
also brand doc examples
Browse files Browse the repository at this point in the history
  • Loading branch information
evgeni committed Jun 30, 2020
1 parent bfc11e3 commit b2a5d2b
Show file tree
Hide file tree
Showing 47 changed files with 133 additions and 132 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ doc: $(MANIFEST)

branding:
sed -i 's/theforeman\.foreman/redhat.satellite/g' plugins/*/*.py tests/inventory/tests.foreman.yml tests/test_module_state.py tests/test_playbooks/*.yml
sed -i 's/foreman.example.com/satellite.example.com/g' plugins/*/*.py

FORCE:

Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/activation_key.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@
activation_key:
username: "admin"
password: "changeme"
server_url: "https://foreman.example.com"
server_url: "https://satellite.example.com"
name: "Clients"
organization: "Default Organization"
lifecycle_environment: "Library"
Expand Down
6 changes: 3 additions & 3 deletions plugins/modules/architecture.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
operatingsystems:
- "TestOS1"
- "TestOS2"
server_url: "https://foreman.example.com"
server_url: "https://satellite.example.com"
username: "admin"
password: "secret"
state: present
Expand All @@ -63,15 +63,15 @@
operatingsystems:
- "TestOS3"
- "TestOS4"
server_url: "https://foreman.example.com"
server_url: "https://satellite.example.com"
username: "admin"
password: "secret"
state: present
- name: "Delete an Architecture"
architecture:
name: "i386"
server_url: "https://foreman.example.com"
server_url: "https://satellite.example.com"
username: "admin"
password: "secret"
state: absent
Expand Down
4 changes: 2 additions & 2 deletions plugins/modules/auth_source_ldap.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@
auth_source_ldap:
name: "Example LDAP"
host: "ldap.example.org"
server_url: "https://foreman.example.com"
server_url: "https://satellite.example.com"
locations:
- "Uppsala"
organizations:
Expand All @@ -148,7 +148,7 @@
attr_lastname: sn
attr_mail: mail
attr_photo: jpegPhoto
server_url: "https://foreman.example.com"
server_url: "https://satellite.example.com"
username: "admin"
password: "secret"
state: present
Expand Down
6 changes: 3 additions & 3 deletions plugins/modules/bookmark.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
bookmark:
username: "admin"
password: "changeme"
server_url: "https://foreman.example.com"
server_url: "https://satellite.example.com"
name: "recent"
controller: "job_invocations"
query: "started_at > '24 hours ago'"
Expand All @@ -69,7 +69,7 @@
bookmark:
username: "admin"
password: "changeme"
server_url: "https://foreman.example.com"
server_url: "https://satellite.example.com"
name: "recent"
controller: "job_invocations"
query: "started_at > '12 hours ago'"
Expand All @@ -79,7 +79,7 @@
bookmark:
username: "admin"
password: "changeme"
server_url: "https://foreman.example.com"
server_url: "https://satellite.example.com"
name: "recent"
controller: "job_invocations"
state: absent
Expand Down
4 changes: 2 additions & 2 deletions plugins/modules/compute_attribute.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
compute_attribute:
username: "admin"
password: "changeme"
server_url: "https://foreman.example.com"
server_url: "https://satellite.example.com"
compute_profile: "Test Compute Profile"
compute_resource: "Test Compute Resource"
vm_attrs:
Expand All @@ -68,7 +68,7 @@
compute_attribute:
username: "admin"
password: "changeme"
server_url: "https://foreman.example.com"
server_url: "https://satellite.example.com"
compute_profile: "Test Compute Profile"
compute_resource: "Test Compute Resource"
vm_attrs:
Expand Down
8 changes: 4 additions & 4 deletions plugins/modules/compute_profile.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
- name: compute profile
compute_profile:
name: example_compute_profile
server_url: "https://foreman.example.com"
server_url: "https://satellite.example.com"
username: admin
password: secret
state: present
Expand All @@ -77,7 +77,7 @@
cluster: 'a96d44a4-f14a-1015-82c6-f80354acdf01'
template: 'c88af4b7-a24a-453b-9ac2-bc647ca2ef99'
instance_type: 'cb8927e7-a404-40fb-a6c1-06cbfc92e077'
server_url: "https://foreman.example.com"
server_url: "https://satellite.example.com"
username: admin
password: secret
state: present
Expand Down Expand Up @@ -121,15 +121,15 @@
capacity: 16G
allocation: 16G
format_type: raw
server_url: "https://foreman.example.com"
server_url: "https://satellite.example.com"
username: admin
password: secret
state: present
- name: Remove compute profile
compute_profile:
name: example_compute_profile2
server_url: "https://foreman.example.com"
server_url: "https://satellite.example.com"
username: admin
password: secret
state: absent
Expand Down
18 changes: 9 additions & 9 deletions plugins/modules/compute_resource.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@
provider_params:
url: libvirt.example.com
display_type: vnc
server_url: "https://foreman.example.com"
server_url: "https://satellite.example.com"
username: admin
password: secret
state: present
Expand All @@ -150,15 +150,15 @@
provider_params:
url: libvirt.example.com
display_type: vnc
server_url: "https://foreman.example.com"
server_url: "https://satellite.example.com"
username: admin
password: secret
state: present
- name: Delete libvirt compute resource
compute_resource:
name: example_compute_resource
server_url: "https://foreman.example.com"
server_url: "https://satellite.example.com"
username: admin
password: secret
state: absent
Expand All @@ -176,7 +176,7 @@
user: admin
password: secret
datacenter: ax01
server_url: "https://foreman.example.com"
server_url: "https://satellite.example.com"
username: admin
password: secret
state: present
Expand All @@ -196,7 +196,7 @@
datacenter: aa92fb54-0736-4066-8fa8-b8b9e3bd75ac
ovirt_quota: 24868ab9-c2a1-47c3-87e7-706f17d215ac
use_v4: true
server_url: "https://foreman.example.com"
server_url: "https://satellite.example.com"
username: admin
password: secret
state: present
Expand All @@ -214,7 +214,7 @@
user: root@pam
password: secretpassword
ssl_verify_peer: true
server_url: "https://foreman.example.com"
server_url: "https://satellite.example.com"
username: admin
password: secret
state: present
Expand All @@ -232,7 +232,7 @@
user: AWS_ACCESS_KEY
password: AWS_SECRET_KEY
region: eu-west-1
server_url: "https://foreman.example.com"
server_url: "https://satellite.example.com"
username: admin
password: secret
state: present
Expand All @@ -252,7 +252,7 @@
app_ident: CLIENT_ID
password: CLIENT_SECRET
region: westeurope
server_url: "https://foreman.example.com"
server_url: "https://satellite.example.com"
username: admin
password: secret
state: present
Expand All @@ -271,7 +271,7 @@
email: [email protected]
key_path: "/usr/share/foreman/gce_orcharhino_key.json"
zone: europe-west3-b
server_url: "https://foreman.example.com"
server_url: "https://satellite.example.com"
username: admin
password: secret
state: present
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/config_group.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
puppetclasses:
- ntp
- mymodule::myclass
server_url: "https://foreman.example.com"
server_url: "https://satellite.example.com"
username: "admin"
password: "secret"
state: present
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/content_credential.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
content_credential:
username: "admin"
password: "changeme"
server_url: "https://foreman.example.com"
server_url: "https://satellite.example.com"
name: "RPM-GPG-KEY-my-repo"
content_type: gpg_key
organization: "Default Organization"
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/content_upload.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
content_upload:
username: "admin"
password: "changeme"
server_url: "https://foreman.example.com"
server_url: "https://satellite.example.com"
src: "my.rpm"
repository: "Build RPMs"
product: "My Product"
Expand Down
4 changes: 2 additions & 2 deletions plugins/modules/content_view.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
content_view:
username: "admin"
password: "changeme"
server_url: "https://foreman.example.com"
server_url: "https://satellite.example.com"
name: "Fedora CV"
organization: "My Cool new Organization"
repositories:
Expand All @@ -113,7 +113,7 @@
content_view:
username: "admin"
password: "changeme"
server_url: "https://foreman.example.com"
server_url: "https://satellite.example.com"
name: "Fedora CCV"
organization: "My Cool new Organization"
composite: true
Expand Down
4 changes: 2 additions & 2 deletions plugins/modules/content_view_filter.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@
content_view_filter:
username: "admin"
password: "changeme"
server_url: "https://foreman.example.com"
server_url: "https://satellite.example.com"
name: "package filter 1"
organization: "Default Organization"
content_view: Web Servers
Expand All @@ -156,7 +156,7 @@
content_view_filter:
username: "admin"
password: "changeme"
server_url: "https://foreman.example.com"
server_url: "https://satellite.example.com"
name: "package filter 1"
organization: "Default Organization"
content_view: Web Servers
Expand Down
10 changes: 5 additions & 5 deletions plugins/modules/content_view_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
content_view_version:
username: "admin"
password: "changeme"
server_url: "https://foreman.example.com"
server_url: "https://satellite.example.com"
content_view: "CV 1"
organization: "Default Organization"
version: 2.0
Expand All @@ -88,7 +88,7 @@
content_view_version:
username: "admin"
password: "changeme"
server_url: "https://foreman.example.com"
server_url: "https://satellite.example.com"
content_view: "CV 1"
organization: "Default Organization"
current_lifecycle_environment: Test
Expand All @@ -99,15 +99,15 @@
content_view_version:
username: "admin"
password: "changeme"
server_url: "https://foreman.example.com"
server_url: "https://satellite.example.com"
content_view: "CV 1"
organization: "Default Organization"
- name: "Publish a content view and promote that version to Library & Dev, not idempotent"
content_view_version:
username: "admin"
password: "changeme"
server_url: "https://foreman.example.com"
server_url: "https://satellite.example.com"
content_view: "CV 1"
organization: "Default Organization"
lifecycle_environments:
Expand All @@ -118,7 +118,7 @@
content_view_version:
username: "admin"
password: "changeme"
server_url: "https://foreman.example.com"
server_url: "https://satellite.example.com"
content_view: "Web Servers"
organization: "Default Organization"
version: 1.0
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/domain.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
- "Munich"
organizations:
- "ACME"
server_url: "https://foreman.example.com"
server_url: "https://satellite.example.com"
username: "admin"
password: "secret"
state: present
Expand Down
6 changes: 3 additions & 3 deletions plugins/modules/global_parameter.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
global_parameter:
username: "admin"
password: "changeme"
server_url: "https://foreman.example.com"
server_url: "https://satellite.example.com"
name: "TheAnswer"
value: "42"
state: present_with_defaults
Expand All @@ -79,7 +79,7 @@
global_parameter:
username: "admin"
password: "changeme"
server_url: "https://foreman.example.com"
server_url: "https://satellite.example.com"
name: "TheAnswer"
value: "43"
state: present
Expand All @@ -88,7 +88,7 @@
global_parameter:
username: "admin"
password: "changeme"
server_url: "https://foreman.example.com"
server_url: "https://satellite.example.com"
name: "TheAnswer"
state: absent
'''
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/hardware_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
hardware_model:
username: "admin"
password: "changeme"
server_url: "https://foreman.example.com"
server_url: "https://satellite.example.com"
name: "acme laptop"
info: "this is the acme laptop"
state: present
Expand Down
Loading

0 comments on commit b2a5d2b

Please sign in to comment.