similar to: Append string to list items.

Displaying 20 results from an estimated 200 matches similar to: "Append string to list items."

2012 May 24
9
Announcing Razor
Puppet Labs is really thrilled to announce, in conjunction with EMC, our new open source bare metal provisioning tool: Razor. Razor is next generation provisioning software that handles bare metal hardware and virtual server provisioning with inventory discovery and tagging, rule-based policy management, and extensible broker plugin integration. It integrates closely with Puppet and Facter. The
2011 Feb 08
3
Variable doesn't expand properly
HI, I''m getting some strange errors when I try to use a variable in a require => Package construct, namely: $packagelist = ["clamav", "clamd", "clamav-db"] package { $packagelist: ensure => latest, } # Above apparently works fine... # ...THEN... file { "/etc/rc.d/init.d/clamd.mimedefang": ensure =>
2013 May 29
5
Developing custom type/providers for multiple OS
Hello all, I am developing a few custom providers for some features that I need into my system (such as dealing with different zipped files or generating some JSON data based on OS files) and I have hit into a question about "how to do this for multiple OS?" Lets focus into the zipped file provider that should provide a common method to pack or unpack zipped files (tar, tar.gz,
2010 Feb 23
2
Feature Request: Settable 'nice' value.
So, some of us would like to be able to set the nice value on puppetd. However, we don''t want all of our services (and some of our execs) re-niced. Would it be feasible/practical to have the ability to set the nice value explicitly on Service and Exec calls? Thanks, Trevor -- Trevor Vaughan Vice President, Onyx Point, Inc (410) 541-6699 tvaughan@onyxpoint.com -- This account not
2013 Dec 12
2
Stdlib and Defined Types
All, Does anyone know of a way to add a file-centric backtrace to the validate functions in the Stdlib? If you use a validator in a defined type, you end up not having any idea what actually threw the error. Though much has moved to parameterized classes, there are still times when defines are useful and it would be nice to know what calling class/define/stack was blowing up. Thanks, Trevor
2012 Jul 25
2
Purge-like ability for the augeas type?
I''ve been searching around but haven''t found a way to do something like a purge with augeas. If you have a file such as [iniheader] entry1 (managed by puppet) entry2 (not managed by puppet) And you want to add ''entry3'' as well as removing anything not managed by puppet in that subsection then you currently do not have this capability. Is this correct? I
2010 Feb 11
14
vmwaretools
hi, i am trying to run /usr/bin/vmware-config-tools.pl -d, but i was end with exec timeout. I cannot find any think on google. Have anyone experience with this? It works, when I run it normally from shell. this is my exec resource. { "vmwaretools_config": subscribe => [ Package["VMwareTools"] ], refreshonly => true, path =>
2011 Dec 16
9
Puppet capacity with apache+passenger, server saturated
Hi everyone, I have a problem with my Puppet server, the server is overloaded and processes need to add half of my farm nodes yet! The server is hosted on a blade with the following characteristics: Processors: 8 cores Memory Ram: 12 Gb Operating System: Debian Squeeze Version of parcel: 2.7.1-1 ~ bpo60 puppet 1 puppet-common 2.7.1-1 ~ bpo60 1 2.7.1-1 ~ bpo60 1 puppetmaster puppetmaster 2.7.1-1 ~
2012 Jul 27
2
Atomicity of updates on the Puppet master
Hello, I''m currently setting up some scripts that will pull in new data for Puppet master (modules, manifests, hiera data, etc.) from a Git repository. It works great! However, I''m concerned about atomicity of the whole thing. Does the Puppet master cache the modules/manifests when it starts? If so, do I need to restart the Puppet master on each update? Or can I send it a
2013 May 31
4
AD user add to local windows group?
Pardon my noobness to this, but is anyone able to get around this issue<https://projects.puppetlabs.com/issues/15326> ? group {''testgroup'': ensure => present, members => ''DOMAIN\user'', name => ''test'' } Yields OLE error code:8007056B in Active Directory A member could not be added to or removed from the local group
2010 Jan 21
5
Inheritance versus inclusion
Does anyone have a good resource for describing the differences between including and inheriting classes? VR -pjh -- 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, send email to puppet-users+unsubscribe@googlegroups.com. For more
2010 Mar 12
23
Puppet 100% CPU usage
Hi, I''ve been experimenting with Puppet for a few days now, and I really like it. But! I''m having real CPU usage problems. Puppet is still happily eating away 100% CPU for almost an hour at a time, with no apparent things happening. (puppetd -tv --trace --debug, but nothing appearing in the console during this.) I believe the following resource is to blame: file {
2013 Jun 10
5
Does stdlib break the regsubst function?
Hi all, We are currently using the regsubst function of Puppet to generate some information out of our hostnames (customer, environment, and so.). The manifest is running fine since months. 7: $customer = regsubst($::fqdn, ''(^[^-]*)-[^-]*.*'', "\\1") 8: $environment = regsubst($::fqdn, ''^[^-]*-([^-]*).*'', "\\1") 9: $product =
2013 Jun 24
4
Disable certain facter facts?
We found out, the hard way, that version 1.7 of Facter adds facts for mounted linux file systems. This is nice for normal servers. For a server hosting Oracle not so good. We went from about 100 facts per server to well over 3,000 (our Oracle boxes have quite a few volumes mounted). Of course, this choked our ENC (Foreman) having this many facts pumped into it and required us to downgrade
2010 May 31
11
Same certificate on multiple identical machines ?
Hi list, In our platform we have a lot of machines in which the system is a single disk image loaded on RAM from PXE. The problem is quite simple : if I install puppetd on the image, I will end up using the same certificate for 100 different servers with different names (the hostname is setup at boot time from dhcp) and I guess the puppetmaster won''t allow that. In other words : what
2010 Apr 23
1
regsubst questions
I am attempting to set some variables in my manifest and I amd seeing a result I don''t quite understand. Here is a section of code from my manifest: $boot_time = generate(''/usr/bin/env'', ''/bin/date'', ''+%H:%m'') notice("boot_time => $boot_time") $boot_hour =
2012 Feb 16
2
Basic string manipulation in puppet
Hi all, Been searching the net for a few hours now. I have a basic operation I wish to perform but, cannot find examples close enough to what I''m after to implement it myself. This is what I want to do: $version = ''10.2.0'' I want to manipulate the string to make a new var ($cutversion), equal just 102. For example in perl (since I know it): $version =
2012 Oct 02
4
Removing intermediate variables in calculation
Hello, I have a small Puppet 2.7 module to configure Sonatype Nexus Professional. The module takes, among other things, a baseurl in the form of "http://example.com/path" and I''d like it to extract the "/path" from that variable into a separate variable IF an optional "path" variable haven''t been supplied. Here is an extract: class
2012 Feb 29
3
Modifying a FACT Value In a Manifest
In my network every subnets default gateway is X.X.X.1. That router gateway is always running ntpd which I want to give be default as the ntp server in every hosts ntp.conf. Since there is no official "default gateway" fact yet, what I want to be able to do in my manifest is take the $ipaddress fact and turn it into the gateway for that subnet. For example... IP = 10.1.1.12 GW =
2010 Oct 14
8
manipulating facter variable
I''m trying to manipulate the following facter variable: ipaddress => 10.85.207.2 What I need is the second group of digits. If it''s 84 then location is A, but if it''s 85 then location is B. In puppet I couldn''t grab this second set of digits, but maybe there is a way? I''ve already tried to make a custom fact, but my ruby knowledge is *ahem* pretty