This write-up will detail the process of creating an organization, product, sync plan and repository on Katello Using foreman hammer-cli. After it that has been setup we will point our server to the new repository. The repository we will sync with is the publicly available RHEL 5 OralceASM repository. Step 1: Create an Organization The…
Create an Organization, Sync Plan, Product and Repository on Katello Using foreman hammer-cli
hammer sync-plan create Cheat Sheet
This write-up details the process of using the hammer sync-plan create command to create sync plans. Help: hammer sync-plan create
1 2 |
hammer sync-plan create --help |
Example Output
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
Usage: hammer sync-plan create [OPTIONS] Options: --description DESCRIPTION sync plan description --enabled ENABLED enables or disables synchronization One of true/false, yes/no, 1/0. --interval INTERVAL how often synchronization should run Possible value(s): 'hourly', 'daily', 'weekly' --name NAME sync plan name --organization ORGANIZATION_NAME Organization name to search by --organization-id ORGANIZATION_ID organization ID --organization-label ORGANIZATION_LABEL Organization label to search by --sync-date SYNC_DATE start date and time of the synchronization defaults to now Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format -h, --help print help |
Example: hammer sync-plan create In this example I use hammer sync-plan create to create a sync plan called Daily.Sync.Plan that starts on 2016-10-01 and will run daily at 01:00:00. in my…
-
Recent Posts
Categories
- Audit
- Backups
- Clustering
- Development
- FreeBSD
- FreeIPA
- GlusterFS
- Guru Labs
- IPV6
- Katello
- Linux
- Linux
- Linux
- Logical Volume Manager
- mysql
- Networking
- Pacemaker
- Performance Monitoring
- Red Hat Enterprise Linux
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Satellite Server 6
- Red Hat Summit
- Security
- Shell Scripting
- Solaris
- Storage Management
- Training
- Troubleshooting
- Uncategorized
- VAS/QAS Administration
- VERITAS Cluster Server
- VERITAS InfoScale
- VERITAS NetBackup
Tags
agent backup centos 6 cluster clusvcadm cman df fence fencing filesystem find fstype gl236 glusterfs guru labs hammer-cli hardening HP ILO infoscale oracle ownership pacemaker pcp pcs permissions pmcd QAS red hat 6 resource resources rgmanager rhel rhel 6 rhel 7 scripting security ssh storage sync-plan tarsnap training VAS vcs veritas