Ask Your Question
0

Why do i get deprecated when running rspec?

asked 2016-07-04 20:12:41 -0500

kaizenCoder gravatar image

I get the following warnings when i run puppet rspec:

Notice: Compiled catalog for rlcol1autbldv01.mshm.bigpond.com in environment rp_env in 0.33 seconds
.Warning: Modifying 'modulepath' as a setting is deprecated. See http://links.puppetlabs.com/env-settings-deprecations
   (at /opt/rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/puppet-3.8.4/lib/puppet/settings.rb:1137:in `issue_deprecation_warning')
.Warning: Modifying 'modulepath' as a setting is deprecated. See http://links.puppetlabs.com/env-settings-deprecations
   (at /opt/rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/puppet-3.8.4/lib/puppet/settings.rb:1137:in `issue_deprecation_warning')
.Warning: Modifying 'modulepath' as a setting is deprecated. See http://links.puppetlabs.com/env-settings-deprecations
   (at /opt/rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/puppet-3.8.4/lib/puppet/settings.rb:1137:in `issue_deprecation_warning')
.Warning: Modifying 'modulepath' as a setting is deprecated. See http://links.puppetlabs.com/env-settings-deprecations
   (at /opt/rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/puppet-3.8.4/lib/puppet/settings.rb:1137:in `issue_deprecation_warning')
Debug: Caching environment 'rp_env' (ttl = 0 sec)
Warning: The use of 'import' is deprecated at 3. See http://links.puppetlabs.com/puppet-import-deprecation
   (at /opt/rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/puppet-3.8.4/lib/puppet/parser/parser_support.rb:110:in `import')

Specifically:

Modifying 'modulepath' as a setting is deprecated
The use of 'import' is deprecated

I am running rspec within a module directory. Any ideas on why this might occur?

Thanks.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2016-07-04 21:09:09 -0500

This has been answered before. That setting was deprecated when the directory environment features were added. See here.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2016-07-04 20:12:41 -0500

Seen: 70 times

Last updated: Jul 04 '16