similar to: best way override variables of parent providers?

Displaying 20 results from an estimated 60000 matches similar to: "best way override variables of parent providers?"

2013 Apr 29
2
checking puppet run status of node A during puppet run of node B
I have some middleware where the successful configuration of node B is dependent on the successful configuration of node A. Node B must pull additional information from node A during its configuration. Is there any built in functionality in puppet for checking the completion status of other nodes? Right now my intent is to write a custom function to query the puppetdb which is storing
2013 Jun 04
1
puppet DB providers
Hello, What would you think of moving database, database_grant and database_user types and providers from puppetlabs-mysql to its own module (puppetlabs-dbproviders for example) so that we can develop providers for others RDBMS ? I''d like to develop providers for postgresql, so I think it makes sense to put this types/providers in its own module. best regards, Mickaël Canévet --
2013 Jun 10
2
Best way to add APC and change size of apc.shm_size
Hello!! I am a new user to puppet and I need to use puppet to install apc and change the size of apc.shm_size to 64. I have found a module here: https://github.com/ridonkulous/puppet-apc However, when I add the module in, it does not work. I get errors on the puppet code. Is there a way to just install the apc package normally and just use puppet code to change apc.shm_size? Thanks in
2013 Oct 08
0
How to properly override manage_config_file parameter in puppetlabs-mysql module?
I''ve been using puppet for a while, and have built up quite a range of my own very (very!) basic modules to do what I need to do. Now I''m starting to delve into the world of puppetlabs and am testing the new puppetlabs-mysql module (2.0.0-rc3) and have a (probably) fairly basic question, about parameters and overriding them. I don''t want the module to manage the
2013 Sep 05
1
best practice
Hi everybody! So for non-automated physical/manual application of single specific patterns or sets of puppet patterns on an entirely manual basis, what is best practice and/or where is it described? Meaning what is the way to stop the puppet agent from running automatically and instead require a manual command for puppet to exercise on that node. If it is as simple as puppet apply
2013 Apr 05
2
Flush provider - Differentiating between new resource and modification?
Morning all I''m working on converting some of my NetApp providers to prefetch/flush style to try and optimize performance. I''ve hit an issue on my Netapp_user provider, around handling resource creation versus resource modification? What''s the easiest way to differentiate? Current code is here:
2013 Sep 27
1
Best of Breed Modules?
Well, I''m getting deeper and deeper into Puppet and loving it! I''m at the point, now, that I need to start standardizing on modules and I''m wondering whether someone can share their experience. I''ve been on Puppet Forge and there are so many modules to choose from! How do you go about selecting? Speaking of: any recommendations for good nginx, Java, Tomcat
2013 Feb 19
1
Functions for PuppetDB
Is this the best option for accessing puppetdb data from modules? http://forge.puppetlabs.com/dalen/puppetdbquery Any other recommendations? -- 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 puppet-users+unsubscribe@googlegroups.com. To post to this
2013 Feb 20
1
remove node parameters with dashboard rake api?
Is there a rake task for removing node parameters from the dashboard? The online dashboard manual is silent on the parameters related to rake tasks altogether. -- 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 puppet-users+unsubscribe@googlegroups.com.
2013 Jul 25
3
is there any way to see what are the resources exported by a node?
Hello folks, Is there any way to see what are the resources exported by a node when using puppetdb and exported resources. I am running puppet 2.7.22 and puppetdb 1.3 on Ubuntu 10.4. I have tried to use e API and its not working for me(see https://groups.google.com/forum/#!topicsearchin/puppet-users/puppetdb$20API$20v2$20is$20not$20working$20for$20me/puppet-users/WFo9YEw6oRo ) Anyone know
2013 Nov 04
1
Compile catalog against tagged version of a git repo?
I''m wondering if there is any feature that will allow puppet to compile a catalog against a specific tag of a git repo? -- 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 puppet-users+unsubscribe@googlegroups.com. To view this discussion on the
2013 Apr 23
4
Need help! Puppet could not request certificate: No route to host -connect(2)
Hello, I am installing puppet and keep getting this error [Puppet could not request certificate: No route to host -connect(2)] My DNS is resloving and i can ping the master from the agent. I have added this line to the iptables [iptables -I INPUT -s 192.168.1.20 -m tcp -p tcp --dport 8140 -j ACCEPT], where the IP is my agent. I have also added my master ip to /etc/puppet/puppet.conf Why
2013 Sep 30
2
best practice for managing multiple stanzas within a config file?
What is the best way to manage multiple stanza within a config file? For a splunk configuration file (inputs.conf) I need to manage some thing like [monitor://var/log] blacklist = someRegularExpression whitelist = someOtherRegularExpression [monitor://var/lib/ourApp] There can be multiple monitor stanzas and each may or may not have a whitelist or blacklist. I haven''t found any
2013 Jun 19
0
Pip provider fails on RedHat osfamily when pip not installed via RPM (Could not locate the pip command)
In resolving bug 15980, the pip package provider was changed to recognize the RedHat osfamily fact and use the executable name "pip-python" in those environments. This does not take into account environments where pip has been installed via easy_install or by custom rpm providers. In those environments (such as mine) this osfamily change breaks the pip provider, requiring as a
2013 Feb 22
1
Variables within Manifests question
Hello all Can someone please help me or answer if this is possible I''m using the puppet forge IIS module, and want to use variables within the syntax dependent up ip address for example: colo_a = 1.1.1.0 colo_b = 2.2.2.0 if $network_local_area_connection = 1.1.1.0 add colo_a elseif $network_local_area_connection = 2.2.2.0 add colo_b iis_site {''mysite.co.uk'':
2013 May 29
5
Developing custom type/providers for multiple OS
Hello all, I am developing a few custom providers for some features that I need into my system (such as dealing with different zipped files or generating some JSON data based on OS files) and I have hit into a question about "how to do this for multiple OS?" Lets focus into the zipped file provider that should provide a common method to pack or unpack zipped files (tar, tar.gz,
2013 May 14
2
puppet and custom nagios object variables
Nagios support "custom object variables" (http://nagios.sourceforge.net/docs/nagioscore/3/en/customobjectvars.html) buy prefixing them with an underscore: define host{ host_name linuxserver _mac_address 00:06:5B:A6:AD:AA _rack_number R32 } However, I can''t determine how to use these with puppet nagios resources. I''m assuming they aren''t supported, but
2012 Dec 06
3
Proper way to call variables from a parent class to a child class
I currently have a child class of a parent one. The parent defines some variable that I need to use in the child class. I am also using gepetto. Gepetto is complaining about the syntax of the child variable. It is saying that "$parentVar" should be "$::parentVar" however, when changing to what Gepetto wants to use this breaks my classes. Does anyone know the proper
2008 Nov 04
2
way to create a parent directory if it doesn't exist?
Is there any way to create a parent directory for a file if it doesn''t exist? Trying this: file { "/etc/crontabs/$title.crontab": source => "puppet:///crontabs/$title.crontab", ensure => present, owner => $user, recurse => true } but it''s failing because /etc/crontabs doesn''t exist. Thanks :) Tim
2013 Apr 24
8
Problem retreiving catalog
I updated some of my gems, and I think it may be the reason I am getting the following error when the agents try to retrieve a catalog. err: Could not retrieve catalog from remote server: Error 400 on SERVER: The single-table inheritance mechanism failed to locate the subclass: ''Host::Managed''. This error is raised because the column ''type'' is reserved for