Skip to content

Instantly share code, notes, and snippets.

@fsteinel
Created August 30, 2026 11:12
Show Gist options
  • Select an option

  • Save fsteinel/de2fbaec0af17a4dcbbf65c0a8d9aeda to your computer and use it in GitHub Desktop.

Select an option

Save fsteinel/de2fbaec0af17a4dcbbf65c0a8d9aeda to your computer and use it in GitHub Desktop.
fsteinel/ffnord-puppet-gateway - github action - Puppet / Static validations failed
2s
Run bundle exec rake validate lint check
ruby -c lib/puppet/parser/functions/ip_address.rb
Syntax OK
ruby -c lib/puppet/parser/functions/ip_netmask.rb
Syntax OK
ruby -c lib/puppet/parser/functions/ip_prefix.rb
Syntax OK
ruby -c lib/puppet/parser/functions/ip_prefixlen.rb
Syntax OK
---> syntax:manifests
Could not parse for environment *root*: Unacceptable name. The name 'ffnord::batman-adv' is unacceptable as the name of a 'define' expression (file: /home/runner/work/ffnord-puppet-gateway/ffnord-puppet-gateway/manifests/batman-adv.pp, line: 1, column: 1)
Could not parse for environment *root*: Unacceptable name. The name 'ffnord::resources::batman-adv' is unacceptable as the name of a Host Class Definition (file: /home/runner/work/ffnord-puppet-gateway/ffnord-puppet-gateway/manifests/resources/batman-adv.pp, line: 1, column: 1)
Could not parse for environment *root*: The parameter $name redefines a built in parameter in the Host Class Definition (file: /home/runner/work/ffnord-puppet-gateway/ffnord-puppet-gateway/manifests/vpn.pp, line: 77, column: 3)
Error: Process completed with exit code 1.
@fsteinel

Copy link
Copy Markdown
Author

@fsteinel

Copy link
Copy Markdown
Author
Could not parse for environment *root*: Unacceptable name. The name 'ffnord::batman-adv' is unacceptable as the name of a 'define' expression (file: /home/runner/work/ffnord-puppet-gateway/ffnord-puppet-gateway/manifests/batman-adv.pp, line: 1, column: 1)
Could not parse for environment *root*: Unacceptable name. The name 'ffnord::resources::batman-adv' is unacceptable as the name of a Host Class Definition (file: /home/runner/work/ffnord-puppet-gateway/ffnord-puppet-gateway/manifests/resources/batman-adv.pp, line: 1, column: 1)

maybe source In Puppet 6 we're going to start requiring that the names of classes/defines match the name that's implied by their file path

@fsteinel

fsteinel commented Aug 30, 2026 •

Copy link
Copy Markdown
Author

<Martin Alfke> the minus sign is not acceptable within a parameter or class or defined type name. use underscore instead.

@fsteinel

Copy link
Copy Markdown
Author
Could not parse for environment *root*: The parameter $name redefines a built in parameter in the Host Class Definition (file: /home/runner/work/ffnord-puppet-gateway/ffnord-puppet-gateway/manifests/vpn.pp, line: 77, column: 3)

<Martin Alfke> and name is a reserved word. see https://docs.openvoxproject.org/openvox/8.x/lang_reserved.html

@fsteinel

fsteinel commented Aug 30, 2026 •

Copy link
Copy Markdown
Author

New status:

manifests/alfred.pp:5:arrow_alignment:WARNING:indentation of => is not properly aligned (expected in column 14, but found it in column 12)

fixed in manifest/alfred.pp

@fsteinel

fsteinel commented Aug 30, 2026 •

Copy link
Copy Markdown
Author

New error:

manifests/batman-adv.pp:1:autoloader_layout:ERROR:ffnord::batman_adv not in autoload module layout

Error: ffnord::batman_adv not in autoload module layout (check: autoloader_layout)

Maybe see https://docs.openvoxproject.org/openvox/8.x/lang_namespaces.html#autoloader-behavior

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment