https://pulp.plan.io/https://pulp.plan.io/favicon.ico2017-06-26T18:11:14ZPulpPulp - Story #2833: As a user I want to be able to tell pulp where server.yaml file is and not have it be hardcoded to /etc/pulp/https://pulp.plan.io/issues/2833?journal_id=204022017-06-26T18:11:14Zbizhangbizhang@redhat.com
<ul><li><strong>Sprint Candidate</strong> changed from <i>No</i> to <i>Yes</i></li></ul> Pulp - Story #2833: As a user I want to be able to tell pulp where server.yaml file is and not have it be hardcoded to /etc/pulp/https://pulp.plan.io/issues/2833?journal_id=204052017-06-26T18:21:07Zbmbouterbmbouter@redhat.com
<ul></ul><p>If the environment variable is not set, it will still default to /etc/pulp/server.yaml right? I think most production installations will want it set there.</p>
<p>Does the devel playbook already install the server.yaml file? If so where?</p> Pulp - Story #2833: As a user I want to be able to tell pulp where server.yaml file is and not have it be hardcoded to /etc/pulp/https://pulp.plan.io/issues/2833?journal_id=204082017-06-26T18:32:35Zbmbouterbmbouter@redhat.com
<ul></ul><p>@asmacdo says the devel environment installs it already to /etc/pulp/server.yaml <a href="https://github.com/pulp/devel/blob/a8b9ae7b96321b96750035768c145f85c7fb97ef/ansible/roles/dev/tasks/main.yml#L71-L75" class="external">with this</a></p> Pulp - Story #2833: As a user I want to be able to tell pulp where server.yaml file is and not have it be hardcoded to /etc/pulp/https://pulp.plan.io/issues/2833?journal_id=204112017-06-26T18:58:53Zbizhangbizhang@redhat.com
<ul></ul><p>I was thinking that an environmental variable should be required, rather than us checking to see if the envvar exists and defaulting to a /etc/pulp/server.yaml that might not exist.</p> Pulp - Story #2833: As a user I want to be able to tell pulp where server.yaml file is and not have it be hardcoded to /etc/pulp/https://pulp.plan.io/issues/2833?journal_id=204142017-06-26T19:08:17Zbmbouterbmbouter@redhat.com
<ul></ul><p>The majority of installations will have it installed at /etc/pulp/server.yaml. All rpm based installs for example will have it set there. We should really default to /etc/pulp/server.yaml.</p>
<p>To implement I was thinking we don't even have to check the filesystem at all. We could:</p>
<pre><code>if env_var_for_conf_is_set:
path_to_conf = the_env_set_path
else:
path_to_conf = '/etc/pulp/server.yaml'
</code></pre> Pulp - Story #2833: As a user I want to be able to tell pulp where server.yaml file is and not have it be hardcoded to /etc/pulp/https://pulp.plan.io/issues/2833?journal_id=204172017-06-26T19:32:54Zbmbouterbmbouter@redhat.com
<ul></ul><p>We can handle the default as a separate story also and for now require the environment variable. If we do add a default I want it to be something that is very cross-platform.</p> Pulp - Story #2833: As a user I want to be able to tell pulp where server.yaml file is and not have it be hardcoded to /etc/pulp/https://pulp.plan.io/issues/2833?journal_id=204182017-06-26T19:36:56Zbmbouterbmbouter@redhat.com
<ul><li><strong>Groomed</strong> changed from <i>No</i> to <i>Yes</i></li></ul><p>I think is ready to be groomed.</p> Pulp - Story #2833: As a user I want to be able to tell pulp where server.yaml file is and not have it be hardcoded to /etc/pulp/https://pulp.plan.io/issues/2833?journal_id=204802017-06-29T12:43:57Zmhrivnakmhrivnak@redhat.com
<ul></ul><p>Containerized deployments will mostly use the environment variable, so that's a solid production use case.</p>
<p>I'm still happy with defaulting to /etc/pulp/server.yaml though.</p> Pulp - Story #2833: As a user I want to be able to tell pulp where server.yaml file is and not have it be hardcoded to /etc/pulp/https://pulp.plan.io/issues/2833?journal_id=204822017-06-29T12:50:59Zbmbouterbmbouter@redhat.com
<ul></ul><p>We decided to not set a default for now and to rely on the environment variable in 100% of cases. We can set a default as followup work if we even want to.</p> Pulp - Story #2833: As a user I want to be able to tell pulp where server.yaml file is and not have it be hardcoded to /etc/pulp/https://pulp.plan.io/issues/2833?journal_id=205032017-06-29T14:37:53Zmhrivnakmhrivnak@redhat.com
<ul><li><strong>Sprint/Milestone</strong> set to <i>41</i></li></ul> Pulp - Story #2833: As a user I want to be able to tell pulp where server.yaml file is and not have it be hardcoded to /etc/pulp/https://pulp.plan.io/issues/2833?journal_id=208352017-07-13T18:34:33Zbizhangbizhang@redhat.com
<ul><li><strong>Status</strong> changed from <i>NEW</i> to <i>ASSIGNED</i></li><li><strong>Assignee</strong> set to <i>bizhang</i></li></ul> Pulp - Story #2833: As a user I want to be able to tell pulp where server.yaml file is and not have it be hardcoded to /etc/pulp/https://pulp.plan.io/issues/2833?journal_id=210362017-07-19T20:43:45Zbizhangbizhang@redhat.com
<ul><li><strong>Status</strong> changed from <i>ASSIGNED</i> to <i>POST</i></li></ul><p>PR: <a href="https://github.com/pulp/pulp/pull/3097" class="external">https://github.com/pulp/pulp/pull/3097</a><br>
<a href="https://github.com/pulp/devel/pull/72" class="external">https://github.com/pulp/devel/pull/72</a></p> Pulp - Story #2833: As a user I want to be able to tell pulp where server.yaml file is and not have it be hardcoded to /etc/pulp/https://pulp.plan.io/issues/2833?journal_id=211662017-07-23T21:41:11Zmhrivnakmhrivnak@redhat.com
<ul><li><strong>Sprint/Milestone</strong> changed from <i>41</i> to <i>42</i></li></ul> Pulp - Story #2833: As a user I want to be able to tell pulp where server.yaml file is and not have it be hardcoded to /etc/pulp/https://pulp.plan.io/issues/2833?journal_id=213732017-08-02T19:24:23Zwerwtybihan.zh@gmail.com
<ul><li><strong>Status</strong> changed from <i>POST</i> to <i>MODIFIED</i></li><li><strong>% Done</strong> changed from <i>0</i> to <i>100</i></li></ul><p>Applied in changeset <a class="changeset" title="Allow user to specifiy location of server.yaml with envvar closes #2833 https://pulp.plan.io/iss..." href="https://pulp.plan.io/projects/pulp/repository/pulp/revisions/4809ba93b6ae9d754cc7964f2db3ed75a22c284d">pulp|4809ba93b6ae9d754cc7964f2db3ed75a22c284d</a>.</p> Pulp - Story #2833: As a user I want to be able to tell pulp where server.yaml file is and not have it be hardcoded to /etc/pulp/https://pulp.plan.io/issues/2833?journal_id=261112018-03-08T23:21:14Zbmbouterbmbouter@redhat.com
<ul><li><strong>Sprint</strong> set to <i>Sprint 23</i></li></ul> Pulp - Story #2833: As a user I want to be able to tell pulp where server.yaml file is and not have it be hardcoded to /etc/pulp/https://pulp.plan.io/issues/2833?journal_id=261282018-03-08T23:21:40Zbmbouterbmbouter@redhat.com
<ul><li><strong>Sprint/Milestone</strong> deleted (<del><i>42</i></del>)</li></ul> Pulp - Story #2833: As a user I want to be able to tell pulp where server.yaml file is and not have it be hardcoded to /etc/pulp/https://pulp.plan.io/issues/2833?journal_id=416372019-04-25T16:46:31Zdaviddavis
<ul><li><strong>Sprint/Milestone</strong> set to <i>3.0.0</i></li></ul> Pulp - Story #2833: As a user I want to be able to tell pulp where server.yaml file is and not have it be hardcoded to /etc/pulp/https://pulp.plan.io/issues/2833?journal_id=429272019-04-26T20:38:33Zbmbouterbmbouter@redhat.com
<ul><li><strong>Tags</strong> deleted (<del><i>Pulp 3</i></del>)</li></ul> Pulp - Story #2833: As a user I want to be able to tell pulp where server.yaml file is and not have it be hardcoded to /etc/pulp/https://pulp.plan.io/issues/2833?journal_id=506802019-12-13T17:16:30Zbmbouterbmbouter@redhat.com
<ul><li><strong>Status</strong> changed from <i>MODIFIED</i> to <i>CLOSED - CURRENTRELEASE</i></li></ul>