similar to: access to databases in puppet - best practice?

Displaying 20 results from an estimated 1000 matches similar to: "access to databases in puppet - best practice?"

2007 Dec 06
1
order, managing one file and refreshonly
Hello! I''m quite newbie to puppet. I''ve got 3 questions: 1. I''ve noticed, that puppet apply defined classes/modules in specyfic order. I''ve got something like this im my configs: /etc/puppet/cf/manifests/site.pp: import "networks/*/site.pp" node generic_node { include "puppet" include "apt" include "debian" } ---
2008 Oct 16
5
virutal resources and ssh_authorized_key
Hello! I''ve got question - how to use ssh_autorized_key as a virtual resource? I''ve got bunch of users and ssh_authorized_key virtual resources, but only users gets to the target system - ssh keys not... I write something like: class admins { @user { "username": ... } @ssh_authorized_key { "username": ensure => present, key => "...",
2009 Jan 02
2
problem with custom funcion
Hello! I''ve written custom function split - it''s located in modules/common/ plugins/puppet/parser/functions/split.rb and contains: module Puppet::Parser::Functions newfunction(:split, :type => :rvalue) do |args| str=args[0] regex=args[1] idx=args[2] out=str.split(/#{regex}/) if out.is_a? Array out[idx] else "" end
2010 Apr 27
3
strange pson error...
Hello! What does this error means? err: Could not retrieve catalog from remote server: Could not intern from pson: Could not convert from pson: Could not find relationship target "Nagios_hostgroup[]" I cannot find it anywhere in my config... I have only 2 nagios_hostgroups, exported to server, then collected in nagios module. Any ideas? Cheers --- Grzegorz MarszaƂek
2008 Oct 16
1
puppet not creating users?
Hello! My problem is - puppet is not creating users... I''ve got class: class admins { @user { "graf0": ensure => present, uid => 1500, comment => "Full name", home => "/home/graf0", managehome=> true, shell => "/bin/bash", password => ''SOMEVALIDSHADOWPW'', tag => admin } } Then, in have
2008 May 12
8
Complex data structures in templates
Hi. I wonder if it is possible to use more complex data structures in templates than simple variables and arrays? I have been trying nested arrays, as well as nested arrays and hashes, but nothing seems to work (more specifically, nested arrays seem to be flattened into a single array). Having only simple variables and arrays is a little limiting. Something like the Perl-based Template Toolkit
2007 Nov 15
1
class dependency?
Hello! I''m newbie to puppet but I like it a lot :) I''m still trying to figure out how to write good manifests. And my problem is like this: I''ve got class samba-server - I''ve got there all settings I need for samba to behave properly in my network. I include it in nodes- definition on servers. Then I''d like to define shares - diffierent on each
2007 Dec 27
1
"fakeing" exported resources - is that possible
Hello! I''m trying to solve small problem - linux server AND windows clients AND managing this using puppet :) As far as I know puppet don''t work under windws, but I''m still using it on linux side. And I need some information from windows machines - ie.: info about what should I backup from each one. Of course one solution is to port puppet to windows - but for
2007 Dec 28
5
Still need help with ticket triage
As everyone probably realizes, I''m getting swamped with incoming problems and tickets and I still need help triaging the tickets. James Turnbull has volunteered to help some, but I think we need more than one person. We''ve had a few people step in once or twice, but I''d like to be able to depend on Unreviewed tickets getting handled by someone else, rather
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 =>
1998 Jul 29
0
Printing on a Window Client from AIX
Hi all... First, thank you to Matt Chapman for pointing out why I could not connect to a non-domain participating machine. I needed to have a local account on that machine (it wasn't checking back with the domain controllers as I thought it would). I guess I'm going to have to start venturing out of the UNIX world and into the NT one. Scary :-) Either way, I now successfully am
2009 Jul 15
1
[PATCH node] Changes the exit/continue based on context.
If the script is run during the system startup then it says "Continue with stateless boot". If the script is run from the command line then it says "Quite and Exit". Signed-off-by: Darryl L. Pierce <dpierce at redhat.com> --- scripts/ovirt-config-setup | 22 ++++++++++++++++++++-- scripts/ovirt-firstboot | 2 +- 2 files changed, 21 insertions(+), 3 deletions(-)
2007 Oct 10
5
Puppet ldapnodes issue
I am attempting to move our test puppet installation from looking for node information in a manifest to LDAP. I followed the instructions at: https://reductivelabs.com/trac/puppet/wiki/LdapNodes and was able to get the puppet schema loaded into our LDAP. I can now query LDAP and modify/load data without any issues using the OpenLDAP tools. e.g. ldapsearch -h ldapdev1.domain.com -x
2009 Dec 13
13
Inherited Client and Server Apps
So, I''ve been doing something like this for applications that have a client and server component... node base_node { include syslog_ng::client }} node app_node inherits base_node { } node syslog_server inherits base_node { include syslog_ng::server } ... because I want the client portion, syslog-ng in this case to be installed on everything. However, the server node also has a
2009 Jun 16
1
[PATCH node] Adds a log viewer option to o-c-setup. bz#506289
A new menu option to view the file /var/log/ovirt.log is added. If the file doesn't exist or is 0 bytes then a message saying the log is empty is shown. Otherwise, it's displayed using the less command. Signed-off-by: Darryl L. Pierce <dpierce at redhat.com> --- scripts/ovirt-config-setup | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git
2003 May 25
0
surprising behaviour of "bgroup": sets all in greek letters (PR#3099)
Let me summarize the bug reported by Ulf Martin on R-help with the same subject line. The code plot(1:10) text(1, 9, expression(F == bgroup("{", x, ""))) results in greek letters, which is not expected here. That happens if the user tries to set only a left delimeter, the same with: text(2, 8, expression(F == bgroup("{", x, "."))) or
2008 Nov 14
11
External_nodes definition not working. Client states "could not find node"
Hello folks, Im trying to migrate from static nodes-definition to external nodes definition. My script looks like this stolen from http://reductivelabs.com/trac/puppet/wiki/ExternalNodes: {{{ #!/usr/bin/perl -w use warnings; use YAML qw( Dump ); use Switch; #initialize vars our @classes; our %parameters; Function to fill @classes and %parameters with correct values .... print Dump( {
1997 Apr 24
2
R-alpha: Postscript bug ...
Jeez I dunno - it compiles perfectly and you guys get excited just because it doesn't work :-) I have to admit to being baffled about what happened (I'm SURE this was working not long ago), but here is a quick fix. The problem is in the function "GetCharInfo" in the file src/unix/PostScript.c. The fix is to change the statement if(nchar < 0) return 0; to if(nchar <
2004 Aug 12
4
truly object oriented programming in R
Good morning! I recently implemented a KD tree in JAVA for faster kernel density estimation (part of the code follows). It went well. To hook it with R, however, has proved more difficult. My question is: is it possible to implement the algorithm in R? My impression seems to indicate no as the code requires a complete class-object framework that R does not support. But is there an R package or
2013 Apr 26
1
Partner node reboot issue
Dear Team, I came across one problem in Oracle RAC Database server with OCFS2 file system. When I manually un-plug the Ethernet cable of primary node, the secondary node automatically restarted. Regards, Yuvrajsinh Chauhan -------------- next part -------------- An HTML attachment was scrubbed... URL: