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

_active_mounts_openbsd: unbreak output for special filesystems #34057

Merged
merged 1 commit into from
Jun 16, 2016
Merged

_active_mounts_openbsd: unbreak output for special filesystems #34057

merged 1 commit into from
Jun 16, 2016

Conversation

ajacoutot
Copy link
Contributor

What does this PR do?

mount(8) output is a little bit different on OpenBSD between local and special
or remote filesystems (e.g. tmpfs or nfs). These do not use a UUID nor a device.
This PR fixes mount.active.

What issues does this PR fix or reference?

#34012

Previous Behavior

salt-call -l debug --local mount.active

File "/usr/local/lib/python2.7/site-packages/salt/modules/mount.py", line 156, in _active_mounts_openbsd
'opts': _resolve_user_group_names(parens[1].split(", "))}
IndexError: list index out of range

New Behavior

Output is properly displayed for local, remote and special FS.

mount(8) output is a little bit different on OpenBSD between local and special
or remote filesystems (e.g. tmpfs or nfs). These do not use a UUID nor a device.

#34012
@rallytime
Copy link
Contributor

Thank you for fixing this @ajacoutot!

@rallytime rallytime merged commit afd7836 into saltstack:develop Jun 16, 2016
@rallytime rallytime added the bugfix-bckport will be be back-ported to an older release branch by creating a PR against that branch label Jun 16, 2016
gitebra pushed a commit to gitebra/salt that referenced this pull request Jun 16, 2016
* upstream/develop: (42 commits)
  Typo fix (saltstack#34066)
  states.disk: rewrite unit tests
  states.disk.status: validate percent values
  states.disk: add documentation
  _active_mounts_openbsd: unbreak output for special filesystems (saltstack#34057)
  Use the develop version of the disk state
  fix saltstack#34038 (saltstack#34042)
  Merge pull request saltstack#34025 from rallytime/merge-2016.3
  Update saltmod tests to use master __opts__
  Documentation to describe orchestration support for masterless minions
  Support `salt.state` orchestration formats on masterless minions
  Import the orchestrate runner as an execution module function
  Updated latest release to 2016.3.1 Clean up installation instructions code-block type updates Add link to jinja tutorial
  fix launch config creation params (saltstack#34014)
  Always make chanes to minion config if set (saltstack#34021)
  `states.postgres_privileges` expects a real list, not a comma-separated string for `privileges`
  one clause to set OS grain from CPE_NAME
  fix redis_return's clean_old_jobs.
  Adds new Understanding Jinja topic, and fixes several Jinja doc issues. Removes the "Full list of builtin ..." from each module reference list, leaving just the module type for scanability.
  Call `sys.exit()` instead of `exit()`
  ...
@rallytime rallytime added ZZZ[Done]-back-ported-bf RETIRED The pull request has been back-ported to an older branch. and removed bugfix-bckport will be be back-ported to an older release branch by creating a PR against that branch labels Jun 20, 2016
cachedout pushed a commit that referenced this pull request Jun 21, 2016
@ajacoutot ajacoutot deleted the openbsd-mount branch July 10, 2016 08:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ZZZ[Done]-back-ported-bf RETIRED The pull request has been back-ported to an older branch.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants