Issue #4745 has been updated by Gary Larizza.
Status changed from Accepted to Closed
Assignee set to Gary Larizza
Tried this again using Puppet version 2.7.7 with the following:
<pre>
▷ sudo puppet resource mount -d
Password:
debug: Failed to load library 'selinux' for feature 'selinux'
debug: Puppet::Type::Mount::ProviderParsed: Executing '/sbin/mount'
mount { '/':
ensure => 'ghost',
target => '/etc/fstab',
}
mount { '/dev':
ensure => 'ghost',
target => '/etc/fstab',
}
mount { '/home':
ensure => 'ghost',
target => '/etc/fstab',
}
mount { '/mnt/puppet':
ensure => 'unmounted',
device => '//gary@faro/Public',
dump => '0',
fstype => 'smbfs',
options => 'automounted',
pass => '0',
target => '/etc/fstab',
}
mount { '/net':
ensure => 'ghost',
target => '/etc/fstab',
}
</pre>
And targeting a specific mount:
<pre>
▷ sudo puppet resource mount /dev -d
debug: Failed to load library 'selinux' for feature 'selinux'
debug: Puppet::Type::Mount::ProviderParsed: Executing '/sbin/mount'
mount { '/dev':
ensure => 'ghost',
target => '/etc/fstab',
}
</pre>
This appears to be fixed in 2.7, but I'm unsure of when in the course of
development it was changed.
----------------------------------------
Bug #4745: 'ralsh mount /foo' fails in master on OS X
https://projects.puppetlabs.com/issues/4745
Author: Luke Kanies
Status: Closed
Priority: Normal
Assignee: Gary Larizza
Category: mount
Target version:
Affected Puppet version: development
Keywords:
Branch:
Based on the failure, I think it'll fail everywhere else, too. Here's the set
of commands and what happened:
<pre>
luke@localhost $ ralsh mount /dev
mount { '':
ensure => 'absent'
}
[master ~/puppet]
luke@localhost $ ralsh mount /home
mount { '':
ensure => 'absent'
}
[master ~/puppet]
luke@localhost $ ralsh mount /dev/disk0s2
mount { '':
ensure => 'absent'
}
[master ~/puppet]
luke@localhost $ ralsh mount /
Could not run: Title or name must be provided
[master ~/puppet]
luke@localhost $
</pre>
--
You have received this notification because you have either subscribed to it,
or are involved in it.
To change your notification preferences, please click here:
http://projects.puppetlabs.com/my/account
--
You received this message because you are subscribed to the Google Groups
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-bugs?hl=en.