Error while running puppet agent -t --noop
I have a puppet master and agent connected to each other. The first time I ran the command puppet agent -t --noop on puppet agent. IT threw the below error. Can someone please help?
Error: Could not autoload puppet/provider/exec/windows: can't convert Hash into Integer
Error: Could not autoload puppet/type/exec: Could not autoload puppet/provider/exec/windows: can't convert Hash into Integer
Error: Could not retrieve catalog from remote server: Could not intern from text/pson: Could not autoload puppet/type/exec: Could not autoload puppet/provider/exec/windows: can't convert Hash into Integer
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run
my puppet version is 3.8.2