theforeman / foreman_setup Goto Github PK
View Code? Open in Web Editor NEWPlugin for Foreman that helps set up provisioning
License: GNU General Public License v3.0
Plugin for Foreman that helps set up provisioning
License: GNU General Public License v3.0
The foreman-installer command requires various subnet options, but no extra validation is added to ensure they're entered.
In foreman where can I manually change my IP address? Thanks.
The defacing of the subnet fields partial to remove the domain and proxy association fields affects the normal subnet editing and not just the wizard.
Wrong arguments:
--foreman-proxy-parent-fqdn=
--foreman-proxy-foreman-oauth-key
--foreman-proxy-foreman-oauth-secret
Correct Arguments:
--foreman-proxy-content-parent-fqdn
--foreman-proxy-oauth-consumer-key
--foreman-proxy-oauth-consumer-secret
RPM version: tfm-rubygem-foreman_setup-7.0.0-1.fm1_24.el7.noarch
Thanks
The install media setup page is intended to allow selection between a normal install media URL or a Spacewalk/Sat5 server, then generate the install media URL just based on the Spacewalk hostname.
Installed this plugin under Katello-3.X and it generates the wrong commandline in foreman_setup/app/views/foreman_setup/provisioners/_step3.html.erb
It checks for Katello vs Foreman but Katello switched to foreman-installer instead of katello-installer since version 3.0 or higher (might even be since 2.4, I'm not sure)
When trying to edit a previous provisioning setup the subnet is flagged as already being created. This should ideally look if the subnet is created and and move on to the next screen.
Created from: https://projects.theforeman.org/issues/25176
With foreman_discovery - uses deface 1.0.1
With fog - deface < 1 depends on nokogiri ~> 1.4.3, fog uses 1.6.3.1
The wizard should set up associations required for foreman_bootdisk.
Once you create a provisioning setup, it's impossible to go through the wizard again to setup new networks. In my case I'm setting up a home network and a libvirt network, yet I have to remove the 'setup' object in order to create a new provisioning setup.
Don't only use the provisioner host's domain.
When I ran foreman-installer
Here is the result:
/usr/local/rvm/rubies/ruby-2.1.0/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in require': cannot load such file -- kafo (LoadError) from /usr/local/rvm/rubies/ruby-2.1.0/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in
require'
from /usr/sbin/foreman-installer:5:in `
I got an issue when tring to install the plugin using the deb package (I'm running Debian Wheezy).
I eventually found out that the postinst script logged everything in /var/log/foreman-installer.log so I could identify the issue : the gem has a dependency on deface which needs nokigiri which itself requires libxslt-dev and libxml2-dev to build successfully.
I don't really know if something can be done on the packaging side, but maybe something about this issue could be added to the README ?
It should allow setup or even provisioning of other provisioner hosts.
When using foreman_setup and katello, it produces output for foreman-installer
. Instead, the output should be katello-installer
and options (--foreman-proxy
) should be replaced by --capsule
options.
The installer modules should be imported and then the host's definition updated instead of using a foreman-installer command.
from production.log :
Started POST "/foreman_setup/provisioners/3/step4" for xxx.xxx.xxx.xxx at 2014-02-10 22:30:25 +0100
Processing by ForemanSetup::ProvisionersController#step4 as HTML
Parameters: {"authenticity_token"=>"xxxxxxxxxxxxxxxxxx", "id"=>"3"}
Rendered vendor/ruby/1.9.1/gems/foreman_setup-1.0.4/app/views/foreman_setup/provisioners/_step4.html.erb (64.4ms)
Rendered vendor/ruby/1.9.1/gems/foreman_setup-1.0.4/app/views/foreman_setup/provisioners/step4.html.erb within layouts/application (64.8ms)
Operation FAILED: cannot load such file -- uglifier
Rendered common/500.html.erb within layouts/application (2.6ms)
Rendered layouts/base.html.erb (1.0ms)
Completed 500 Internal Server Error in 569.7ms (Views: 4.5ms | ActiveRecord: 0.0ms)
Hello
Are there any docs how to use this in hiera with foreman?
Actually, I couldn't find any docs whatsoever for this plugin :/
Thanks
Non-admins should be able to set up provisioners.
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.