diff --git a/README.md b/README.md index 4dc96dbc..1e2efa97 100644 --- a/README.md +++ b/README.md @@ -340,7 +340,8 @@ Please note that resource name must be same as installed package name. ### Puppet tasks -The module has a puppet task that allows to run `yum update` or `yum upgrade`. +The module has a puppet task that allows to run `yum update` or `yum upgrade`. This task needs puppet agent installed on the remote. + Please refer to the [Bolt documentation](https://puppet.com/docs/bolt/latest/bolt.html) on how to execute a task. ```bash diff --git a/tasks/init.json b/tasks/init.json index 4f86cb0c..70a33716 100644 --- a/tasks/init.json +++ b/tasks/init.json @@ -10,5 +10,11 @@ "description": "Run without output ", "type": "Optional[Boolean]" } - } + }, + "implementations": [ + { + "name": "init.rb", + "requirements": ["puppet-agent"] + } + ] }