similar to: Python Puppet YAML Report Parser

Displaying 20 results from an estimated 6000 matches similar to: "Python Puppet YAML Report Parser"

2012 Jan 23
13
Template Help Please
Hello, I am trying to setup a template with data being passed in as a long string of data which is being returned via extlookup() i.e. $resolvers = "10.10.10.10 11.11.11.11.12.12.12.12" The template should split those up and put a nameserver entry per line in /etc/resolv.conf I have this in the template now:- <%=
2014 Dec 21
4
yum upgrade not working
Hey all, I'm attempting to upgrade a Centos 5.9 machine to CentOS 5.10. But when I try the yum update command I get this response: --> Finished Dependency Resolution python26-PyYAML-3.08-5.el5.x86_64 from installed has depsolving problems --> Missing Dependency: libyaml-0.so.1()(64bit) is needed by package python26-PyYAML-3.08-5.el5.x86_64 (installed) --> Running transaction
2013 Jan 08
3
Puppet LVM create volume maximum size
Hello, Using the LVM module/providers from the forge I want to create a logical volume at the maximum size and I cannot work out how to do this. physical_volume -> volume_group -> logical_volume -> filesystem -> mount All works fine but you have to hard code the size for the logical volume. Anyone know if this is possible ? Thanks Paul -- You received this message because you
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''. ++++++++++++++++++++++++++++++++ ---
2008 Feb 22
1
YAML parser for R in Windows
How can I parse a YAML file in R 2.6.0 in Windows? I cannot get the RYaml package to compile in Windows, I can't find a MinGW compiled .dll for an existing YAML parser like syck (which would appear to be the best hope for creating my own R wrapper functions), and I don't know how to call a Ruby or Python function from R (so that I could parse the file in Ruby or Python and pass the parsed
2011 Jan 30
1
py-yaml complaints from yum
hello list!! I'm having a curious issue.. if I type yum update -y the system complains of a PyYAML dependency: --> Finished Dependency Resolution PyYAML-3.08-4.el5.x86_64 from installed has depsolving problems --> Missing Dependency: libyaml-0.so.1()(64bit) is needed by package PyYAML-3.08-4.el5.x86_64 (installed) Error: Missing Dependency: libyaml-0.so.1()(64bit) is needed by
2016 Nov 17
2
Rewriting opt-viewer in C++
If the decision on whether this should swing Python or C++ is still open, here’s some food for thought: it’s trivially parallelizable. I lobbed some stuff in https://reviews.llvm.org/D26789 I used the pure python PyYAML and got a speedup of ~4x on my test case. I expect you might still be able to get an improvement with libYAML + a patch like this one. FWIW prior to this I also tried PyPy
2016 Nov 14
2
Rewriting opt-viewer in C++
Again I am still undecided which way this should go but I was also wondering about the speed difference if we used the C-based parser in PyYAML (http://pyyaml.org/wiki/LibYAML <http://pyyaml.org/wiki/LibYAML>). > On Nov 13, 2016, at 12:19 AM, Adam Nemet <anemet at apple.com> wrote: > > Hi Bob, > > I am glad you’re finding opt-viewer useful. I am generally fine this
2013 Nov 01
9
package conflict resolution method:
Hello, list: I have two puppet modules that are unrelated to each other, but both have (unrelated) Python scripts that parse YAML. As such, both have a block like the following in their manifests for the PyYAML script dependency: package { ''PyYAML'': ensure => installed, } If I try and include both modules on the same server this causes an obvious
2016 Nov 17
2
Rewriting opt-viewer in C++
Adam, The test case was the Python-3.6.0b3 release, 234 input YAML files. The large majority of time is spent with processing the file input. Next ranked was rendering output. Moving the files to a tmpfs partition didn’t change the time significantly (but I would expect that experiment would yield different results with libYAML). original, single-threaded: processed input files
2016 Nov 15
3
Rewriting opt-viewer in C++
> On Nov 15, 2016, at 10:33 AM, Bob Haarman <inglorion at google.com> wrote: > > Thanks for your comments, everyone! I'll try to answer the questions people have asked. First, let me say that I like Python, so I would be happy to keep the tool in Python if people feel that is a better way to go and we can still get it to go fast. As for precedent, we have several Python scripts
2016 Nov 16
1
Rewriting opt-viewer in C++
That's compared to the implementation with the Python parser. So if the libYAML parser is 6x the speed of that, the C++ version would be about 10x the speed of the implementation with libYAML, instead of 60x. On Tue, Nov 15, 2016 at 10:50 AM, Adam Nemet <anemet at apple.com> wrote: > > On Nov 15, 2016, at 10:33 AM, Bob Haarman <inglorion at google.com> wrote: > >
2014 Dec 21
0
yum upgrade not working
On 21/12/14 02:25, Tim Dunphy wrote: > Hey all, > > I'm attempting to upgrade a Centos 5.9 machine to CentOS 5.10. > > But when I try the yum update command I get this response: > > --> Finished Dependency Resolution > python26-PyYAML-3.08-5.el5.x86_64 from installed has depsolving problems > --> Missing Dependency: libyaml-0.so.1()(64bit) is needed by
2014 Dec 22
0
yum upgrade not working
Removing that libyaml package allowed me to upgrade! Thanks for the tip! Tim On Sat, Dec 20, 2014 at 9:25 PM, Tim Dunphy <bluethundr at gmail.com> wrote: > Hey all, > > I'm attempting to upgrade a Centos 5.9 machine to CentOS 5.10. > > But when I try the yum update command I get this response: > > --> Finished Dependency Resolution >
2016 Nov 12
5
Rewriting opt-viewer in C++
Hi Adam, Thank you for writing opt-viewer! I've been playing around with it and found it helps me understand what optimizations were performed, which were missed, and why, as well as easily navigate to the relevant code. Wanting to use it on larger projects, I found that it can take a while to analyze the optimization reports. Since there doesn't seem to be too much code in it yet, I
2012 Jul 07
12
how to scale puppet with F5 load balancer?
How can I configure F5 load balancer to be infront of multiple puppet masters? The SSL will break as the server name if different, hostname of the VIP on the LB vs hostnames of each masters, right? Can you shed some light? Thanks. -- Hai Tao -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to
2010 Sep 28
13
Reading Puppet reports with Python
Has anyone got/seen Python code to read puppet reports? I added a bunch of these: class PuppetReport(yaml.YAMLObject): yaml_tag = u''!ruby/object:Puppet::Transaction::Report'' def __init__(self, host, logs, metrics, records, time): self.host = host self.logs = logs self.metrics = metrics self.records = records self.time = time However, the Python YAML
2019 Nov 07
2
yum install fails - itertoolsmodule.so
I've just tried a yum update on one of my C7 boxes and got the following output. I'm guessing to fix this I need to re-install the RPM, but I can't remove it because of dependancies, so how can I fix the problem? I've managed to download a later version of the RPM, but haven't managed to find the same version as the one installed. Gary [root at zeppo ~]# yum install There
2013 Mar 18
3
Facter Strings to integer.
Hello, If I want to do something like this:- if $::lsbdistrelease >= 6.3 { SOMETHING } Do I have to convert lsbdistrelease from a string to a number with an inline template or some such ? Thanks Paul -- 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
2014 Dec 13
3
CentOS forum search link in http://wiki.centos.org/AdditionalResources/Repositories under Atomic Repo
[ https://www.centos.org/search.php?query=atomicorp&mid=30&action=showall&andor=AND forum search] returns a 404. Can the forum search https://www.centos.org/forums/search.php? be used with parameters that will provide the supporting material for the warning "Many CentOS users have had problems after enabling this repo"? -------------- next part -------------- An HTML