You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bigtop.apache.org by "Luca Toscano (Jira)" <ji...@apache.org> on 2021/03/11 15:46:00 UTC

[jira] [Created] (BIGTOP-3525) Remove puppet warnings from Docker provisioner runs

Luca Toscano created BIGTOP-3525:
------------------------------------

             Summary: Remove puppet warnings from Docker provisioner runs
                 Key: BIGTOP-3525
                 URL: https://issues.apache.org/jira/browse/BIGTOP-3525
             Project: Bigtop
          Issue Type: Improvement
            Reporter: Luca Toscano


When running the docker provisioner there are some warnings from puppet:

 {code}
Warning: The function 'hiera' is deprecated in favor of using 'lookup'.
 See [https://puppet.com/docs/puppet/5.5/deprecated_language.html]

Warning: /etc/puppet/hiera.yaml: Use of 'hiera.yaml' version 3 is deprecated. It should be converted to version 5
 (file: /etc/puppet/hiera.yaml)
Warning: Undefined variable 'hadoop_hiera_ha_path'; \n (file & line not available)
Warning: This method is deprecated, please use match expressions with Stdlib::Compat::Bool instead. They are described at https://docs.puppet.com/puppet/latest/reference/lang_data_type.html#match-expressions. at ["/bigtop-home/bigtop-deploy/puppet/manifests/site.pp", 27]:
 (location: /usr/share/puppet/modules/stdlib/lib/puppet/functions/deprecation.rb:28:in `deprecation')
Warning: This method is deprecated, please use match expressions with Stdlib::Compat::Array instead. They are described at https://docs.puppet.com/puppet/latest/reference/lang_data_type.html#match-expressions. at ["/bigtop-home/bigtop-deploy/puppet/manifests/cluster.pp", 238]:["/bigtop-home/bigtop-deploy/puppet/manifests/site.pp", 34]
 (location: /usr/share/puppet/modules/stdlib/lib/puppet/functions/deprecation.rb:28:in `deprecation')

 {code}

I know that we need to keep compatibility with older OSes running puppet 3, but maybe we Bigtop 3.x we could think about moving the bar to puppet 5?



--
This message was sent by Atlassian Jira
(v8.3.4#803005)