Skip to content

Commit 7c66f6e

Browse files
authored
Merge pull request #200 from stivesso/patch-2
#puppethack Fix error when creating XFS on top of another Filesystem
2 parents 5e1279b + d439357 commit 7c66f6e

File tree

1 file changed

+1
-1
lines changed
  • lib/puppet/provider/filesystem

1 file changed

+1
-1
lines changed

lib/puppet/provider/filesystem/lvm.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def fstype
2222
end
2323

2424
def mkfs(fs_type, name)
25-
mkfs_params = { "reiserfs" => "-q" }
25+
mkfs_params = { "reiserfs" => "-q" , "xfs" => "-f" }
2626

2727
mkfs_cmd = @resource[:mkfs_cmd] != nil ?
2828
[@resource[:mkfs_cmd]] :

0 commit comments

Comments
 (0)