Skip to content

Commit

Permalink
Add an extra mkfs blocker.
Browse files Browse the repository at this point in the history
  • Loading branch information
James Shubin committed Apr 24, 2014
1 parent b948c83 commit 80c2b13
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions manifests/brick.pp
Expand Up @@ -466,6 +466,7 @@
onlyif => "/usr/bin/test -n '${valid_fsuuid}'",
unless => [ # if one element is true, this *doesn't* run
"/usr/bin/test -e /dev/disk/by-uuid/${valid_fsuuid}",
"/bin/findmnt --output 'TARGET,SOURCE' -t ${valid_fstype} --target '${valid_path}' -n",
'/bin/false', # TODO: add more criteria
],
require => $exec_requires,
Expand Down

0 comments on commit 80c2b13

Please sign in to comment.