similar to: strange pson error...

Displaying 20 results from an estimated 1000 matches similar to: "strange pson error..."

2008 Oct 16
5
virutal resources and ssh_authorized_key
Hello! I''ve got question - how to use ssh_autorized_key as a virtual resource? I''ve got bunch of users and ssh_authorized_key virtual resources, but only users gets to the target system - ssh keys not... I write something like: class admins { @user { "username": ... } @ssh_authorized_key { "username": ensure => present, key => "...",
2009 Jan 02
2
problem with custom funcion
Hello! I''ve written custom function split - it''s located in modules/common/ plugins/puppet/parser/functions/split.rb and contains: module Puppet::Parser::Functions newfunction(:split, :type => :rvalue) do |args| str=args[0] regex=args[1] idx=args[2] out=str.split(/#{regex}/) if out.is_a? Array out[idx] else "" end
2007 Dec 13
4
access to databases in puppet - best practice?
Hello! In my puppet configuration I need to get some data from database. Ie.: I''ve got information about my all hosts in db - thier name, mac addresses, ip addresses, what to backup from this host etc. For now it''s just .xml file, but it could be sql db, or ldap directory. Then, using this small "database", I want to generate configuration using puppet - ie.:
2008 Oct 16
1
puppet not creating users?
Hello! My problem is - puppet is not creating users... I''ve got class: class admins { @user { "graf0": ensure => present, uid => 1500, comment => "Full name", home => "/home/graf0", managehome=> true, shell => "/bin/bash", password => ''SOMEVALIDSHADOWPW'', tag => admin } } Then, in have
2008 May 12
8
Complex data structures in templates
Hi. I wonder if it is possible to use more complex data structures in templates than simple variables and arrays? I have been trying nested arrays, as well as nested arrays and hashes, but nothing seems to work (more specifically, nested arrays seem to be flattened into a single array). Having only simple variables and arrays is a little limiting. Something like the Perl-based Template Toolkit
2007 Dec 06
1
order, managing one file and refreshonly
Hello! I''m quite newbie to puppet. I''ve got 3 questions: 1. I''ve noticed, that puppet apply defined classes/modules in specyfic order. I''ve got something like this im my configs: /etc/puppet/cf/manifests/site.pp: import "networks/*/site.pp" node generic_node { include "puppet" include "apt" include "debian" } ---
2007 Dec 28
5
Still need help with ticket triage
As everyone probably realizes, I''m getting swamped with incoming problems and tickets and I still need help triaging the tickets. James Turnbull has volunteered to help some, but I think we need more than one person. We''ve had a few people step in once or twice, but I''d like to be able to depend on Unreviewed tickets getting handled by someone else, rather
2011 Aug 24
2
handy tip against unhelpful "Could not intern from pson" error
Not sure if people are already aware of this, but it might save someone some time in the future. I''ve been tracking down the following error today, it''s rather unhelpful in telling you where the problem is in your manifests: # puppetd --test info: Retrieving plugin err: Could not retrieve catalog from remote server: Could not intern from pson: Could not convert from pson: Could
2007 Nov 15
1
class dependency?
Hello! I''m newbie to puppet but I like it a lot :) I''m still trying to figure out how to write good manifests. And my problem is like this: I''ve got class samba-server - I''ve got there all settings I need for samba to behave properly in my network. I include it in nodes- definition on servers. Then I''d like to define shares - diffierent on each
2013 Jul 02
2
PSON and JSON
HI, i''m currently trying to connect a rails app using the "her" gem/library (since active ressource is gone since rails 4) to Puppet''s REST API. Now, "her" or activeressource both speak json, while Puppet speaks pson, which should be nearly the same according to some posts here. Communication already works but it seems that the response objects are not
2013 Apr 22
4
Puppet catalog transfer often gets truncated (Could not intern from pson: error)
I''ve been hitting this issue for a long time. well over a year and I guess it''s time to start pushing it to try to find the root cause. I''ve seen this reported several times in the past but I''ve never seen a resolution found for this exact problems. There are other root causes for pson errors that have been resolved, but not for the ones describing my
2007 Dec 13
10
multiple files with same attributes
I''m almost afraid to ask because this probably sticks out like a sore thumb on the wiki somewhere, and I''m just not seeing it. But I have a bunch of files with the same owner/mode. Is there a way to somehow collapse these, so that all I repeat is the file name? Example: file { "/opt/test/1": owner => "jtan", group =>
2007 Dec 27
1
"fakeing" exported resources - is that possible
Hello! I''m trying to solve small problem - linux server AND windows clients AND managing this using puppet :) As far as I know puppet don''t work under windws, but I''m still using it on linux side. And I need some information from windows machines - ie.: info about what should I backup from each one. Of course one solution is to port puppet to windows - but for
2011 Jul 02
8
err: Could not retrieve catalog from remote server: Could not intern from pson: Could not convert from pson: Could not find relationship target "File[]"
I''m running Puppet 2.7.1 on the master as well as the agent and just received a new error which doesn''t actually reference a module or a file, so I''m somewhat stuck as to how to debug this. Any pointers? The error is err: Could not retrieve catalog from remote server: Could not intern from pson: Could not convert from pson: Could not find relationship target
2010 Dec 06
7
error: Could not intern from pson: source did not contain any PSON!
I am getting this error on the clients. (I am running with --test). rerunning the command works as expected. This does not happen every time. I have no idea what the message means or more precisely what a PSON is... Russell -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to
2010 Feb 19
1
Value of 'preferred_serialization_format' (pson) is invalid for report, using default (b64_zlib_yaml)
Should I be concerned of the following error? - Value of ''preferred_serialization_format'' (pson) is invalid for report, using default (b64_zlib_yaml) I''m running 0.25.4 on both server and clients and all are running Red Hat 5.4. Thanks, Clif -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this
2009 Jun 18
3
Getting started with puppet
Hey Folks, I''m just starting to look into Puppet though am finding it a bit confusing as to how to get it setup on the network I administer. At the moment it is a combination of RHEL 4 and SLES 10 boxes with windows and novell also. I know that windows / novell is beside the point though am wondering how to get puppet setup on the RHEL and SLES side of things. Any good howto''s
2012 Feb 09
2
Puppet master can not find file_metadata for my puppet module
Hello, I am running a puppet master version 2.7.5 on Centos 5.7 and a puppet agent version 2.7.5. I am simply trying to apply changes to files by defining a file resource in my manifest. When I execute my puppet agent to do the installation it complains it can not find the file meta data. Here is my manifest. class neospeech::config { file { "/usr/vwmrcpd/vwmrcpd/vwmrcpd":
2013 Mar 04
0
puppet-master --compile, output as pson?
is there a way to use the command: > > puppet master --compile <*nodename*> and have the output in PSON and not JSON? -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To post to this group, send
2013 Apr 22
3
Udefined method `get_uptime` for Facter::Util::Uptime:Module
Hi, I''m rookie puppet user and I trying to establish simple Server-Client connection on configuration: Server: *Fedora F18*, Puppet 3.1.1 (installed by yum), Ruby 1.8.7 Client: *Debian 6.0.6*, Puppet 3.1.1 (installed by guide<http://shapeshed.com/setting-up-puppet-on-ubuntu-10-04/>), Ruby 1.8.7 Server sign client certificate with success but now I''m struggle with apply