Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

inventory_file relational path can break linchpin #617

Closed
abraverm opened this issue Jul 4, 2018 · 2 comments · Fixed by #696
Closed

inventory_file relational path can break linchpin #617

abraverm opened this issue Jul 4, 2018 · 2 comments · Fixed by #696
Assignees

Comments

@abraverm
Copy link
Contributor

abraverm commented Jul 4, 2018

Setting inventory_file with relational path such as beaker.yml will overwrite lincpin file provision/beaker.yml.

Linchpin version: 1.5.4
Example:

---
inventory_layout:
  inventory_file: beaker.yml
  vars:
    hostname: __IP__
    ansible_user: root
  hosts:
    example_shit:
      count: 1
      host_groups:
        - example

Running linchpin up will overwrite ~/.virtualenvs/linchpin/lib/python2.7/site-packages/linchpin/provision/beaker.yml with the result inventory and thus breaking linchpin.

Expected result:
Workspace will be the relational path and ./beaker.yml will be create or modified.

@herlo
Copy link
Contributor

herlo commented Aug 30, 2018

@abraverm can you verify whether this issue still exists with the 1.6.0 release?

@abraverm
Copy link
Contributor Author

Sure, would you like to assign the issue to me?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants