Skip to content

Commit 2954bae

Browse files
committed
instructions for restoring the answers file to default
1 parent ee78279 commit 2954bae

1 file changed

Lines changed: 20 additions & 7 deletions

File tree

openvox/install.md

Lines changed: 20 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ Then manually install the `oauth` gem into OpenVox's gempath.
8989
9090
And finally, use [Foreman's Quickstart Guide](https://theforeman.org/manuals/3.15/quickstart_guide.html) to install Foreman.
9191
92-
#### Using the `foreman-foreman` module
92+
#### Using the `theforeman-foreman` module
9393
9494
1. Ensure that OpenVox is installed, then follow the instructions in the [Managing OpenVox with OpenVox](#managing-openvox-with-openvox) sections to configure Hiera properly.
9595
1. Add `theforeman-foreman` to your `Puppetfile` and deploy it.
@@ -99,15 +99,28 @@ And finally, use [Foreman's Quickstart Guide](https://theforeman.org/manuals/3.1
9999
100100
If you're already running Foreman and you want to switch it to be backed by OpenVox then you have a little bit of housekeeping to do first.
101101
First, use your system package manager to remove the `puppet-agent-oauth` package.
102-
If you use the `foreman-installer` to manage and upgrade your setup, then ensure that you remove the cached scenario file, or it will continue to use old package names.
103-
104-
```
105-
# rm /etc/foreman-installer/scenarios.d/last_scenario.yaml
106-
```
102+
If you use the `foreman-installer` to manage and upgrade your setup, then ensure that you restore the cached answers file to the default values, or it will continue to use old paths.
103+
104+
<details class="card" >
105+
<summary class="card-header">Debian Family</summary>
106+
<pre><code># rm /etc/foreman-installer/scenarios.d/foreman-answers.yaml
107+
# apt install --reinstall -o Dpkg::Options::="--force-confmiss" foreman-installer</code></pre>
108+
</details>
109+
<details class="card" >
110+
<summary class="card-header">RedHat Family</summary>
111+
<pre><code># rm /etc/foreman-installer/scenarios.d/foreman-answers.yaml
112+
# yum reinstall foreman-installer</code></pre>
113+
</details>
114+
<details class="card" >
115+
<summary class="card-header">Others</summary>
116+
<pre><code># curl https://raw.githubusercontent.com/theforeman/foreman-installer/refs/heads/develop/config/foreman-answers.yaml \
117+
-o /etc/foreman-installer/scenarios.d/foreman-answers.yaml</code></pre>
118+
</details>
107119
108120
If you're porting from system installed Puppet, then you may have to purge package configuration or remove legacy directory structures.
109-
Ensure that the `aio_agent_version` fact returns the appropriate version before continuing.
121+
For example, you might `rm -rf /etc/puppet`
110122
123+
Ensure that the `aio_agent_version` fact returns the appropriate version before continuing.
111124
Then follow the [installation instructions](#installing-foreman-with-openvox) above to update your infrastructure.
112125
113126

0 commit comments

Comments
 (0)