similar to: Finding a manifest full file name (with path) in a function?

Displaying 20 results from an estimated 9000 matches similar to: "Finding a manifest full file name (with path) in a function?"

2012 Jul 12
15
How can I list classes available on the puppet master?
Is there a way to get a list of all the classes available from the puppet master? I have 2 goals for this - one is documentation in a human readable form, and the other is potentially importing that data into dashboard. I did find some info on the rest API (http://docs.puppetlabs.com/guides/rest_api.html#resource-types ) but I can''t make any sense of the output from it. Thanks.
2013 Mar 28
3
Staging content from modules for temporary use by resources
Hello, I would like to find a few to use files available in a module for the execution of a particular resource, without having to stage the file explicitly onto the client and possibly having to clean it up afterwards. (This could also apply to content coming from templates.) The use-cases I have in mind are: running a SQL file (to set up some content in a database), extracting an archive
2012 Mar 06
2
Long config retrieval on nodes
Hi all, hoping someone may have encountered a problem similar to this before: On my customer''s EC2 based infrastructure, we have implemented the nodeless, truth driven module outlined by Jordan Sissel here http://www.semicomplete.com/blog/geekery/puppet-nodeless-configuration. It''s quite an effective model, especially in the realm of EC2... we still have a puppetmaster
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
2013 Nov 26
37
get a *structured* version of the puppet agent output
puppet agent --verbose shows a verbose output of the changes done by puppet, such as: notice: /Stage[main]/Logstash::Config/Logstash::Configdir[agent]/File[/etc/logstash/agent/config]/owner: owner changed ''root'' to ''logstash'' notice: /Stage[main]/Varnish/Service[varnish]/ensure: ensure changed ''stopped'' to ''running''
2013 Jun 22
4
ActiveRecord::Base.transaction - SystemStackError - stack level too deep:
Im having an issue that seems to only happen when trying to use a transaction. Ive used transactions many times in the past and Im at a loss as to why im getting the stack level too deep problem. SystemStackError - stack level too deep: actionpack (3.2.13) lib/action_dispatch/middleware/reloader.rb:70:in `'' I have a StackOveflow with more detail -
2006 Feb 21
4
Select error
This code: <p> <label for="resource_type">Type</label><br/> <%= select(:resource, :type, %w{ Web Data }, { :include_blank => true }) %> </p> Produces this error: TypeError in Resources#new Showing app/views/resources/_form.rhtml where line #6 raised: wrong argument type String (expected Module) Extracted source (around line
2012 Dec 20
3
Whats the best approach to create a repo of the installers to be used for installing and upgrading in the puppet managed nodes
Lets take the example, I am having a jboss-4.2.3 installers as a .tar file. In general to install jboss, i ll 1. untar the jboss-4.2.3 into a prefefined folder (opt/server/jbossas/) into multiple servers 2. untar the openjdk into a preferined path (/opt/software/java)set the path in the bash.profile 3. Create server profile in the place where jboss is installed 4. Start the server. Lets say
2006 Jan 03
1
RequireResourceHelper for JS and CSS
The following was posted on my blog at http://blog.inquirylabs.com. A friend of mine recently expressed interest in this code snippet, so I thought I''d send it out to anyone else who''s interested. This module makes it a lot easier to ''require'' javascript and cascading stylesheet dependencies inside your views or controllers. By
2009 May 22
1
[PATCH server] fixed smart pool 'save' regression.
The recent refactoring didn't work properly for new smart pools, so I've cleaned jup the parameter handling for the various pool 'create' actions. Signed-off-by: Scott Seago <sseago at redhat.com> --- src/app/controllers/hardware_controller.rb | 5 +---- src/app/controllers/pool_controller.rb | 6 ++++-- src/app/controllers/resources_controller.rb | 6
2013 Nov 28
2
File handling
Hi There, I am trying to do the following using puppet 1. Create a dir call mydir 2. Download a file from internet using Exec 3. Change the mode of the file 3. Install it and ensure running and service is enabled. 4. Delete it the installer file. When I do this until 3 rd step I am fine. But when I create the file resource again for deleting the installer files, it says it is already
2007 Jul 12
15
Ruby Gems and Rails
Hi, I think this has been discussed previously on the list, so apologies if I''m covering old ground but I''ve been using puppet to manage a few Rails applications which have dependencies on quite a few gems, so it''s getting to be a bit of an onerous task to manage them. It looks like the command line interface to gems doesn''t really support automated
2010 Apr 30
5
Using classes from extnode to define config files?
Hi all, I''m using cobbler as our external node manager and it''s working really well (including deployment of ActiveMQ from RI''s RPMS and Mcollective - blog post coming soon!) however I''ve run into a problem with exim configuration files. We use exim in a number of different configurations depending on the role of the server (webserver/antivirus/outbound
2016 Apr 11
1
[PATCH] RFC: php: support PHP 7
Adapt to the API changes in the newer versions of the Zend framework, in particular regarding: - strings handling - resources handling (used for the guestfs_h pointer) - iterating in hash maps - data types for function arguments Introduce helper macros to reduce greatly the amount of #if's all around the generated C code. --- generator/php.ml | 96
2012 Oct 23
1
Git clone manifest for windows puppet clinet
Can anybody help to come up with a manifest file, which should instruct a puppet client running on windows to clone a repository from github directly to puppet client? Great thanks for help! -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit
2012 Oct 10
1
Set a windows environment variable from manifest
I want to setup java jdk and maven and need to set some environment variables that stick around after reboot. I also need to add to values to the path variable so I can call via the command line. What''s the best way to set permanent environment variables for windows via the manifest? Is there a custom type for this? Corey -- You received this message because you are subscribed to
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
2011 Feb 24
5
Config Deployment: baseline manifest to all hosts, different sudoers,autofs..etc(manifest) to hosts, by hostname?
Hi all, I think this has been asked in one form or another, but my problem so far is i''m not sure of the terminology or nomenclature to use in my search string to find out my answer... So, here is my question.. I have lots of systems/instances, like most of us, and like most of they are spread across different tiers and environments. ie. dev/stg/prod i''ve setup my puppet
2011 Aug 01
4
Temporary requirements
Hi, I''m quite new to Puppet.. I''m wondering if someone could point me in the right direction regarding the best way to manage a temporary requirement within Puppet? The scenario is, every server in our estate of Debian machines requires some monitoring software which is not provided as a Debian package. So we have a Puppet class, monitor::install which we include to distribute
2013 Jun 20
3
Apply a specific manifest on agent
Hi All, I am new to Puppet and I am wondering if there is a way to just apply a manifest one-time (present on the master, not included in site.pp) on an agent node without having to edit site.pp? It''s like I want to run a command on the agent that will do this for me. Something analogous to "puppet apply <manifest>" except that the manifest is not locally present on