similar to: how to use optional parameters

Displaying 20 results from an estimated 30000 matches similar to: "how to use optional parameters"

2011 Jun 14
4
Question about custom function.
Hello group, I''m trying to generate configuration for tomcat server. I want it to depend on my mod_jk properties file. I wrote some simple script which you can see here: http://pastebin.com/CffBr0Nc it works just fine. So I tried to move it to puppet as my custom function. It''s available for review here: http://pastebin.com/AeQgTTT6 Now, when I''m running first in irb,
2011 Mar 15
5
apache service start problem
hello list!! I have developed a custom apache module for my company that setups up our own particular config of httpd and php in order to run our sites.. However, there is one wrinkle. It take two puppet runs to start the httpd service with this module and we''d like to get that down to one run! The reason seems to be that we have our own custom ssl vhost conf that we use called
2012 Jul 18
4
cert issues, puppet agent applying configs, problems oh my!
So I''m new to puppet and I''m having a bear of a time just getting a test server going. I installed puppet and the puppet client via yum on CentOS on AWS, so that saved me some time. I followed a few various blog posts about getting everything set up and applying a file, etc. Now I am trying to install a module (puppetlabs/apache) and it''s failing miserably for me. I
2013 Oct 13
2
LAMP stack with strange dependencies
Hello everyone. I''ve been toying around with puppet and something happened that seems strange to me. In site.pp I have the following: > node default { > > # This is where you can declare classes for all nodes. > > # Example: > > # class { ''my_class'': } > > # class { ''lamp'': } > > package
2011 Mar 16
3
only one puppet client fails with yum
hello list.. I am sharing a yum configuration in a class (centos.pp) between two nodes. But the yum configuration doesn''t apply at all to one node even tho it does to another identically configured node. ## packages are failing to install via yum on one ec2 aws instance and another identical ec2 instance works fine [root@kromep2 ~]# cat /etc/redhat-release CentOS release 5.5 (Final)
2010 Dec 09
10
Invalid parameter when assigning parameterized class to a node
Hello, I searched through the archive of the google group but did not found any solution or hint for my problem. I want to assign the following parameterized class to a node. class httpd($certMail, $certOU) { ... } This is the node statement to assign the class to a node. node "someserver" inherits basenode { class { httpd: certEMail =>
2010 Mar 02
4
Problem.
Greetings all, I am using Centos-5.3 in my server which is running dns, apache and mail. When the power went off and back then all of my services are not be able to run, i visited log files esp for httpd it says read-only and httpd cant start, this cause all of my services to stop. i tried to fix by fsck but still i cant be able to log in my mails via web access because httpd is not running, in
2006 Dec 11
3
request an object
Hello, I use a type i just written that install apache basicaly it is httpd and you provide the version (it is just a wrapper to the packets system) . I wanted to tell another type, the vhosts one that i required that this node defines the httpd type and that the vhosts type is allways called AFTER the httpd type. node ''mynode'' { httpd{ version =>
2012 Mar 02
9
zombie child process
Hi, This is the third or fourth time this happens. But puppetd gets a zombie shell childprocess and then never finishes the run. /opt/tc-puppet/bin/ruby /opt/tc-puppet/sbin/puppetd \_ [sh] <defunct> How do I begin looking on what can be wrong? This error has appeared on both 2.7.6 and 2.7.11. Regards, Elias -- You received this message because you are subscribed to the Google Groups
2006 Dec 18
8
file diff?
Hello... I am looking to replace my current config file management solution with puppet. I looked at both cfengine and puppet and neither seem to have a "diff" option. as in: configfile { "/etc/httpd/conf/httpd.conf": source => "/httpd/httpd.conf" } will install a httpd.conf file. What I would like is to be able to see a unified diff of the
2008 May 15
2
config checks and service bounces
Puppeteers, I''ve seen things in the documentation to make me think this is possible but I''m not sure how to implement it. Here''s what I''d like to do: puppetd pulls down a config file, say httpd.conf BEFORE puppetd moves it to $path, I''d like to have it check it''s integrity with apachectl configtest IF configtest passes, then puppetd should
2013 Apr 24
2
puppet apache module dependency cycle
I am trying to use puppetlabs apache module on CentOS to install mod php package. class {''apache::mod::php'': } It returns error "Error: Could not find dependency Package[httpd] for A2mod[php5]". I am using Puppet 3.1 version. Do I need to call class{''apache'': } explicitly to get mod-php install working? If I try that as follows then it
2012 Apr 24
9
Moving from Puppet 0.25 to Puppet 2.6+ : global scope/variables
Hi, I worked with puppet (< 0.25) back in 2008/2009. We were able to deploy 200 servers from scratch and manage them. It worked fine. I''m now with a new customer and I''m pushing Puppet (and I''m also back to puppet on a side project). We''re considering Puppet 2.6 to manage RHEL/CentOS 5 or 6 hosts. I''m "upgrading myself" to Puppet
2012 Jan 09
1
Manifest organization
Hello I am new to Puppet and am having a hard time relating modules and classes in configuration files to actual operating system files. For instance I saw the following example on this list: node ''somenode'' { include puppetmaster } class puppetmaster { include common include puppet include ldap_auth include iptables::disabled include httpd::ssl include
2011 Mar 23
1
way of importing .pp file or some string that contain class definition in ruby dsl
I''m finding the way to import a file or a class stored in string in ruby manifest. I have tried following code to parse the class having packages and services. pp = Puppet::Parser::Parser.new("development") pp.string = "class webhttpd{package { ''httpd'': ensure => installed, } service { ''httpd'': ensure => running, enable =>
2007 Nov 09
4
variables in templates
Here''s the problem I''m trying to solve. I use apache, for lots of things, some of those things are configured from a performance standpoint differently. In less vague terms I need to be able to change the MaxClients setting to different things based on the different purposes apache serves. (say proxy vs. app) Under previous CMS/templating engines I would have a httpd.conf that
2009 Aug 12
4
how to specify the the source directory
Hello, When I set: source => "puppet://mypuppet.company.com/apache/httpd.conf" which directory should I put httpd.conf under the puppet server machine mypuppet.company.com? I checked the documentation but cannot find the answer. Thanks. Peter --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups
2011 Aug 24
2
handy tip against unhelpful "Could not intern from pson" error
Not sure if people are already aware of this, but it might save someone some time in the future. I''ve been tracking down the following error today, it''s rather unhelpful in telling you where the problem is in your manifests: # puppetd --test info: Retrieving plugin err: Could not retrieve catalog from remote server: Could not intern from pson: Could not convert from pson: Could
2013 Mar 18
4
Inherit two classes?
Hello, I have a class called website, which requires both httpd and mysqld classes. Without defining it within the site.pp (node section). Is it possible to define that "website" requires these additions? Such as; class website inherits httpd, mysqld { ... } -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To
2013 Sep 06
2
puppetlabs/puppetdb module when using passenger for master
I''m working on configuring a master in a lab environment, using Puppet Open Source. My master is running RHEL 6. I want to use modules to manage the master itself as much as possible, so I can use puppet to bootstrap itself as I go forward and move into production. Using puppetlabs/puppetdb to configure puppetdb, I''ve overcome most of my issues but I have two questions. 1)