Issue #5490 has been reported by Dominic Maraglia.

----------------------------------------
Bug #5490: puppet agent returns non-zero status upon success
https://projects.puppetlabs.com/issues/5490

Author: Dominic Maraglia
Status: Unreviewed
Priority: Normal
Assignee: 
Category: error reporting
Target version: 2.6.x
Affected Puppet version: 2.6.3
Keywords: exit code 
Branch: 


After running puppet agent and successfully running apply a file serving 
manifest, "puppet agent" still returns non-zero.
  

[r...@agent ~]# puppet agent --no-daemonize --verbose --onetime --test
info: Retrieving plugin
info: Caching catalog for agent
info: Applying configuration version '1291661303'
notice: /Stage[main]/Puppet_system_test::File/File[/root/file_1]/ensure: 
defined content as '{md5}c481617f24f561fd8cf102d667b77808'
notice: /Stage[main]/Puppet_system_test::File/File[/root/file_0]/ensure: 
defined content as '{md5}d41d8cd98f00b204e9800998ecf8427e'
notice: /Stage[main]/Puppet_system_test::File/File[/root/file_100]/ensure: 
defined content as '{md5}5fcc003a152ec929c1d4f441e502c227'
notice: Finished catalog run in 0.24 seconds
[r...@agent ~]# echo $?
2


Puppet Master and agent are running the same code base:

[r...@puppet ]# puppet --version
2.6.3

[r...@agent ]# puppet --version
2.6.3

Installed from:
puppet-enterprise-0.4-rhel-5-x86_64.tar



-- 
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