----- Original Message ----- > From: "Ewoud Kohl van Wijngaarden" <[email protected]> > To: [email protected] > Sent: Tuesday, January 10, 2017 12:14:18 PM > Subject: Re: [foreman-dev] setting up rex w/ katello dev forklift > > On Tue, Jan 10, 2017 at 11:50:04AM -0500, Tom McKay wrote: > > I'm trying to figure out the steps to get rex working with a dev forklift. > > Here's what I have so far... > > > > vagrant up devbox > > sshfs mount in git checkout, which includes rex plugin > > rake katello:reset > > hammer csv smart-proxies to add back smart proxy on 9090 > > rake db:seed > > rake db:migrate > > yum install rubygem-smart_proxy_remote_execution_ssh > > mkdir ~foreman-proxy/.ssh chown foreman-proxy ~foreman-proxy/.ssh sudo -u > > foreman-proxy ssh-keygen -f ~foreman-proxy/.ssh/id_rsa_foreman_proxy -N '' > > systemctl restart foreman-proxy.service > > > > I was hoping that the foreman-installer would have the necessary flags to > > just make it work but I see no remote-execution flags at all in > > foreman-installer --help > > > > Does anyone have a forklift playbook that wires all this up correctly? > > Looks like the katello scenario does expose it: > > https://github.com/Katello/katello-installer/blob/9d08de2589d7a3c01f9965fa0aaf5f86be992b9b/config/katello-answers.yaml#L68 > > But katello-devel doesn't: > > https://github.com/Katello/katello-installer/blob/9d08de2589d7a3c01f9965fa0aaf5f86be992b9b/config/katello-devel-answers.yaml > > For for me worked was: > > echo ' foreman::plugin::remote_execution: false' >> > /etc/foreman-installer/scenarios.d/katello-devel-answers.yaml > > Then the option should become visible, but maybe the options aren't in > the parser cache because I don't see those. >
I answered already on IRC, but this isn't going to work. If you have a dev environment, it's the same process to install any Foreman plugin, check out the source and add it to your bundler.d. http://projects.theforeman.org/projects/foreman/wiki/How_to_Create_a_Plugin#Installing-the-plugin The installer can automate some of this for the dev environment but I haven't tried this feature. Look for "extra-plugins" in the help: https://github.com/Katello/puppet-katello_devel/blob/master/manifests/init.pp#L65 - Stephen -- You received this message because you are subscribed to the Google Groups "foreman-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
