Re: [Puppet Users] Parameters to Puppet Task

2020-06-30 Thread Martin Alfke
Hi Valayil, You seem to miss loading the stdin json in your task: https://puppet.com/docs/bolt/latest/writing_tasks.html#no-op-task-example #!/usr/bin/env python import json import sys params = json.load(sys.stdin)

[Puppet Users] Re: Docker compatible for Cent OS 8.1

2020-06-30 Thread Vinay Korrapati
Hi Team, Can someone suggest on the query. i would like to install the docker on Cent OS 8.1 through puppet. As per the https://forge.puppet.com/puppetlabs/docker its

[Puppet Users] Re: Parameters to Puppet Task

2020-06-30 Thread Valayil Abraham
Never mind, I solved it. Just had to do a string conversion ie. str(params['date']) On Monday, June 29, 2020 at 8:58:29 PM UTC-4, Valayil Abraham wrote: > > I have a python task in Puppet. Passing a parameter into the task. Need to > check the parameter in the code. > This what the code check

Re: [Puppet Users] Re: Docker compatible for Cent OS 8.1

2020-06-30 Thread Bram Vogelaar
i believe this might be due to docker not really being supported on rhel/centos8 =>http://crunchtools.com/why-no-docker/ On Tue, 30 Jun 2020 at 14:05, Vinay Korrapati wrote: > Hi Team, > > Can someone suggest on the query. > > i would like to install the docker on Cent OS 8.1 through puppet.