Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
update the README file due to `script` deprecation. The `args` replace the `script`
  • Loading branch information
kis87988 authored Jul 18, 2024
1 parent 0429e74 commit 48392c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ configure a health check to monitor its availability.
consul::service { 'redis':
checks => [
{
script => '/usr/local/bin/check_redis.py',
args => ['/usr/local/bin/check_redis.py'],
interval => '10s'
},
],
Expand Down Expand Up @@ -241,7 +241,7 @@ it easy to declare in hiera.
```puppet
consul::check { 'true_check':
interval => '30s',
script => '/bin/true',
args => ['/bin/true'],
}
```

Expand Down

0 comments on commit 48392c0

Please sign in to comment.