Uploaded image for project: 'Bigtop'
  1. Bigtop
  2. BIGTOP-2058

Update toolchain-puppetmodules to remove deprecation warnings

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 1.0.0
    • None
    • toolchain
    • None
    • Ubuntu, docker container: c0sign/bigtop-ignite:h26-i12-s13

    Description

      Getting two deprecation warnings from puppet:

      1) thrown when building toolchain-puppetmodules

      :toolchain-puppetmodules
      Warning: Setting templatedir is deprecated. See http://links.puppetlabs.com/env-settings-deprecations
      (at /usr/lib/ruby/vendor_ruby/puppet/settings.rb:1095:in `block in issue_deprecations')

      2) When running puppet-apply

      root@ignite:/bigtop# puppet apply -d --confdir=bigtop-deploy/puppet --modulepath="bigtop-deploy/puppet/modules:/etc/puppet/modules" bigtop-deploy/puppet/manifests/site.pp
      Info: Loading facts in /bigtop/bigtop-deploy/puppet/modules/hadoop/lib/facter/hadoop_storage_locations.rb
      Info: Loading facts in /bigtop/bigtop-deploy/puppet/modules/hadoop/lib/facter/hadoop_storage_dirs.rb
      Info: Loading facts in /bigtop/bigtop-deploy/puppet/modules/kerberos/lib/facter/kadm_keytab.rb
      Info: Loading facts in /etc/puppet/modules/apt/lib/facter/apt_updates.rb
      Info: Loading facts in /etc/puppet/modules/apt/lib/facter/apt_update_last_success.rb
      Info: Loading facts in /etc/puppet/modules/apt/lib/facter/apt_reboot_required.rb
      Info: Loading facts in /etc/puppet/modules/stdlib/lib/facter/root_home.rb
      Info: Loading facts in /etc/puppet/modules/stdlib/lib/facter/pe_version.rb
      Info: Loading facts in /etc/puppet/modules/stdlib/lib/facter/facter_dot_d.rb
      Info: Loading facts in /etc/puppet/modules/stdlib/lib/facter/puppet_vardir.rb
      Warning: The use of 'import' is deprecated at /bigtop/bigtop-deploy/puppet/manifests/site.pp:58. See http://links.puppetlabs.com/puppet-import-deprecation
      (at grammar.ra:610:in `block in _reduce_190')
      Debug: importing '/bigtop/bigtop-deploy/puppet/manifests/cluster.pp' in environment production

      Attachments

        Activity

          People

            kaiyzen Nate D'Amico
            kaiyzen Nate D'Amico
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: