Alpar Torok


2010/4/14 James Turnbull <[email protected]>:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 14/04/10 9:26 PM, Alpár Török  wrote:
>> 2010/4/14 James Turnbull <[email protected]>:
>> Alpar wrote:
>>>>> Hi,
>>>>>
>>>>> I found the zypper provider mentioned on this list in another thread,
>>>>> but it failes with the flowing error :
>>>>>
>>>>> Package[kvm]/ensure: change from 0.11.0-4.5.2 to true failed: Could
>>>>> not update: undefined method `zypper' for
>>>>> #<Puppet::Type::Package::ProviderZypper:0x7fd1acf9e360> at
>>>>>
>>>>> Is the latest provider broken? Is there interest in making this work /
>>>>> making it complete. I don't know ruby, but wiling to help any way i
>>>>> can.
>>
>
> Can you show us a --debug --trace --verbose output from the run?
>

I attached it. Hope the list delivers attachments.

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" 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-users?hl=en.

debug: Failed to load library 'selinux' for feature 'selinux'
debug: Failed to load library 'shadow' for feature 'libshadow'
debug: Puppet::Type::User::ProviderLdap: true value when expecting false
debug: Puppet::Type::User::ProviderPw: file pw does not exist
debug: Puppet::Type::User::ProviderDirectoryservice: file /usr/bin/dscl does not exist
debug: Puppet::Type::User::ProviderUser_role_add: file rolemod does not exist
debug: Failed to load library 'ldap' for feature 'ldap'
debug: /File[/var/lib/puppet/ssl/public_keys/aligator.pavel.dsd.ro.pem]: Autorequiring File[/var/lib/puppet/ssl/public_keys]
debug: /File[/var/lib/puppet/ssl/certs]: Autorequiring File[/var/lib/puppet/ssl]
debug: /File[/var/lib/puppet/classes.txt]: Autorequiring File[/var/lib/puppet]
debug: /File[/var/lib/puppet/ssl/private]: Autorequiring File[/var/lib/puppet/ssl]
debug: /File[/var/lib/puppet/state/state.yaml]: Autorequiring File[/var/lib/puppet/state]
debug: /File[/var/lib/puppet/ssl/csr_aligator.pavel.dsd.ro.pem]: Autorequiring File[/var/lib/puppet/ssl]
debug: /File[/var/lib/puppet/state/graphs]: Autorequiring File[/var/lib/puppet/state]
debug: /File[/var/lib/puppet/ssl/private_keys]: Autorequiring File[/var/lib/puppet/ssl]
debug: /File[/var/lib/puppet/facts]: Autorequiring File[/var/lib/puppet]
debug: /File[/var/lib/puppet/ssl/private_keys/aligator.pavel.dsd.ro.pem]: Autorequiring File[/var/lib/puppet/ssl/private_keys]
debug: /File[/var/lib/puppet/ssl/certs/ca.pem]: Autorequiring File[/var/lib/puppet/ssl/certs]
debug: /File[/var/lib/puppet/state]: Autorequiring File[/var/lib/puppet]
debug: /File[/etc/puppet/puppet.conf]: Autorequiring File[/etc/puppet]
debug: /File[/var/lib/puppet/client_yaml]: Autorequiring File[/var/lib/puppet]
debug: /File[/var/lib/puppet/ssl/certs/aligator.pavel.dsd.ro.pem]: Autorequiring File[/var/lib/puppet/ssl/certs]
debug: /File[/var/lib/puppet/ssl]: Autorequiring File[/var/lib/puppet]
debug: /File[/var/lib/puppet/clientbucket]: Autorequiring File[/var/lib/puppet]
debug: /File[/var/lib/puppet/lib]: Autorequiring File[/var/lib/puppet]
debug: /File[/var/lib/puppet/ssl/crl.pem]: Autorequiring File[/var/lib/puppet/ssl]
debug: /File[/var/lib/puppet/ssl/public_keys]: Autorequiring File[/var/lib/puppet/ssl]
debug: /File[/var/lib/puppet/ssl/certificate_requests]: Autorequiring File[/var/lib/puppet/ssl]
debug: Finishing transaction 69880865204840 with 0 changes
debug: Using cached certificate for ca, good until Fri Apr 10 09:53:57 UTC 2015
debug: Using cached certificate for aligator.pavel.dsd.ro, good until Sat Apr 11 14:26:40 UTC 2015
notice: Starting Puppet client version 0.25.4
debug: Loaded state in 0.00 seconds
info: Retrieving plugin
debug: Using cached certificate for ca, good until Fri Apr 10 09:53:57 UTC 2015
debug: Using cached certificate for aligator.pavel.dsd.ro, good until Sat Apr 11 14:26:40 UTC 2015
debug: Using cached certificate_revocation_list for ca, good until 
debug: file_metadata supports formats: b64_zlib_yaml marshal pson raw yaml; using pson
debug: Finishing transaction 69880864804060 with 0 changes
debug: catalog supports formats: b64_zlib_yaml marshal pson raw yaml; using pson
debug: Puppet::Type::Package::ProviderRpm: Executing '/bin/rpm --version'
debug: Puppet::Type::Package::ProviderYum: Executing '/bin/rpm --version'
debug: Puppet::Type::Package::ProviderAptrpm: Executing '/bin/rpm -ql rpm'
debug: Puppet::Type::Package::ProviderUrpmi: Executing '/bin/rpm -ql rpm'
info: Caching catalog for aligator.pavel.dsd.ro
debug: Puppet::Type::Group::ProviderLdap: true value when expecting false
debug: Puppet::Type::Group::ProviderPw: file /usr/sbin/pw does not exist
debug: Puppet::Type::Group::ProviderDirectoryservice: file /usr/bin/dscl does not exist
debug: Puppet::Type::Package::ProviderAptitude: file /usr/bin/aptitude does not exist
debug: Puppet::Type::Package::ProviderFink: file /sw/bin/fink does not exist
debug: Puppet::Type::Package::ProviderApt: file /usr/bin/apt-get does not exist
debug: Puppet::Type::Package::ProviderPortage: file /usr/bin/emerge does not exist
debug: Puppet::Type::Package::ProviderUrpmi: file urpmi does not exist
debug: Puppet::Type::Package::ProviderHpux: file /usr/sbin/swlist does not exist
debug: Puppet::Type::Package::ProviderSun: file /usr/bin/pkginfo does not exist
debug: Puppet::Type::Package::ProviderDpkg: file /usr/bin/dpkg does not exist
debug: Puppet::Type::Package::ProviderFreebsd: file /usr/sbin/pkg_info does not exist
debug: Puppet::Type::Package::ProviderRug: file /usr/bin/rug does not exist
debug: Puppet::Type::Package::ProviderGem: file gem does not exist
debug: Puppet::Type::Package::ProviderPorts: file /usr/local/sbin/portversion does not exist
debug: Puppet::Type::Package::ProviderAptrpm: file apt-get does not exist
debug: Puppet::Type::Package::ProviderYum: file yum does not exist
debug: Puppet::Type::Package::ProviderUp2date: file /usr/sbin/up2date-nox does not exist
debug: Puppet::Type::Package::ProviderOpenbsd: file pkg_info does not exist
debug: Puppet::Type::Package::ProviderSunfreeware: file pkg-get does not exist
debug: Creating default schedules
debug: Finishing transaction 69880864844340 with 0 changes
debug: Loaded state in 0.00 seconds
debug: Prefetching zypper resources for package
debug: Puppet::Type::Package::ProviderZypper: Executing '/bin/rpm --version'
debug: Puppet::Type::Package::ProviderZypper: Executing '/bin/rpm -qa --nosignature --nodigest --qf '%{NAME} %|EPOCH?{%{EPOCH}}:{0}| %{VERSION} %{RELEASE} %{ARCH}
''
debug: Prefetching parsed resources for host
debug: //hostnames/Host[host_dev_atorok]/notify: subscribes to File[/etc/HOSTNAME]
debug: //hostnames/Host[host_alpha]/notify: subscribes to File[/etc/HOSTNAME]
debug: //hostnames/Host[host_aligator]/notify: subscribes to File[/etc/HOSTNAME]
debug: //hostnames/Host[host_puppet]/notify: subscribes to File[/etc/HOSTNAME]
info: Applying configuration version '1271255372'
debug: //Node[role_vm_farm]/Package[kvm]: Changing ensure
debug: //Node[role_vm_farm]/Package[kvm]: 1 change(s)
debug: Package[kvm](provider=zypper): Ensuring => true
/usr/lib64/ruby/site_ruby/1.8/puppet/parameter.rb:401:in `fail'
/usr/lib64/ruby/site_ruby/1.8/puppet/type/package.rb:88
/usr/lib64/ruby/site_ruby/1.8/puppet/property.rb:124:in `instance_eval'
/usr/lib64/ruby/site_ruby/1.8/puppet/property.rb:124:in `call_valuemethod'
/usr/lib64/ruby/site_ruby/1.8/puppet/property.rb:298:in `set'
/usr/lib64/ruby/site_ruby/1.8/puppet/property.rb:363:in `sync'
/usr/lib64/ruby/site_ruby/1.8/puppet/transaction/change.rb:54:in `go'
/usr/lib64/ruby/site_ruby/1.8/puppet/transaction/change.rb:72:in `forward'
/usr/lib64/ruby/site_ruby/1.8/puppet/transaction.rb:120:in `apply_changes'
/usr/lib64/ruby/site_ruby/1.8/puppet/transaction.rb:113:in `collect'
/usr/lib64/ruby/site_ruby/1.8/puppet/transaction.rb:113:in `apply_changes'
/usr/lib64/ruby/site_ruby/1.8/puppet/transaction.rb:85:in `apply'
/usr/lib64/ruby/site_ruby/1.8/puppet/transaction.rb:251:in `eval_children_and_apply_resource'
/usr/lib64/ruby/site_ruby/1.8/puppet/util.rb:418:in `thinmark'
/usr/lib64/ruby/1.8/benchmark.rb:308:in `realtime'
/usr/lib64/ruby/site_ruby/1.8/puppet/util.rb:417:in `thinmark'
/usr/lib64/ruby/site_ruby/1.8/puppet/transaction.rb:250:in `eval_children_and_apply_resource'
/usr/lib64/ruby/site_ruby/1.8/puppet/transaction.rb:207:in `eval_resource'
/usr/lib64/ruby/site_ruby/1.8/puppet/transaction.rb:296:in `evaluate'
/usr/lib64/ruby/site_ruby/1.8/puppet/util.rb:418:in `thinmark'
/usr/lib64/ruby/1.8/benchmark.rb:308:in `realtime'
/usr/lib64/ruby/site_ruby/1.8/puppet/util.rb:417:in `thinmark'
/usr/lib64/ruby/site_ruby/1.8/puppet/transaction.rb:295:in `evaluate'
/usr/lib64/ruby/site_ruby/1.8/puppet/transaction.rb:289:in `collect'
/usr/lib64/ruby/site_ruby/1.8/puppet/transaction.rb:289:in `evaluate'
/usr/lib64/ruby/site_ruby/1.8/puppet/resource/catalog.rb:142:in `apply'
/usr/lib64/ruby/site_ruby/1.8/puppet/configurer.rb:169:in `run'
/usr/lib64/ruby/site_ruby/1.8/puppet/util.rb:178:in `benchmark'
/usr/lib64/ruby/1.8/benchmark.rb:308:in `realtime'
/usr/lib64/ruby/site_ruby/1.8/puppet/util.rb:177:in `benchmark'
/usr/lib64/ruby/site_ruby/1.8/puppet/configurer.rb:168:in `run'
/usr/lib64/ruby/site_ruby/1.8/puppet/agent.rb:53:in `run'
/usr/lib64/ruby/site_ruby/1.8/puppet/agent/locker.rb:21:in `lock'
/usr/lib64/ruby/site_ruby/1.8/puppet/agent.rb:53:in `run'
/usr/lib64/ruby/1.8/sync.rb:229:in `synchronize'
/usr/lib64/ruby/site_ruby/1.8/puppet/agent.rb:53:in `run'
/usr/lib64/ruby/site_ruby/1.8/puppet/agent.rb:134:in `with_client'
/usr/lib64/ruby/site_ruby/1.8/puppet/agent.rb:51:in `run'
/usr/lib64/ruby/site_ruby/1.8/puppet/agent.rb:106:in `start'
/usr/lib64/ruby/site_ruby/1.8/puppet/external/event-loop/signal-system.rb:97:in `call'
/usr/lib64/ruby/site_ruby/1.8/puppet/external/event-loop/signal-system.rb:97:in `__signal__'
/usr/lib64/ruby/site_ruby/1.8/puppet/external/event-loop/signal-system.rb:97:in `each'
/usr/lib64/ruby/site_ruby/1.8/puppet/external/event-loop/signal-system.rb:97:in `__signal__'
(eval):2:in `signal'
/usr/lib64/ruby/site_ruby/1.8/puppet/external/event-loop/event-loop.rb:321:in `sound_alarm'
/usr/lib64/ruby/site_ruby/1.8/puppet/agent.rb:110:in `start'
/usr/lib64/ruby/site_ruby/1.8/puppet/daemon.rb:127:in `start'
/usr/lib64/ruby/site_ruby/1.8/puppet/application/puppetd.rb:116:in `main'
/usr/lib64/ruby/site_ruby/1.8/puppet/application.rb:226:in `send'
/usr/lib64/ruby/site_ruby/1.8/puppet/application.rb:226:in `run_command'
/usr/lib64/ruby/site_ruby/1.8/puppet/application.rb:217:in `run'
/usr/lib64/ruby/site_ruby/1.8/puppet/application.rb:306:in `exit_on_fail'
/usr/lib64/ruby/site_ruby/1.8/puppet/application.rb:217:in `run'
/usr/sbin/puppetd:159
err: //Node[role_vm_farm]/Package[kvm]/ensure: change from 0.11.0-4.5.2 to true failed: Could not update: undefined method `zypper' for #<Puppet::Type::Package::ProviderZypper:0x7f1cd03c2780> at /etc/puppet/manifests/nodes/roles.pp:35
debug: Finishing transaction 69880864766400 with 1 changes
debug: Storing state
debug: Stored state in 0.02 seconds
notice: Finished catalog run in 0.39 seconds
notice: Caught TERM; calling stop

Reply via email to