Jira (PUP-8106) "mount" type should autorequire its mountpoint

1 view
Skip to first unread message

Johnson Earls (JIRA)

unread,
Oct 31, 2017, 12:23:03 AM10/31/17
to puppe...@googlegroups.com
Johnson Earls created an issue
 
Puppet / New Feature PUP-8106
"mount" type should autorequire its mountpoint
Issue Type: New Feature New Feature
Affects Versions: PUP 5.3.2
Assignee: Unassigned
Components: Types and Providers
Created: 2017/10/30 9:22 PM
Priority: Normal Normal
Reporter: Johnson Earls

The mount type should autorequire a File resource for its mountpoint.

    mount { '/usr/local/foo':
        ensure => mounted,
        ...
    }
    file { '/usr/local/foo':
        ensure => directory,
    }

This will try to mount /usr/local/foo before creating it.

I've got a mountpoint being created in one component and the nfs share being mounted from another component. So my profile has to know the details of the components to know that it has to create the ordering relationship. This should be automatic.

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.0.2#70111-sha1:88534db)
Atlassian logo

Johnson Earls (JIRA)

unread,
Oct 31, 2017, 1:21:03 AM10/31/17
to puppe...@googlegroups.com
Johnson Earls commented on New Feature PUP-8106
 
Re: "mount" type should autorequire its mountpoint

I'm attempting a PR for this. Given how little I know about the autorequires stuff, I hope it ends up correct.

Johnson Earls (JIRA)

unread,
Oct 31, 2017, 7:56:03 AM10/31/17
to puppe...@googlegroups.com

Craig Gomes (JIRA)

unread,
Nov 6, 2017, 5:13:02 PM11/6/17
to puppe...@googlegroups.com
Craig Gomes updated an issue
 
Change By: Craig Gomes
Sprint: Platform Core Hopper

Craig Gomes (JIRA)

unread,
Nov 6, 2017, 5:13:02 PM11/6/17
to puppe...@googlegroups.com
Craig Gomes updated an issue
Change By: Craig Gomes
Team: Platform Core

Melissa Stone (JIRA)

unread,
Dec 13, 2017, 12:57:03 PM12/13/17
to puppe...@googlegroups.com

Melissa Stone (JIRA)

unread,
Dec 13, 2017, 12:57:04 PM12/13/17
to puppe...@googlegroups.com
Melissa Stone updated an issue
Change By: Melissa Stone
Sub-team: Coremunity
Sprint: Platform Core  Hopper  KANBAN

Josh Cooper (JIRA)

unread,
Dec 18, 2017, 12:46:05 PM12/18/17
to puppe...@googlegroups.com
Josh Cooper assigned an issue to Kris Bosland
Change By: Josh Cooper
Assignee: Kris Bosland

Kris Bosland (JIRA)

unread,
Dec 18, 2017, 7:00:28 PM12/18/17
to puppe...@googlegroups.com

Melissa Stone (JIRA)

unread,
Dec 18, 2017, 7:24:05 PM12/18/17
to puppe...@googlegroups.com
Melissa Stone updated an issue
Change By: Melissa Stone
Fix Version/s: PUP 5.4.0

Melissa Stone (JIRA)

unread,
Dec 18, 2017, 7:30:03 PM12/18/17
to puppe...@googlegroups.com
Melissa Stone updated an issue
Change By: Melissa Stone
Release Notes Summary: The mount resource now auto requires the file resource that is its mountpoint.
Release Notes: New Feature

Melissa Stone (JIRA)

unread,
Feb 6, 2018, 2:45:02 PM2/6/18
to puppe...@googlegroups.com
Melissa Stone commented on New Feature PUP-8106
 
Re: "mount" type should autorequire its mountpoint

I've opened https://github.com/puppetlabs/puppet/pull/6607 to revert this change. It seems it reintroduces a bug fixed by https://tickets.puppetlabs.com/browse/PUP-6397 where the auorequire in mount will cause dependency loops.

This message was sent by Atlassian JIRA (v7.5.1#75006-sha1:7df2574)
Atlassian logo

Melissa Stone (JIRA)

unread,
Feb 6, 2018, 2:46:02 PM2/6/18
to puppe...@googlegroups.com
Melissa Stone updated an issue
Change By: Melissa Stone
Fix Version/s: PUP 5.4.0

John Duarte (JIRA)

unread,
Oct 21, 2019, 11:01:05 AM10/21/19
to puppe...@googlegroups.com
John Duarte updated an issue
Change By: John Duarte
QA Risk Assessment: Needs Assessment No Action
This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages