Skip to content

Commit b4d8ced

Browse files
committed
automatically answer questions when removing gluster volume
1 parent fdbf65a commit b4d8ced

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

manifests/volume.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@
276276
} else {
277277
# stop and remove volume
278278
exec { "gluster stop and remove ${title}":
279-
command => "${::gluster_binary} volume stop ${title} force && ${::gluster_binary} volume delete ${title}",
279+
command => "/bin/yes | ( ${::gluster_binary} volume stop ${title} force && ${::gluster_binary} volume delete ${title} )",
280280
}
281281
}
282282
}

0 commit comments

Comments
 (0)