Issue #12805 has been updated by Chris Price.

Status changed from Unreviewed to Accepted
Priority changed from Normal to Low
Keywords set to error message

Agreed that the error message here could be a bit more explicit.
----------------------------------------
Bug #12805: Puppet warns about missing dependencies if the environment doesn't 
exist
https://projects.puppetlabs.com/issues/12805#change-55837

Author: William Van Hevelingen
Status: Accepted
Priority: Low
Assignee: 
Category: usability
Target version: 
Affected Puppet version: 2.7.6
Keywords: error message
Branch: 


When puppet agent provides an environment that the master doesn't have its 
error message is not as clear as it could be.

The last notice implies that puppet succeeded in compiling the catalog which 
can be confusing.

<pre>
puppet agent --test --noop --environment=fail --debug
....
err: /File[/var/lib/puppet/lib]: Could not evaluate: Could not retrieve 
information from environment fail source(s) puppet://puppet/plugins
notice: /File[/var/lib/puppet/lib/puppet]: Dependency File[/var/lib/puppet/lib] 
has failures: true
warning: /File[/var/lib/puppet/lib/puppet]: Skipping because of failed 
dependencies
notice: /File[/var/lib/puppet/lib/facter]: Dependency File[/var/lib/puppet/lib] 
has failures: true
warning: /File[/var/lib/puppet/lib/facter]: Skipping because of failed 
dependencies
notice: /File[/var/lib/puppet/lib/facter/root_home.rb]: Dependency 
File[/var/lib/puppet/lib] has failures: true
warning: /File[/var/lib/puppet/lib/facter/root_home.rb]: Skipping because of 
failed dependencies
notice: /File[/var/lib/puppet/lib/facter/concat_basedir.rb]: Dependency 
File[/var/lib/puppet/lib] has failures: true
....
info: Applying configuration version '1330041221'
....
notice: Finished catalog run in 0.24 seconds
</pre>


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to