Displaying 20 results from an estimated 600 matches similar to: "uncaught exception of type NoMethodError: undefined method `<=>'"
2011 Nov 18
5
Puppet on windows: File resource problem
Anybody knows what this error, bellow, means, the target file,
C:/Splunk/etc/system/local/inputs.conf, does exist.
sometimes, if I delete the file, it does actually create it, but never
update it if it exists and changed...
The resource is defined as:
file { "splunk_inputs": owner => SYSTEM, group
=> SYSTEM, mode => 664, require =>
2009 Sep 25
1
Puppetd hangs with 100% CPU usage
Hi again,
puppetd started to hang with 100% CPU usage all of the sudden. Strace
just keeps repeating these 2 lines:
--- SIGVTALRM (Virtual timer expired) @ 0 (0) ---
sigreturn() = ? (mask now [])
In logs it hangs with this message:
debug: Calling fileserver.describe
But lots of these fileserver.describe calls prior to hang are
successful.
If I run it with puppetd
2012 Mar 28
2
retrieving module directory
Hi everyone,
I have a puppet master/client infrastructure setup with apache. When on the
same datacenter I don''t have any problem.
I am trying to use another datacenter, so I setup the fileserver.conf as
followed:
# Files in the /path/to/files directory will be served
# at puppet:///mount_point/.
[modules]
allow *.datacenter1
allow *.datacenter2
[plugins]
2012 May 23
16
could not retrieve information from environment
Greetings. I am trying to set up a test puppet server in my
environment to evaluate windows clients. On the server side, I am
using puppet 2.7.14 (from the repos). I''m using the 2.7.14 windows 64
bit on the client (windows 2008 R2). I have another puppetmaster
already using "puppet" hostname in DNS (running a very old version of
puppet - can''t upgrade yet for various
2013 Sep 09
1
Error 400 on SERVER: Could not find class pentaho for server.test.com
Good morning ,
I could help to debug this problem ?
"puppet agent - test"
Debug: catalog supports formats: b64_zlib_yaml dot pson raw yaml; using pson
Error: Could not retrieve catalog from remote server: Error 400 on SERVER:
Could not find class pentaho for s <http://srvdev206.cia.stefanini.com/>
erver.test.com
/usr/lib/ruby/vendor_ruby/puppet/indirector/rest.rb:185:in
2012 Dec 07
2
Help with PuppetDB
Hello Everybody,
I am trying to install the puppetdb on the same
machine as am running my puppetmaster.
I am getting the following error when am trying to connect the agent:
Error: Could not retrieve catalog from remote server: Error 400 on SERVER:
Failed to submit ''replace facts'' command for ftldwshost180.wsdev.citrix.com
to PuppetDB at
2013 Oct 10
2
Augeas XML trouble
Hello everyone,
I am currently trying to add elements to an XML file (a libvirt network
definition) using Puppet (2.7.23)/Augeas (0.10). The XML looks like this:
<network>
<name>virbr0</name>
<uuid>57fdc6e3-cba1-4110-88ef-850f1b71ee39</uuid>
<forward dev=''eth0'' mode=''nat''/>
<bridge
2010 Oct 06
2
weird ELF error
Anyone know what this is? It doesn''t seem related to puppet but I''m stumped.
info: Loading facts in dmidecode
info: Loading facts in cpuinfo
debug: catalog supports formats: b64_zlib_yaml marshal pson raw yaml; using pson
/usr/lib64/ruby/site_ruby/1.8/puppet/indirector/rest.rb:55:in `deserialize''
/usr/lib64/ruby/site_ruby/1.8/puppet/indirector/rest.rb:69:in
2013 Sep 09
1
Error on tried to used this module in development environment.
Good morning ,
I could audar to debug this problem ?
"puppet agent - test"
Debug: catalog supports formats: b64_zlib_yaml dot pson raw yaml; using pson
Error: Could not retrieve catalog from remote server: Error 400 on SERVER:
Could not find class pentaho for srvdev206.cia.stefanini.com on node
srvdev206.cia.stefanini.com
/usr/lib/ruby/vendor_ruby/puppet/indirector/rest.rb:185:in
2010 Jul 22
9
First Foray into Parameterized Classes.... not so good
I have this:
class foo::foobar ($version) {
}
which is called like this:
class facility::sanjose inherits facility::common {
class { foo::foobar: version => "1.3.13" }
}
puppet complains with this on the client:
Could not retrieve catalog from remote server: Error 400 on SERVER:
Could not find parent resource type ''facility::sanjose'' of type
hostclass in
2011 Dec 15
0
Using stored configs brakes on client update
Hi,
We''re using puppet from longer time, but now want to switch into
stored configs. When I ran locally puppet on puppetmaster server, ie:
puppet /var/lib/puppet/manifests/nodes.pp --debug
it works smooth.
When running client with debug I get message:
root@puppet-client:~# puppet agent -v --fqdn=puppet-client.ig.local --
waitforcert 60 --onetime --no-daemonize --logdest console --test
2011 Feb 15
3
troubles with require parametre
Hi all,
Getting some troubles installing bind:
I''m working on debian squeeze, both client and server are 2.6.2,
mod_passenger added.
in my class definition:
class conf_bind_nshost {
include motd
motd::register{"${name}": } #Register in motd
module
package { "bind9":
ensure => "1:9.7.2.dfsg.P3-1.1",
}
file {"dns":
require
2011 Mar 05
1
err: Could not run Puppet configuration client: Parameter require failed: No title provided and "" is not a valid resource reference
Both the server and the client in this example are running 2.6.5:
One class seems to be causing the error:
debug: Value of ''preferred_serialization_format'' (pson) is invalid for
report, using default (b64_zlib_yaml)
debug: report supports formats: b64_zlib_yaml marshal raw yaml; using
b64_zlib_yaml
/var/lib/gems/1.8/gems/puppet-2.6.5/lib/puppet/resource.rb:396:in
2012 Feb 29
4
Windows Puppet 2.7.12rc1-7-g281901e hands at end of run
I just installed the latest rc 1.7 to solve another issue I had. It
solved the issue, but I''m getting a different issue.
I''m running it interactively from an administrator command prompt. It
connects to the master puppet server, processes the configuration
items then gives an error. The interesting thing is that it never
returns to the command prompt. It just hangs. I have
2011 Aug 23
2
err: Could not run Puppet configuration client: execution expired
I am new to using puppet and having trouble when updating an agent
from a master which has a lot of files.
Usually the updates work, but when there are a lot of files I get this
error when running:
sudo puppetd --test --server puppet.example.local --trace --debug
>>>
debug: Failed to load library ''rubygems'' for feature ''rubygems''
debug: Failed to load
2015 Jun 09
2
[LLVMdev] msbuild and clang
Okay, so trying a straight compile of the Python interpreter with clang-cl,
I used the following commands:
cd \python-2.7.10\pcbuild
copy C:\llvm\build\Release\bin\clang-cl.exe cl.exe
rd /q /s amd64
rd /q /s win32-temp-debug
rd /q /s win32-temp-release
rd /q /s x64-temp-debug
rd /q /s x64-temp-release
msbuild /p:Configuration=Release /v:diag /fileLogger pcbuild.sln
(The second line is the one
2013 Sep 13
27
[windows server 2008 r2] puppet errors in 3.3.0 on exchange database servers
Hi,
i recently updated our windows 2008 r2 servers to puppet 3.3.0 .
Im getting the following error* (only on our exchange 2010 db servers)*ever since:
LevelMessageSourceFileLineTimeerrCould not retrieve local facts: undefined
method `gsub'' for nil:NilClassPuppet13.09.2013 15:12 CESTerrFailed to apply
catalog: Could not retrieve local facts: undefined method `gsub'' for
2010 Jul 16
5
2.6.0rc3 ssh_authorized_users/parsed.rb
Hi all,
Full path:
/usr/lib/ruby/site_ruby/1.8/puppet/provider/ssh_authorized_key/parsed.rb
Two problems:
1) Even if filebucketing is disabled, this (still) tries to backup
authorized_keys to /var/lib/puppet/clientbucket/[...]; no other
modules are doing filebucketing when it''s disabled but they
(correctly) do when it is enabled.
2) The filebucketing is (still) being done with euid set
2010 Oct 22
4
502 bad gateway on nginx with recv() failed
Hi,
I''m serving the puppetmaster application with its config.ru through
unicorn - proxied by nginx.
I''m using unix sockets, 4 workers, and 2048 backlog.
The clients - after their typical "puppet run" - send back a report to
the master in YAML.
Some clients whose reports tend to be large (close to 2mb) get a 502
bad gateway error and error out.
nginx log:
2010/10/22
2011 Jul 26
2
undefined method `initvars'
We are seeing this error in our log files on some clients:
puppetd[15068]: Could not run Puppet configuration client: undefined
method `initvars'' for #<Puppet::Type::Package:0x2aaaabbb4858>
Where do I begin troubleshooting this? The client software versions are:
ruby-1.8.5-5.el5_4.8.x86_64
ruby-libs-1.8.5-5.el5_4.8.x86_64
ruby-shadow-1.4.1-7.el5.x86_64
facter-1.5.8-1.el5.noarch