similar to: Push out all templates in a directory.

Displaying 20 results from an estimated 100000 matches similar to: "Push out all templates in a directory."

2010 Dec 07
2
Directory and File Permissions
If I''m pushing out a bunch of files in a directory, like this... file { "/usr/local/lg/bin/": source => "puppet://${server}/usr/local/lg/bin", mode => 755, owner => "root", group => "root", recurse => true, ignore => ".svn"; } This sets both
2011 Nov 20
1
Puppet changes mount point directory ownership.
I''ve got a directory, /u01/app that is owned by oracle.oinstall. I have this in my manifest: # # Mount point for the Oracle database. # ''/u01/app'': device => ''/dev/xvdo'', atboot => true, ensure => mounted, fstype => ''ext4'',
2011 Nov 02
2
Class Including.
Ok, what am I doing wrong here? I''m including splunkforwarder::app_server and it''s all working except that it appears that splunkforwarder::common isn''t including splunkforwarder::enabled... class splunkforwarder::enabled { service { ''splunkforwarder'': ensure => running, enable => true,
2011 May 09
4
Managing Switches.
All, I was looking at the new feature of puppet to manage switches, and it says: "A current limitation is that it isn’t possible to have 2 switches with the same interface name" Does this mean that if one switch has an interface called FastEthernet 0/1, that puppet can''t manage a second switch with an interface called FastEthernet 0/1? If so, that probably means you can
2010 Jul 22
3
File /etc/yum.conf does not contain a main section
I just upgraded puppet from 0.25.5 to 0.26, and I''m getting this: (/Stage[main]/Repo::Livegamer_software_base/Yumrepo[Livegamer-Software-Base]) Could not evaluate: File /etc/yum.conf does not contain a main section However, my /etc/yum.conf contains this. What''s wrong with that? Is puppet smoking crack? [main] cachedir=/var/cache/yum keepcache=0 debuglevel=2
2010 Aug 22
3
extlookup in 2.6.1 defaults
Hmmm.... So I was just trying the extlookup function that comes with puppet 2.6.1. It now lets you do this: $version = extlookup("rsyslog_version", "present", "packages") which, according to the documentation: # This will look for a version configured in packages.csv and then in the rest as configured # by $extlookup_precedence if it''s not found anywhere
2011 Mar 31
5
puppetca and /etc/puppet/ssl
All, I have --confdir=/etc/puppet/common in my /etc/init.d/puppetmaster and /etc/init.d/puppet files, vardir set to /var/lib/puppet in /etc/puppet/common/puppet.conf, and yet, every time I run puppetca it creates /etc/puppet/ssl. Anyone know why? Doug. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email
2012 Aug 17
4
Default node
Seems like nodes are matching the default node before they are matching the more specific nodes. My site.pp has: include "nodes/*.pp" In the nodes directory are two files, default.pp and nagios_server.pp. default.pp: node default { include role::common } nagios_server.pp: node ''mon01.us1.xxx.com'' { $node_env = "production" include
2012 Aug 29
9
puppetlabs-stdlib
I''m confused about this... https://github.com/puppetlabs/puppetlabs-stdlib/ I see a lot of functions there that are the same as the ones that come standard with puppet. If I create a module and dump this stuff in there, what happens to the existing stuff? How does puppet know which one to use? Doug -- You received this message because you are subscribed to the Google Groups
2012 Aug 27
5
Append string to list items.
I have an array: $nodes = [''gfs01'' ,''gfs02'', ''gfs03'', ''gfs04] and a string variable: $brick_store = "/var/bricks" How can I append "/var/bricks" to each item in the array? Lack of a looping construct makes this challenging in puppet. Such that: brick_array = [''gfs01:/var/bricks'',
2010 Apr 24
7
Pushing a file only if another does not exist.
I am trying to write a module for tripwire. I need to push out the twcfg.txt and twpol.txt files only if the tw.cfg and tw.pol files do not currently exist. How can do I this with File{}? I''m can''t seem to find a way to do it. In general times, how can you deploy file A only when file B does not exist? And... tripwire... what a mess. I am trying to use push out the site key,
2012 Sep 05
5
Puppet smoking crack?
Couple of questions. Firstly, what''s the plugin error about? puppet agent --onetime --test --verbose info: Retrieving plugin err: /File[/var/lib/puppet/lib]: Could not evaluate: Could not retrieve information from source(s) puppet://puppet/plugins info: Caching catalog for mon01.ap1.xxx.com info: Applying configuration version ''1346878830'' err:
2010 Dec 22
4
Report Error
I keep getting this in /var/log/messages every time a client grabs a catalog... Report store failed: Got 1 failure(s) while initializing: change from absent to directory failed: Failed to set owner to ''0'': Operation not permitted - /var/lib/puppet/reports/app01.den.xxx.com Why? Doug. -- You received this message because you are subscribed to the Google Groups "Puppet
2011 Sep 01
3
Module Plugin Documentation
Anyone, I''ve read this doc several times: http://docs.puppetlabs.com/guides/plugins_in_modules.html As a whole, it really doesn''t make sense. It seems pretty obvious it was written by someone with deep knowledge of the subject, but there is little context for someone like me. Is there better documentation somewhere? Doug -- You received this message because you are
2012 Aug 16
2
Custom Facts accessible via Facter
I don''t get it. I just wrote a simple test custom fact in ruby (ugh, I hate ruby) and was able to access it as a variable on the client side. However, it doesn''t appear in the facter output. Is is supposed to? Doug -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to
2010 Jul 30
5
Parameterised Classes in 2.6.0... still no luck
I downloaded the latest version of puppet 2.6.0 today, and still can''t get parameterised classes to work. At least, I think it''s 2.6.0... the version number in the RPM spec file says 0.25.5. This simple example: /etc/puppet/manifests/nodes/pax/name01.pax.xxx.com.pp: node ''name01.pax.xxx.com'' { class { amodule::afunc: version => "1.0" } }
2010 Aug 25
1
Could not request certificate: Neither PUB key nor PRIV key
Oh my god.... what is this? Getting this on first boot of new client. Aug 24 01:11:09 app03 puppet-agent[5392]: Reopening log files Aug 24 01:11:09 app03 puppet-agent[5392]: Could not request certificate: Neither PUB key nor PRIV key:: header too long I stop the client, and remove the ssl directory on the client: [root@app03 puppet]# service puppet stop Stopping puppet:
2010 Jun 28
7
Bind Module
Anyone know where I can find a good chrooted named module for centos? Named as chroot is ugly... soft and hard links everywhere... Doug -- 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
2011 Dec 18
2
Modules in Environments
Question... for those that have multiple environments, dev, prod etc... do you share your modules directory, or does each environment have it''s own copy of the modules directory? Which one has worked better? Doug -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to
2010 Jun 27
6
Borked Client Cert in 0.25
Here we go with puppet 0.25 certificate problems again. I had a system where puppet was running fine. I reinstalled it. Running puppet on the client causes this: "Could not request certificate: Retrieved certificate does not match private key; please remove certificate from server and regenerate it with the current key". Fine... so I run ''puppetca --clean