similar to: calling_module vs module_name ?

Displaying 20 results from an estimated 1000 matches similar to: "calling_module vs module_name ?"

2012 Oct 26
5
hiera broken in puppet-3
is anybody using hiera with puppet-3 and per-module hierarchy? it seems calling_module/calling_class is entirely broken now. see: http://pastebin.com/CfbW5Kcu and #16730 and PR1214 (which only fixes backend_puppet i think). anyone has some unofficial patches? because i''m just stuck in migration :( please don''t advise me to use data bindings as there is no way to use them in
2013 Jan 25
4
Dynamic yum.conf 'exclude' line
Hi All, I have finally switched to using hiera (worthy goal!) and I am looking for a flexible way to manage the ''exclude'' line in /etc/yum.conf. I want to be able to specify from different classes RPMs to be excluded in /etc/yum.conf, then build the exclude line from all those classes that set an exclude. In my hiera hierarchy, I use %{calling_module}, but I actually modify
2013 Aug 29
10
Hiera and hiera-gpg
I am having a bit of difficulty implementing hiera-gpg; particularly with accomplishing the deencryption in my manifests. Can anyone either provide a simple example or point me to a good resource? I have searched alot and am still struggling. Any help would be very appreciated! Thanks! Bee -- You received this message because you are subscribed to the Google Groups "Puppet Users"
2011 Sep 21
2
Two parameterized classes calling both a thirth class (results in already defined)
Hi all, I have three parameterized classes, named mq, mq_gsk and apache. The mq class always calls the mq_gsk class, but the apache class should only call the mq_gsk class when the mq class is not used in a hosts'' node definition Here is my configuration class mq ( $gsk_version = undef ) { require mq::params < ..... > class { ''mq_gsk'':
2010 Aug 17
0
[LLVMdev] LLVM Makefile MODULE_NAME error
Hi, I am working on compiling vmkit but have run into an error which seems like something that maybe the llvm community would have a better idea of how to solve than vmkit's. The issue is when vmkit is built to compile the MMTk garbage collector it must use the llvm-gcc compiler, at which point MODULE_NAME is defined instead of LIBRARYNAME. This results in the following error
2012 Apr 25
3
Exec and snmpd restart question
Hello Pros and users of Puppet. I have two problems with the following modul setup: My first problem that i tried every combination of require,notify,subscribe for the mail sending exec but it runs every single time when i run the module no matter if the files changed or not. Second problem that puppet reports that snmpd was refreshed by two resource and restarted but actually it doesnt happen.
2004 Feb 24
2
ssh and rsyncd.conf
I am able to perform the following line rsync -rsh="/usr/bin/ssh" filename host:/dir/filename But I am not able to perform this rsync -rsh="/usr/bin/ssh" filename host:module_name where rsyncd.conf contains the following pid file = /var/run/rsyncd.pid log file = /var/log/rsyncd.log read only = false [module_name] path = /home/test comment =
2012 Sep 26
6
Puppet 2.7, hiera 1.0 and hiera as an ENC
This is the situation I have: All my hosts are the* same OS.* All my host are in the* same puppet environment,* so I cannot use %{environment} I have a module that sets all the *basic* functionality for the OS, resolution, authentication, security, packages, etc I have a module for each application hosted. At the moment all the ''data'' is in Puppet, mostly in parametrised
2007 Apr 30
2
Structuring a rails application
I try to structure my rails application with modules, but i have problems to define the routes. Is'' it possible to use someting like this: <%= link to ''...'', :module => :module_name, :controller => :ctrl_name [...] -%> ? The controllers i want to access are in app/controllers/module_name. I thougt i could define something like this: map.connect
2018 Aug 08
2
[PATCH nbdkit] python: Try harder to print the full traceback on error.
The tracebacks are compressed into a single line because we're using PyObject_Str, but they are just about usable if not very readable. For example you would see an error like this: nbdkit: error: ./python-exception.py: config_complete: error: ['Traceback (most recent call last):\n', ' File "./python-exception.py", line 54, in config_complete\n raise_error1()\n',
2013 Apr 03
1
Using single hiera hash for two create_resources, and mounting filesystems
I am trying to use the same hiera hash to create the mount point and mounts. (Would be nice if mount could create the mount points using 3.1.1) My plan was to define create_mount_points and use create_resources with the same hash, and just though away what I dont use.... maybe there is a better means? Here is the mount class: class fstab::mounts ( $config = undef ) { $defaults = {
2002 Jan 18
1
Problems with spaces in filenames in scripts
I've got some (bash) shell scripts which I'm using to call rsync based on command-line options passed to the script. The problem I'm having is with spaces in the filenames/paths. I can do: --- rsync -rav --modify-window=2 --stats --partial --compress --timeout=30 "localhost::module_name/dir/file with spaces.doc" "/smb/dir/dir with spaces/" --- on the command
2006 Nov 23
3
dynamic mapping in controller
Hi, I have used scaffold to create my rails project and hence I have a database containing a table called "results" and when i call the "show" action followed by the ID it brings up a list of the relative record and its details. What I want though is for if someone types in say localhost/results/etab-mobile that it maps dynamically to localhost/show/1 but keeps
2010 Mar 16
1
hard to define
Hi all. I am trying to use debian package preseeding within my modules. Therefor I have created a preseed_package.pp like: define authentication::preseed_package ( $ensure ) { file { "/var/local/preseed/$name.preseed": source => "$module_path/files/$name.preseed", mode => 600, backup => false, require => File["/var/local/preseed"], } package {
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
2013 Mar 19
1
User Groups (hadnling undefine groups)
I am trying to handle in my user class assigning user to groups, and handling that some groups might not be defined for that node. Example here is handling a non-datase node, "juser" fails with "Error: Failed to apply catalog: Parameter groups failed on User[juser]: Group names must not be empty. If you want to specify "no groups" pass an empty array" even in
2012 Aug 14
4
hiera command line performance
Hi everyone, The hiera command line program (version 0.3.0) is currently taking around 2 seconds per invocation. This seems quite slow to me, but is probably not an issue for most users. We have a number of legacy machines that for one reason or another have not been puppetised yet, and probably won''t be anytime soon, so I have a somewhat clever script that, for each of these
2002 Feb 19
2
No subject
Hi, I'm a new R users (although I have a little experience with S+). I am using the latest version (1.4.1) of R on a Windows 2000 system. I have obtained several of the additional R packages ("modules") and would like to know how to permanently install them. What I am after is something similar to the following in S+ > .First <- function() { module("module_name")
2013 Mar 08
2
multiple pamameter values in puppet dashboard ENC
Is there a way to use send multiple parameter values using puppet dashboard ENC? For example, nameserver = 10.0.0.1, 10.0.0.2 or perhaps nameserver = [''10.0.0.1'',''10.0.0.2''} then the template erb file can loop through each of the nameserver values to set up mulitple nameservers in resolve.conf? Thanks - Oli -- You received this message because you are
2007 Feb 09
12
Module Organization
This is in reference to David Schmitt''s writeup [1] I like that writeup a lot; I just had a few comments/clarifications: * Namespaces: For now, we just use a flat namespace for modules, i.e. you can''t have modules within modules, and you always know that in a fully qualified name ''foo::bar::baz'' that ''foo'' is the module name and