Hey there all,
I apologize if this is off-topic. If it is, please do let me know where better to ask. I tried joining the puppet-vscode slack but it apparently only works if I have a
puppet.com email address.
I'm on a mac, using Visual Studio Code with the PDK installed via homebrew. The version of puppet-lint included with the PDK runs WAY more tests than any previous version of puppet-lint.
So, here are my questions:
1) Obviously the vscode plugin is running some version of puppet-lint behind the scenes, but it's unclear as to how I can run that manually in a terminal (perhaps with --fix). When I installed pdk, it put it in /opt/puppetlabs/pdk/bin/pdk, but didn't do anything like that for puppet-lint.
2) Is there an easy way to grab those extra tests for a system that doesn't have them? It looks to be like 20 different ruby gems, all dumped into /opt/puppetlabs/pdk/share/cache/ruby/2.5.0/gems
ls |grep lint | grep check
puppet-lint-absolute_classname-check-3.0.1
puppet-lint-anchor-check-1.0.1
puppet-lint-classes_and_types_beginning_with_digits-check-1.0.0
puppet-lint-file_ensure-check-1.0.0
puppet-lint-leading_zero-check-1.0.0
puppet-lint-legacy_facts-check-1.0.4
puppet-lint-lookup_in_parameter-check-1.0.0
puppet-lint-manifest_whitespace-check-0.1.17
puppet-lint-optional_default-check-1.0.0
puppet-lint-params_empty_string-check-1.0.0
puppet-lint-strict_indent-check-2.0.8
puppet-lint-top_scope_facts-check-1.0.1
puppet-lint-topscope-variable-check-1.0.1
puppet-lint-trailing_comma-check-0.4.2
puppet-lint-unquoted_string-check-2.1.0
puppet-lint-version_comparison-check-1.0.0