similar to: Puppet 3.2: add element to array

Displaying 20 results from an estimated 5000 matches similar to: "Puppet 3.2: add element to array"

2013 Nov 26
9
puppet won't change user's password
Hi! I''m trying to set password for a user. I do the following: user { "username": password => ''*'', } And when I run puppet agent nothing happens. The password remains the same. But if I create a new user which doesn''t exist yet, the password is set without any problems. Is this a normal behaviour of ''user'' type? --
2011 Jun 23
12
Turn off client autoupdate
Hello! By default puppet node connects to server periodically and looks if there is something execute. I''m wondering is it possible to make puppet clients not connect to server themselves? So that it would be possible to update a node only with puppetrun nodename. --- WBR, Sergey -- You received this message because you are subscribed to the Google Groups "Puppet Users"
2013 Aug 14
1
Mcollective: remote commands
Hi! Is it possible to use Mcollective to run different cli commands remotely on nodes? Cannot find anything related in the documentation. -- Best regards, Sergey Arlashin -- 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
2013 Nov 20
2
Want to restrict puppet module execute every 30mins
Hi, I have created a puppet module that performs below steps: 1. stop application service 2. take backup of existing application 3. download application artifact 4. install the application 5. some configuration stuff 6. start the application service Since the agent will poll the master every 30mins all these steps are executed every 30mins which I do not want. I want to enforce the puppet
2013 Oct 26
1
Puppet 3.3.1: custom function change requires restart of puppetmaster
Hi! I''ve spent quite a while before I understood that for Puppet to see changes in custom functions'' code Puppetmaster needs to be restarted. Is this a normal behaviour or may be it''s a bug ? -- Best regards, Sergey Arlashin -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and
2013 May 15
4
hiera - anything better than empty string?
Hi, starting to use hiera in earnest now (still on puppet 2.6 but planning an upgrade to 3.x this summer). the heirarchy looks for fqdn, then network_eth0, then ''default''. Some of our subnets don''t want to set http_proxy environment variables, the rest do. so default.json has a ''http_proxy_url'' key in it, but I want to exclude it for 10.9.8.7. Is
2011 Dec 12
1
Re: Re: Variables not inheriting
Now thats wierd. I did. Different title, different body...how did it flag my quetion to an old thread? jcbollinger <John.Bollinger@stJude.org> wrote: >Please do not hijack existing threads. Create a new thread for a new >question. > > >John > >-- >You received this message because you are subscribed to the Google Groups "Puppet Users" group. >To post
2012 Jan 04
5
Making a system user member of a Puppet managed group
Hi All, I have a particular requirement where a Puppet managed group needs to have several members that are either local and not managed by Puppet (e.g. mysql) or they reside in LDAP. Apart from running an exec call to "groupmems", is there another way to achieve this? Thanks in advance. Gonzalo -- You received this message because you are subscribed to the Google Groups
2013 Jan 25
4
Dynamic yum.conf 'exclude' line
Hi All, I have finally switched to using hiera (worthy goal!) and I am looking for a flexible way to manage the ''exclude'' line in /etc/yum.conf. I want to be able to specify from different classes RPMs to be excluded in /etc/yum.conf, then build the exclude line from all those classes that set an exclude. In my hiera hierarchy, I use %{calling_module}, but I actually modify
2011 May 13
18
Thoughts about extlookup: http://blog.wl0.org/2011/05/thoughts-about-extlookup-in-puppet/
Hi, I have been trying to improve the coding of some of my puppet recipes and had some trouble so wrote this: http://blog.wl0.org/2011/05/thoughts-about-extlookup-in-puppet/ Comments on the web seem to indicate that extlookup() solves "all problems" but I don''t really see that and hence have proposed a possible way to keep the data closer together and make the extlookup()
2011 May 20
3
PC EU feedback: ability to remove all unmanaged resources
http://projects.puppetlabs.com/issues/7600 I call this the "agent orange" option :) This works, purging all unmanaged hosts entries: resources { ''host'': purge => true, noop => true, } We should have a similar property for all (most?) types. Please comment on the ticket or reply here, whichever you prefer. Thanks! r P.S. This is in
2012 Feb 14
4
How to escape exec command parameters?
If I have a "simple" variable value, this works fine: capmon@peter:~> puppet -e ''$v="xyz" exec { f: command => "/bin/echo v is $v", logoutput => true }'' notice: /Stage[main]//Exec[f]/returns: v is xyz notice: /Stage[main]//Exec[f]/returns: executed successfully But how do I escape "bad" values of $v? Painful examples like the
2013 Sep 11
6
Puppet ignores hiera completely
I''m not sure at all what''s going on here, but I''ve spent a lot of time reading over the puppet hiera docs and setting everything up, but when I run puppet agent it just seems to ignore the hiera setup completely. Both the puppet master and agent nodes have exactly the same versions of puppet and hiera (installed via the official puppet APT repository). I''ve
2013 Apr 24
4
How do I check whether an imported resource has already been defined?
Hello Puppeteers, please consider the following scenario: Puppet is supposed to set up similar (but not necessarily identical) groups of hosts for a range of customers. For each customer a dedicated filesystem tree needs to be established on host A. This should not be difficult using exported File resources, however: How do I make sure that only the exported File resource of the first created
2012 Apr 27
15
puppet way of handling rdist and triggers
We have an existing "management system" of sorts, based on rdist. I''d like to know the best way to migrate it to using puppet. Currently, we have a local binaries tree, rdisted out nightly. We also make use of rdist''s extra capability to trigger scripts when and if named files are updated. I''m not sure what the best method would be, of converting this to
2012 Jul 31
2
Bad exit code?
Hi all, I''m running puppet agent as a onetime process. I would expect, if it can''t create the pid file, that it would exit non-zero. However, it seems to exit zero. Is there any way to change this? I''d like to know if it couldn''t run, and it seems that this is an error. [root@db1r1 ~]# puppet agent --onetime --detailed-exitcodes [root@db1r1 ~]# puppet
2010 Feb 24
9
Puppet's call to /sbin/service somehow different than calling from the command line?
Long shot question, but I''m running out of ideas... I''m running puppet-0.25.2 on Fedora boxes to manage a simple Java service started through an /etc/init.d script. I can start, stop, restart, and examine the service status using the standard /sbin/ service command. Works like a champ. The issue is that when I use puppet to start the service, the service fails to run.
2011 Jun 30
7
Puppet agent creates certificates for localhost.localdomain and does not pick up the changed hostname
Hi Everyone, I am using Puppet 2.6.5 to configure fresh VMs. These VMs have their hostname set to localhost.localdomain initially at boot-time. There is this script file that runs in rc.local and this is what I do inside it 1. I change the hostname from localhost to xxx.xxxxxx using the hostname command. 2. start the puppet agent as /usr/sbin/puppetd --certname=xxx.xxxxxx
2012 Oct 02
3
Set variable value
Hi, Is it possible to set the value of a variable from the content of a text file? Regards. -- 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 options, visit this group at
2013 Apr 18
4
Hiera Automatic Parameter Lookup Question
This may be a dumb question, but here goes So I''m running on Puppet 3.1.1 on RHEL5, and i''ve been using Hiera since 2.5/2.6 ish and it''s been great!! I was reading up on Automatic Parameter Lookups and would love to use it for my modules. But I can''t seem to ever get Hiera/Puppet to load the value i''ve set in my yaml files. I feel like I must be