Skip to content
This repository has been archived by the owner on May 5, 2023. It is now read-only.

Failure to set '::staging::path' #107

Closed
dandunckelman opened this issue Aug 23, 2016 · 2 comments
Closed

Failure to set '::staging::path' #107

dandunckelman opened this issue Aug 23, 2016 · 2 comments

Comments

@dandunckelman
Copy link

dandunckelman commented Aug 23, 2016

Affected Puppet, Ruby, OS and module versions/distributions

  • Puppet: 4.6.1
  • Ruby: 2.0.0p384
  • Distribution: Ubuntu 14.04
  • Module version: 1.0.7 (per the MySQL module requirement: link)

How to reproduce (e.g Puppet code you use)

I have a Puppet manifest that loads the MySQL tuner like this:

class { '::mysql::server::mysqltuner': }

What are you seeing

This appears when I run puppet agent -t:

/Stage[main]/Mysql::Server::Mysqltuner/File[/usr/local/bin/mysqltuner]  Could not evaluate: Could not retrieve information from environment development source(s) file:/mysql/mysqltuner-v1.3.0

At that moment, this appears in the /var/log/puppetlabs/puppetserver/puppetserver.log log:

2016-08-23 19:49:28,414 WARN  [qtp1119244362-278] [puppetserver] Puppet Unknown variable: '::staging::path'. at /etc/puppetlabs/code/environments/development/modules/mysql/manifests/server/mysqltuner.pp:44:21

What behaviour did you expect instead

No issue in applying the manifest

Output log

N/A

Any additional information you'd like to impart

Please let me know if there's more info you'd like.

@dandunckelman
Copy link
Author

Hmm, I don't get this error when I run my local acceptance test w/ beaker/vagrant.

Must be something in my production environment.

Anyone have an idea why the ::staging::path fact would be "unknown"?

@dandunckelman
Copy link
Author

False alarm. When I updated some more puppet settings on the server/clients 5 days ago, the errors stopped happening.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant