similar to: Possible documentation error, around aliases?

Displaying 20 results from an estimated 3000 matches similar to: "Possible documentation error, around aliases?"

2008 Mar 22
6
pass Resources to a define or unsetting notify
Hi i''m trying to pass Resources (single or in an array) to a resource, so I can pass this to a notify or require. However I have some problems, when no resource should be passed. Maybe somebody can help me? thanks define gentoo::etcconfd ( $require = '''', $notify = '''' ){ file { "/etc/conf.d/${name}": owner =>
2009 Jun 12
7
Obtaining puppet and facter for RHEL5/Centos5
What''s the correct yum repo to use for installing Puppet & Facter on RHEL5 and Centos5? I used to get them from the dlutter-rhel5 repo but this seems to be massively out of date now - latest version of puppet-server in there is 0.24.5-1.el5 and facter 1.5.4-1.el5. In Epel I see puppet-server 0.24.8-1.el5.1 and facter 1.5.4-1.el5 which is better but isn''t 1.5.4 the version
2007 May 24
2
Reusing definitions - need to pass variable in the title
I recently tidied up a class/definition combo that sets /etc/issue and /etc/issue.net. This failed: define issuefile($path) { file { issue: owner => root, group => root, mode => 0644, content => template("issue_conf") } } class issue { issuefile { "issue": path => "/etc/issue" } } class
2007 May 10
0
Rewritten Language Tutorial
The language docs have been languishing for ages, so out of disgust I consolidated the LanguageStructures and LanguageTutorial pages into a new, rewritten LanguageTutorial[1] page. Let''s consider this page the single page for all language explanation, and let''s do what we can to enhance and correct this page over time. I think the existence of two pages confused
2007 Oct 28
9
openvpn recipe: comments, suggestions, help
Good day, First off, I''m a complete puppet newbie, this openvpn recipe is pretty much the first puppet work I''ve done so be gentle :-) Secondly, the openvpn setup for Debian (and systems based on Debian) allows each openvpn network (tunnel) to be specified using a separate config file for each: /etc/openvpn/<vpn>.conf Each tunnel can be then stopped/started/restarted
2012 Oct 24
1
Exclude or disable a class in Hiera (yaml backend)
Hi People, Let''s imagine a scenario where I have multiple nodes, a very simple hierarchy: - nodes/%{fqdn} - roles/%{role} - common So what I am trying to achieve is for instance a class ''foo'' is always included in ''common.yaml'' and all the nodes will have that class included by default, but I want a specific node to have that class excluded or
2012 Jan 10
3
I am looking to try to mixing sounrce and content in a file instance
Let''s start with this: class whatever ( $myType=''other'' ) { file { "some-config-file": ... content => $myType ? { ''this'' => template("whatever/this.erb"), ''that'' => template("whatever/that.erb"), ''other'' =>
2009 May 31
9
No more than one "instances" of a type in define()?
Hi folks, when I try to do something like: define railsproject($name, $uid, $gid, $userpass, $sqlpass) { mysql_database { "$name_staging": ensure => present } mysql_database { "$name_production": ensure => present} ....more stuff... } I get: Puppet::Parser::AST::Resource failed with error ArgumentError: Duplicate definition: Mysql_database[] is already
2007 Nov 02
2
Concatenate strings
Hi everyone. Mandatory disclaimer: New to puppet/clueless but learning/please don''t get fed up with me yet... Mandatory praise: Love puppet so far... Mandatory stupid first question: How do I concatenate a variable to an arbitrary string? ie. $someval="$hostname_prod_config" So if $hostname is "myserver", then $someval should result in
2008 Jan 16
1
anyone have 0.23.2-1 puppet and puppet-server rpms for rhel4 & 5?
I just upgraded from 0.23.2-1 on RHEL 4&5 to 0.24.1-1. I used Dlutter''s repository. What a mess I''m in now. Anyway to make a long story short I moved all of the old configs out of the way (/etc/puppet, /var/lib/puppet) and started over with a fresh install. I can''t get puppetd on the server to request a cert. If I do a "puppetd -v --waitforcert 90" the
2007 Dec 13
10
multiple files with same attributes
I''m almost afraid to ask because this probably sticks out like a sore thumb on the wiki somewhere, and I''m just not seeing it. But I have a bunch of files with the same owner/mode. Is there a way to somehow collapse these, so that all I repeat is the file name? Example: file { "/opt/test/1": owner => "jtan", group =>
2008 Dec 24
3
Conditionals allowed within types?
Hello, I''m trying to do this: service { monit: ensure => running, enable => true, hasrestart => true, if ($operatingsystem == ''centos'') { hasstatus => true, }, require => Package[''monit''], subscribe => File[''monit.conf''], } And it doesn''t work in
2007 Dec 14
3
Nested conditions
Hello, I have a file which varies depending on which OS/version it''s running. I tried to make a nested source parameter like this, but it didn''t work: source => $operatingsystem ? { Debian => "puppet://myserver.com/files/os/debian/etc/ssh/sshd_config", Gentoo => "puppet://myserver.com/files/os/gentoo/etc/ssh/sshd_config", RedHat =>
2007 Sep 26
3
"warning: Could not get config; using cached copy" error with latest puppet release
I''m receiving a "warning: Could not get config; using cached copy" when running "puppetd --test" with the latest puppet and puppet-server RPMs from dlutter''s site. Has anyone else seen this problem or can give me an idea of where to start looking for the problem? James *********************************************************************************
2007 Dec 26
7
Thank you puppet!!
I''ve been hacking at puppet for the past week or two, and came up with some great stuff, but I''m wondering if there''s a way to tie it all together To create a virtual machine for our company''s QA environment, I''m currently doing 3 things: #create a vm node vmsvr2 inherits default { include vmserver vmserver::vm {
2007 Dec 18
1
puppetd 0.24.0 on Centos 4.5
Hi, I was managing a bunch of Centos 4.5 with Puppet until the ruby security patch bit me creating ssl problems. As I''m not able/willing to patch the installed version I tried upgrading to dlutter''s 0.24.0-2.el5 version. Unfortunately this didn''t help much. So I removed the server and client installation completely (making sure to manually remove the config, ssl, ...
2007 Nov 30
1
memory leak?
I have a client I''m testing where the puppetd process grows slowly (over a few days) to the point where it exceeds 100MB. This triggers an alert and we restart the daemon, but I''m curious whether anyone has noticed similar behavior. Details are: Server: CentOS 4.5 x86 (on VMWare Server guest) RPM install from dlutter repo (puppet-0.23.2-1.el4) The only thing I can
2007 Oct 12
1
puppetmaster.freshness, 500 Internal Server Error
I''m getting the following error when trying to run puppetd on the server. I''m using version 0.23.2 from the dlutter repo. The OS is RHEL 5. Any idea what this is? I see reference to namespaceauth.conf regarding this problem but I can''t find anything definitive. [puppet]# puppetd -v -o err: Could not call puppetmaster.freshness: #<RuntimeError: HTTP-Error: 500
2007 Jun 29
1
More on class includes
After some through I have decided that I don''t want to keep all my configuration variables in LDAP; too many variables and the variables are too specific to manage efficiently. What I want to keep in ldap are some general class definitions, like samba-bdc, and samba-dev-shares, etc. So I build a manifest like the one below; but there are a few problems. First, I can''t be sure
2007 Feb 12
9
New rpms for lockdir problem
I just built new puppet rpm''s for Fedora (puppet-0.22.1-2) that fix the lockdir problem that many of you have encountered. The packages should show up on a mirror near you very soon. Unfortunately, I am having trouble getting to my buildsystem that I use for the RHEL versions of the RPM; I made the source rpm available on my people page[1] If you need the RPM for RHEL, you need to