similar to: How do I quote a percent sign in the text of a template?

Displaying 20 results from an estimated 6000 matches similar to: "How do I quote a percent sign in the text of a template?"

2012 Aug 17
8
Class Naming Convention
So, this has always puzzled me a bit. By convention, init.pp contains one class, named the same as the module. However, what is the convention when the module may have multiple external access points? Say you have a module called ''syslog'' which provides both a client and a server class. I typically have used syslog::server and syslog::client. I''ve ended up using this
2012 Oct 04
5
Puppet caught TERM; calling stop - error
I''m running puppet on CentOS 6.3 x86_64: - facter.i386 1:1.6.12-2.el6 @puppet - puppet.noarch 2.7.19-1.el6 @puppet - ruby-shadow.x86_64 1.4.1-13.el6 @puppet Puppetmaster: - facter.x86_64 1:1.6.12-2.el6 @puppet - hiera.noarch 1.0.0-2.el6 @puppet - puppet.noarch 2.7.19-1.el6 @puppet -
2012 Jul 20
2
Lookup another node's hiera data - fqdn hierarchy
I''ve begun using Hiera in combination with Foreman, primarily storing data that is best left in Array/Hash form. I''d like to be able to have a module, in this case BackupPC, query all the Hiera data for each node where the backup directories/databases are stored. Then use all that information on the BackupPC server to generate proper configuration files for each
2012 Jul 17
8
How to override $::operatingsystem fact
Hi, I want to introduce "Proxmox" as new value in $::operatingsystem. "Proxmox" is based on Debian, so the normal value is currently "Debian". To change that, I just write a custom fact based on the facter fact "operatingsystem" Facter.add(:operatingsystem) do > ... > setcode do > ... > elsif
2013 Jan 07
4
How can i pass runtime parameters while installing .bin file in puppet?
Hi, I have alfresco .bin installer file for linux distribution which i want to automate using puppet. While installing alfresco on linux ,usually i need to provide a number of parameters such as java_home, db home, alfresco home or tomcat port etc. Now i want to install same .bin installer using puppet but not getting how can i provide same runtime argument in puppet installation. Can
2007 Dec 27
3
facter''s uniqueid is not unique
I have been storing the output of facter in a database with the assumption that uniqueid was actually unique, until I found that it is the same for a handful of my machines. It appears that uniqueid is set from the output of hostid. I checked into hostid and it gets its value from gethostid(). The following link, http://www.opengroup.org/onlinepubs/009695399/functions/gethostid.html, states,
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
2007 Aug 21
9
Seattle Meetup?
Hi all, It looks like I''ll be in Seattle on Sunday, September 16th through Tuesday the 18th, and I''d like to have Puppet Meetup either Sunday or Monday night. On Adam''s recommendation, I''ll be staying at the Queen Anne Inn, so something near there would be best. Hopefully Adam or Blake can do the actual organization. :) Any takers? -- What is
2012 May 16
2
Announce: Facter 2.0.0rc1 Available
Facter 2.0.0rc1 is a feature release candidate with bug fixes, features and other improvements. Facter 2.0 is designed to accompany the upcoming Puppet 3.0 release and has breaking changes from Facter 1.6.x. Facter 2.0 is not backwards compatible with Puppet 2.6 or 2.7. It includes contributions from the following people: Chris Price, Daniel Black, Daniel Pittman, Garrett Honeycutt, Gary Larizza,
2011 Jan 11
9
Can I omit respond_with.
If I don''t want xml results but only html can I omit respond_with in some actions? For example index from: respond_with(@sectors = Sector.all) becomes only @sectors = Sector.all isn''t it? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to
2012 Sep 30
22
in-module data with hiera
hello, Till now hiera-puppet was the only way I know that allowed hiera data to be loaded from inside a module. The problem with this was that it was still subject to the site specific hierarchy which means a module author had a pretty hard time to store his data in a proper way in his module thus perpetuating the use of the params classes pattern. Now that Puppet 3 is out and it''s gem
2010 Oct 08
2
New user - Issue using Generic::Mkuser in the ghoneycutt/generic module.
I''m trying to automatically create users as a requirement for ssh keys to work. Here is my issue. I am getting this error from the agent. The SSH part works fine, but it will not create the user due to a dependency issue. I do not know how to debug this. err: Could not run Puppet configuration client: Could not find dependency Generic::Mkuser[hadoop] for Ssh::Authorized_keys[hadoop] at
2008 Nov 13
5
Touch an ActiveRecord - timestamps
When I update an ActiveRecord, i would like to "touch" one of the related objects, that the updated record belongs_to, in order to update the timestamps on the parent record, although i don''t want to change any of the data in the parent. Whats the accepted way to do this? -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You
2011 Feb 02
11
How to include the Scope(...) in a generated string?
I''d like to include similar information that notice() spits out in a file I am generating -- basically so that anyone looking at the generated file (actually a file fragment) could trace it back to the class that is generating the entry. Using $name within the file fragment is the closest I am getting to what I want -- is there anything better? -- You received this message because you
2008 Mar 03
3
[LLVMdev] Google Summer of Code Idea
> No > I've got a BDD based version of andersen's around already (uncommitted). > It's slower in time (by a factor of 8 or so), but very slightly (1-2 > megabytes of memory) more memory efficient on some cases. Nowadays, > the bitmap version is actually more memory efficient than the BDD > version, even if you turn off BDD caching, etc. > > The thing you
2010 Oct 14
7
ANNOUNCE: Puppet 2.6.3 - Release Candidate 1 available!
All too quickly we''re back with a maintenance release: 2.6.3. This release addresses some issues in the 2.6.2 release. 2.6.3 is a maintenance release in the 2.6.x branch and it contains only bug fixes and no new features or other changes. The release candidate is available for download at: http://puppetlabs.com/downloads/puppet/puppet-2.6.3rc1.tar.gz Please note that all final
2013 Apr 11
3
Anyone managed to integrate Ambari/Hortonworks with an existing puppet installation?
Hi All We''re investigating the Hortonworks Hadoop Data Platform. It uses the Apache Ambari installer, and we are running into problems as the installation notes (http://hortonworks.com/hdp110-hmc-quick-start-guide/) for the application say (and I kid you not): *Remove or disable any existing Puppet agent configurations * It seems that its management centre runs as a puppet master and
2010 Jun 30
1
Problem using the logadm pattern
Hi All I am trying to deploy the Solaris logadm pattern from http://projects.reductivelabs.com/projects/puppet/wiki/Logadm_Patterns. I dropped it in .../lib/puppet/type/logadm.rb However, I am getting an error message: err: Could not run Puppet configuration client: Munging failed for value "puppet" in class backup: Global resource access is deprecated And I have traced it back to
2011 May 20
4
The quantum effect when loading classes
Can anyone comment / expand upon http://www.nico.schottelius.org/blog/puppet-sometimes-loads-a-class/ I am experiencing a case which may be related. We have an ENC, and recently on our twice daily noop runs from cron, puppet has reported some servers aren''t in sync because they do not have a certain module/class (dns_server) even though they are not subscribed to the dns_server module in
2008 Mar 05
0
[LLVMdev] Google Summer of Code Idea
On Mon, Mar 3, 2008 at 6:55 PM, Richard Warburton <richard.warburton at gmail.com> wrote: > > No > > I've got a BDD based version of andersen's around already (uncommitted). > > It's slower in time (by a factor of 8 or so), but very slightly (1-2 > > megabytes of memory) more memory efficient on some cases. Nowadays, > > the bitmap version is