satelliteqe / katello-rapidnode Goto Github PK
View Code? Open in Web Editor NEWScript to configure and populate any number of capsules for a sat6/katello/foreman instance.
Script to configure and populate any number of capsules for a sat6/katello/foreman instance.
Capsule is will soon be installed differently, and thus rapidnode will need to be updated with these considerations in mind.
@elyezer's changes here provide some background.
Right now rapidnode accepts content view as input. It makes more sense for rapidnode to accept an activation key. Change the input parameter from content view to activation key.
I: 23, 0: Locally disabling W0621 (locally-disabled)
I: 99, 0: Locally disabling C0301 (locally-disabled)
I:186, 0: Locally disabling W0632 (locally-disabled)
I:284, 0: Locally disabling R0914 (locally-disabled)
Installation using organization
, environment
and content view
always leads to fail, as after registering the system, Capsule and Satellite tools repositories are disabled by default, causing yum -y install capsule-installer
to fail.
subscription-manager repos --enable rhel-6-server-satellite-*-6.1-rpms
to the script in case the AK is not usedAssuming everyone will use 'admin' is a poor assumption. We'll need to modify the code (and the sample ini) to support something other than 'admin'.
Presently, after installing/configuring a capsule, we go ahead and try to add environments and subsequently sync all capsules. While this doesn't/shouldn't cause any real harm (existing environments are rejected by validation), it could conceivably be problematic/slow if you had, say, 20 capsules already, each with 5 environments already.
Should probably just find a way to simply execute environment additions and syncs against capsules created this session.
It's probably easy storing the ID of each capsule, as you create it, and piping the env create/sync logic through that.
rapidnode currently has zero error checking, it will continue to go its happy way if stuff doesn't work. For example, if you've not got your repos set up right, it will try to create envs and sync even if capsule installer never gets installed.
At a minimum
Eventual nice to haves:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.