Puppet module generate seems broken (6.6-current as of today with puppet-5.5.19 
and 6.6-stable).

$ doas puppet module generate --skip-interview test-common
Warning: `puppet module generate` is deprecated and will be removed in a future 
release. This action has been replaced by Puppet Development Kit. For more 
information visit https://puppet.com/docs/pdk/latest/pdk.html.
   (location: 
/usr/local/lib/ruby/site_ruby/2.6/puppet/face/module/generate.rb:142:in 
`generate')

Notice: Generating module at /tmp/common...
Notice: Populating templates...
Error: undefined method `delete' for 
#<JSON::Ext::Generator::State:0x00000770d3d74830>
Error: Try 'puppet help module generate' for usage

The above command creates a "common" dir with broken config files.
Is this a known problem ?

Puppet master is working fine.
 
 Cheers
  Giovanni
 

Reply via email to