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?
Then the option should become visible, but maybe the options aren't in
the parser cache because I don't see those.
···
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?
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.
···
----- Original Message -----
> From: "Ewoud Kohl van Wijngaarden"
> To: foreman-dev@googlegroups.com
> 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.
>
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
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.
> From: "Tom McKay" <thomasmckay@redhat.com>
> To: foreman-dev@googlegroups.com
> Sent: Tuesday, January 10, 2017 1:59:00 PM
> Subject: Re: [foreman-dev] setting up rex w/ katello dev forklift
>
> Yes, I have the rex gem as noted in original post. The missing steps are
> how to configure the smart proxy to have rex available.
>
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
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.
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
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