Bug #3135

darwin doesn't support 'mount -o remount' either.

Added by eric sorenson over 2 years ago. Updated about 2 years ago.

Status:Closed Start date:02/01/2010
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:Darwin
Target version:0.25.5
Affected Puppet version:0.25.4 Branch:
Keywords:
Votes: 1

Description

Patch attached – darwin, like freebsd, errors out when we try to ‘mount -o remount’ a nfs filesystem.

History

Updated by eric sorenson over 2 years ago

diff --git a/lib/puppet/type/mount.rb b/lib/puppet/type/mount.rb
index fb9a9ef..bd94453 100755
--- a/lib/puppet/type/mount.rb
+++ b/lib/puppet/type/mount.rb
@@ -194,6 +194,7 @@ module Puppet
             defaultto do
                 case Facter.value(:operatingsystem)
                 when "FreeBSD"; false
+                when "Darwin"; false
                 else
                     true
                 end
-- 
1.6.5.7

Updated by Markus Roberts over 2 years ago

  • Status changed from Unreviewed to Accepted
  • Target version set to 0.25.5

We should verify that this isn’t version specific or anything, but it looks reasonable.

Updated by eric sorenson over 2 years ago

Markus Roberts wrote:

We should verify that this isn’t version specific or anything, but it looks reasonable.

I’ve now tested it on all the OS X flavors available to me: Tiger, Leopard, Snow Leopard.

A veritable big cat menagerie.

Updated by James Turnbull about 2 years ago

  • Status changed from Accepted to In Topic Branch Pending Review

Updated by James Turnbull about 2 years ago

  • Category set to Darwin
  • Status changed from In Topic Branch Pending Review to Closed

Pushed in commit:b0ef2c6ccb5cfaf4e655135efea0535cca7b3a97 in branch 0.25.x

Also available in: Atom PDF