Skip to content
This repository has been archived by the owner on Sep 14, 2024. It is now read-only.

Commit

Permalink
Update indentation and add idempotency to the module
Browse files Browse the repository at this point in the history
  • Loading branch information
Perri Graham committed May 26, 2021
1 parent 5370a3b commit 9186a5f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions manifests/volume.pp
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@
} ->

exec { "EBS volume ${name}: waiting for the volume to be attached":
command => "lsblk -fn ${device_attached}",
tries => 6,
try_sleep => 10,
logoutput => true,
command => "lsblk -fn ${device_attached}",
tries => 6,
try_sleep => 10,
logoutput => true,
refreshonly => true,
subscribe => Exec["EBS volume ${name}: attaching the volume"],
} ->
Expand Down

0 comments on commit 9186a5f

Please sign in to comment.