similar to: .yaml report filenames written with wrong time

Displaying 20 results from an estimated 60000 matches similar to: ".yaml report filenames written with wrong time"

2013 Jul 22
0
Could not intern from yaml: undefined method `intern' for nil:NilClass
Hi everyone, I''m stuck with this error trying to set up inspection reports : Could not send report: Error 400 on SERVER: Could not intern from yaml: undefined method `intern'' for nil:NilClass Earlier, I had this one : Could not run: Could not find catalog for hostname That I fixed with : catalog_cache_terminus = yaml Agent and server are running puppet 3.2.3. Full
2013 Oct 18
0
Puppet reports filenames
Hey All, I''m wondering why my YAML files have filenames which are 4 hours off from the actual time. For example, the file created below at 10:13am has a filename which would indicate it being created at 2:13pm (off by 4 hours). -rw-r----- 1 puppet puppet 26047 Oct 18 10:13 /var/lib/puppet/reports/<hostname-hidden>/201310181413.yaml Is there a reason for this or do I have a
2008 Oct 21
1
No such file or directory - /var/lib/puppet/yaml/*
Hi, I reinstalled puppet-server and am now getting these error messages from clients: err: /File[/var/lib/puppet/facts]: Failed to generate additional resources during transaction: No such file or directory - /var/lib/puppet/yaml/node err: /File[/var/lib/puppet/facts]: Failed to retrieve current state of resource: No such file or directory - /var/lib/puppet/yaml/node Could not describe /facts:
2009 Jun 12
0
Managing content of state.yaml
Hi all, I have a tidy block set up to clean up old Puppet reports (older than 1 month). One side effect of this is that every file that is removed gets added into the state.yaml file. On a small scale this is not a bad thing - it keeps track of what''s been culled, etc... On a larger scale (ie. Tidy is cleaning a lot of files with different filenames) the state.yaml file will grow and
2013 Mar 10
1
hiera yaml namespace nesting
Hi, I''ve just got hiera deployed into a new puppet environment, and have defined a class as follows: modules/role/manifests/ui.pp ===================== class role::ui ( $public_hostname ) { notify {''role::ui::notify'': message => "role::ui configured for ${::data_center}; hostname: $public_hostname", } } This is then included into
2012 Jul 05
1
hash to_yaml in erb template not giving valid yaml
Hi, I want to use a file resource to write a facts.yaml file for Mcollective. For some reason it won''t provide a valid yaml format if I dump my scope to hash and convert to_yaml. file { "/etc/mcollective/facts.yaml" : owner => root, group => root, mode => 400, loglevel => debug, #content => inline_template("<%= scope.to_hash.reject {
2012 Jun 09
1
Python Puppet YAML Report Parser
Hello, A quick search showed some people may have got this working. Anyone got a Python (or Perl) script to parse the Puppet reports and put them into a human readable format ? Might be able to knock something together myself but not used PyYAML too much and might need some pointers. Thanks -- You received this message because you are subscribed to the Google Groups "Puppet
2012 Jun 14
1
facter --yaml leaves some fields blank
Sometimes "facter --yaml" doesn''t list all the values specified on the command line. I can''t find rhyme nor reason why. Here''s a demo to show what I mean: # facter --version 1.5.7 # facter --yaml fqdn macaddress lsbdistcodename --- fqdn: my.host.name.example.com lsbdistcodename: squeeze macaddress: "00:00:00:00:00:00" We had been using the above
2008 Mar 26
2
Node yaml cache not refreshed ?
Hi folks, When running puppetd --environment whatever, the environment is not taken into account on the puppetmaster. This bug appeared after ticket #1130 got resolved and is certainly due to caching of the node terminus. Looking through the code didn''t help me understand how this yaml cache should get refreshed. On the puppetmaster, the cache files located in
2012 Nov 23
3
how to query yaml file with hiera function.
Hi guys, i have a hiera.yaml config file like this: --- :hierarchy: - %{env}/%{tmp_module_name} - %{env}/%{tmp_module_name}.common :backends: - yaml :yaml: :datadir: ''/etc/puppet/hieradata'' I also have a test/some_module.yaml file like this: --- db: root : pass port : ''3306'' I am also using the hiera function
2012 Jan 25
4
My ENC won't work, YAML is valid AFAIK
If anyone has any ideas, please share. I''m at a loss. YAML from Puppet Enterprise 2.0.0 default ENC: ++++++++++++++++++++++++++++++++ --- name: rcf-cm-master.our.org parameters: {} classes: - core-permissions ++++++++++++++++++++++++++++++++ YAML from my Python ENC using PyYAML. This results in ''cannot find node''. ++++++++++++++++++++++++++++++++ ---
2012 Oct 24
1
Exclude or disable a class in Hiera (yaml backend)
Hi People, Let''s imagine a scenario where I have multiple nodes, a very simple hierarchy: - nodes/%{fqdn} - roles/%{role} - common So what I am trying to achieve is for instance a class ''foo'' is always included in ''common.yaml'' and all the nodes will have that class included by default, but I want a specific node to have that class excluded or
2012 Dec 03
4
Unnecessary changes when creating facts.yaml
I have set up puppet to create a facts.yaml file for mcollective using the following line: content => inline_template("<%= scope.to_hash.reject { |k,v| k.to_s =~ /(uptime.*|timestamp|.*free|macaddress.*|ipaddress)/ }.to_yaml %>"), However, it is creating a lot of unnecessary changes by reordering the facts in the yaml output as you can see in the diff output between to
2010 Feb 01
1
Puppet client - could not parse YAML data
Any ideas? Getting this error below from only 2 out of a total of 200 clients... puppetd[26557]: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not parse YAML data for node <servername here>: syntax error on line 89, col 7: `'' Client and Master Puppet versions are .25.1 -- You received this message because you are subscribed to the Google Groups
2011 Sep 30
2
Building yaml files
Has anyone used facter to gather and build host specific yaml files before, was wondering how others were gathering and building this info for their host. Any suggestions are appreciated. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group,
2013 Mar 14
5
Help me wrap my head around Yaml/Hiera with erwbgy/system
Trying to figure out the erwbgy/system plugin and just getting stuck.. first run it did some changes, but it ignored parameters for ntp and now its not refreshing if I update the yaml at all, Im slightly lost at what I may be missing :) hiera.yaml --- :hierarchy: - %{certname} - %{environment} - global - %{environment}/common :backends: - yaml :yaml: :datadir:
2011 Oct 12
4
Python yaml help
Sorry for being off topic. am trying the following and yaml fails to construct the object: The inventory document, from Puppet dashboard inventory service, looks like: --- !ruby/object:Puppet::Node::Facts name: pirates.uis.example.com values: productname: VMware Virtual Platform kernelmajversion: "2.6" My code: class PuppetFacts(yaml.YAMLObject): yaml_tag =
2013 Aug 29
0
Yaml reports not uploading to puppet dashboard
Hi, Iam a newbie to puppet, iam trying to set my local puppet master and dashboard running on same server. Iam also using https to connect to dashboard. I can launch the dashboard on https://IP fine but i see only one report on the webpage, When i tried to import all the previous reports iam getting this error # cd /usr/share/puppet-dashboard/ ]# sudo -u puppet-dashboard rake
2011 Dec 01
5
Validation failed: Host already has a report for time and kind
Howdy, I''ve been getting this issue for about a month in dashboard. All our nodes poll on a cronjob between 00:00 and 01:00 daily, but one node has been getting this as a failed task for a while, with the yaml files building up on the server. Outside of this one cronjob, other puppet runs on the same node are running just fine. The backtrace on dashboard is: Importing report
2011 Jul 06
7
Issue with puppet file serving api not parsing yaml content correctly
I am working on building a facter tag based node classifier similar to https://github.com/jordansissel/puppet-examples/tree/master/nodeless-puppet/. However, I have run into an issue where I cannot use puppet''s require file ability to push the yaml file containing the facts file to the client because it would require two runs of puppet to pickup changes. Consequently, I have written into