Skip to content

Commit

Permalink
update branding
Browse files Browse the repository at this point in the history
  • Loading branch information
evgeni committed May 20, 2021
1 parent 0888ff3 commit ac3ba24
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -138,15 +138,15 @@ vendor:
python vendor.py build/apypie-git/apypie/*.py > plugins/module_utils/_apypie.py

branding:
sed -i 's/theforeman\.foreman/redhat.satellite/g' plugins/*/*.py tests/inventory/*.foreman.yml tests/test_module_state.py tests/test_playbooks/*.yml changelogs/config.yaml changelogs/changelog.yaml CHANGELOG.rst roles/*/README.md roles/*/*/*.yml docs/cvmanager.md
sed -i 's/theforeman\.foreman/redhat.satellite/g' plugins/*/*.py tests/inventory/*.foreman.yml tests/test_module_state.py tests/test_playbooks/*.yml changelogs/config.yaml changelogs/changelog.yaml CHANGELOG.rst roles/*/README.md roles/*/*/*.yml docs/cvmanager.md tests/test_playbooks/fixtures/*.yml
sed -i 's/foreman.example.com/satellite.example.com/g' plugins/*/*.py docs/cvmanager.md roles/*/README.md roles/*/*/*.yml
sed -i 's#theforeman/foreman-ansible-modules#RedHatSatellite/satellite-ansible-collection#g' .github/workflows/*.yml
sed -i 's/theforeman-foreman/redhat-satellite/g' .github/workflows/*.yml
sed -i 's/Foreman Ansible Modules/Red Hat Satellite Ansible Collection/g' docs/index.rst docs/conf.py docs/cvmanager.md
sed -i 's/The Foreman Project/Red Hat, Inc./g' docs/conf.py
sed -i '/FOREMAN_\w/ s/FOREMAN_/SATELLITE_/g' plugins/doc_fragments/foreman.py plugins/module_utils/foreman_helper.py Makefile
sed -i '/foreman_\w/ s/foreman_/satellite_/g' roles/*/README.md roles/*/*/*.yml
sed -i '/foreman_\w.*:/ s/foreman_/satellite_/g' tests/test_playbooks/*_role.yml
sed -i '/foreman_\w.*:/ s/foreman_/satellite_/g' tests/test_playbooks/*_role.yml docs/cvmanager.md
rm -rf tests/test_playbooks/scc_* tests/test_playbooks/tasks/scc_* tests/test_playbooks/fixtures/scc_* plugins/modules/scc_*.py tests/fixtures/apidoc/scc_*.json
rm -rf tests/test_playbooks/snapshot* tests/test_playbooks/tasks/snapshot* tests/test_playbooks/fixtures/snapshot* plugins/modules/snapshot.py tests/fixtures/apidoc/snapshot.json

Expand Down
10 changes: 5 additions & 5 deletions docs/cvmanager.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ To ease cleanup of old Content Views, we ship the `content_view_version_cleanup`
roles:
- role: redhat.satellite.content_view_version_cleanup
vars:
foreman_server_url: https://satellite.example.com
foreman_username: "admin"
foreman_password: "changeme"
foreman_organization: "Default Organization"
foreman_content_view_version_cleanup_keep: 10
satellite_server_url: https://satellite.example.com
satellite_username: "admin"
satellite_password: "changeme"
satellite_organization: "Default Organization"
satellite_content_view_version_cleanup_keep: 10
```
## Automated Updates
Expand Down
4 changes: 2 additions & 2 deletions tests/test_playbooks/fixtures/content_rhel_role-9.yml
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ interactions:
message: OK
- request:
body: '{"organization_id": 3, "name": "basic_rhel_key", "description": "Generated
by ansible role theforeman.foreman.content_rhel", "environment_id": 2, "content_view_id":
by ansible role redhat.satellite.content_rhel", "environment_id": 2, "content_view_id":
2}'
headers:
Accept:
Expand All @@ -320,7 +320,7 @@ interactions:
response:
body:
string: ' {"service_level":null,"content_overrides":[],"id":1,"name":"basic_rhel_key","description":"Generated
by ansible role theforeman.foreman.content_rhel","unlimited_hosts":true,"auto_attach":true,"content_view_id":2,"environment_id":2,"usage_count":0,"user_id":4,"max_hosts":null,"release_version":null,"purpose_usage":null,"purpose_role":null,"organization_id":3,"organization":{"name":"Test
by ansible role redhat.satellite.content_rhel","unlimited_hosts":true,"auto_attach":true,"content_view_id":2,"environment_id":2,"usage_count":0,"user_id":4,"max_hosts":null,"release_version":null,"purpose_usage":null,"purpose_role":null,"organization_id":3,"organization":{"name":"Test
Organization","label":"Test_Organization","id":3},"created_at":"2021-03-18
16:17:02 UTC","updated_at":"2021-03-18 16:17:03 UTC","content_view":{"id":2,"name":"Default
Organization View"},"environment":{"name":"Library","id":2},"products":[],"host_collections":[],"purpose_addons":[],"permissions":{"view_activation_keys":true,"edit_activation_keys":true,"destroy_activation_keys":true}}
Expand Down

0 comments on commit ac3ba24

Please sign in to comment.