-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
undefined method `exitstatus' #13
Comments
What version of puppet are you using ? |
pe-puppet-server-3.3.3.1-1.pe |
I'm seeing the same problem on v3.6.3 |
tnx for the feedback. Any more data what O.S., etc so I can try to recreate it ? |
Actually, I think I found the problem. My master is on v3.6.2, but one of my clients is still on v3.2. It looks like Puppet::Util::Execution.execute returned a string rather than a Puppet::Util::Execution::ProcessOutput until v3.4: https://tickets.puppetlabs.com/browse/PUP-2306 I'll upgrade the client to see if that helps. |
I'm trying to use the maestrodev rvm module which has this module as a dependency. I have declared the following class into my profile to make sure there was nothing wonky on the call from rvm module:
include ::gnupg
gnupg_key { 'hkp_server_D39DC0E3':
ensure => present,
key_id => 'D39DC0E3',
user => 'root',
key_server => 'hkp://keys.gnupg.net',
key_type => public,
}
From puppet run with debug enabled:
Debug: Executing 'gpg --list-keys --with-colons D39DC0E3'
Error: /Stage[main]/Profiles::cool_app/Gnupg_key[hkp_server_D39DC0E3]: Could not evaluate: undefined method `exitstatus' for #String:0x00000005111ae8
When I run the command above manually on the instance this is what I get:
gpg --list-keys --with-colons D39DC0E3
tru::1:1434731668:0:3:1:5
gpg: error reading key: No public key
The text was updated successfully, but these errors were encountered: