similar to: Complex data structures in templates

Displaying 20 results from an estimated 400 matches similar to: "Complex data structures in templates"

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
2007 Dec 13
4
access to databases in puppet - best practice?
Hello! In my puppet configuration I need to get some data from database. Ie.: I''ve got information about my all hosts in db - thier name, mac addresses, ip addresses, what to backup from this host etc. For now it''s just .xml file, but it could be sql db, or ldap directory. Then, using this small "database", I want to generate configuration using puppet - ie.:
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
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" } ---
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
2011 May 13
1
ubuntu package installs
hello puppet list My puppet server is now working quite wonderfully. Thanks go out to all who have assisted in getting it to this point. At this point in time my config is now correctly installing packages according to arch,os and release. Centos is working quite well as of now, but I am attempting to get the ubuntu side of things to work as well. I am frankly more familiar with RHEL under
2008 Apr 04
7
User-specific sshd_config?
Hi. I wonder if it would be possible to implement support for a user-specific sshd_config. The primary reason is that I would like the ability to specify that I'm only allowed to login with a key pair, even though the system-wide sshd configuration still allows passwords for other users. Of course, a user-specific sshd_config file should not be able to break the security policy of the
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 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 =>
2006 Mar 06
4
One-way change
I''m developing an app, and I want to make a single boolean field OK to change from 0 to 1, but not allow 1 to 0. Seems like the model''s validate method would be the right place for this, but I''m not sure how to implement it. Any suggestions (actual or pointers to) are greatly appreciated. -- Posted via http://www.ruby-forum.com/.
2000 Mar 24
2
Samba-2.07pre2 still crashes under Linux and HP-UX
Jason Haar <Jason.Haar@trimble.co.nz> wrote: | Well I've just had a crash last night, and I've copies the log files off. | But I see nothing to suggest what happened. Also I've enabled core-dumps, | and no core dump exits, even though smbd died... | | If you look at the smb.conf file, you'll see I've put in a HUGE sleep | statement to be called via "panic
2007 Apr 16
4
You disappear for five weeks...
And someone goes and redesigns the look and operation of the Trac. Quite noice, but a couple of comments: * The main toolbar ("Wiki", "Documentation", "Timeline") ends up under the puppet logo on the left hand side, which is a pest. * I can''t click on any link, text box, or button in the main part of the page. All of the navigation links work fine, and I
2008 Apr 14
1
Custom SELinux file contexts?
Hi. Do anyone know of some place to put custom SELinux file context specifications? I would prefer not to append lines to /etc/selinux/targeted/contexts/files/file_contexts but rather put one or more similar files somewhere. A file_contexts.d firectory would be nice, but it isn't available. Just creating your own file_contexts.local file does not work, I already tried. I'm running
2008 May 05
1
SELinux policy module sources
Hi. I'm trying to figure out where the SELinux policy modules shipped with the system live, and how they work. The modules listed by 'semodule -l' are the same as those available in /etc/selinux/targeted/modules/active/modules, but those are not part of any package, and are presumably added and removed to this location as they are added and removed to the kernel. I later found
2001 Mar 20
1
Logon errors
Hello all, This my first mail in this list. We have succesfully setup a samba server at our 1st attempt, next we go in another site and try the same things but now it seems we got it all wrong! The facts: we have a linuxbox (named enlogic) (REdHat 7, kernel 2.2.18, samba 2.0.7)and one winbox win98se (named ndemou). Our workgroup is localenlogic. No other PC (not even a Hub because we've
2000 Jun 16
2
Samba and DNS
Panagiotis Malakoudis wrote: > > Here is my problem. I have a slackbox running samba 2.0.6 > that uses an NT wins server. I also have a DNS on linux. > Whenever my dns failes (for some reason) hosts that have no > entry on the DNS server but are indeed found on the wins > cannot connect to the samba server. They get "The network is > busy" and the smb log files
2012 Dec 05
2
[RFC PATCH] drm/nouveau: report channel owner in error messages
Full piglit run with this patch: http://people.freedesktop.org/~mslusarz/chan_owners.txt This patch covers only a small subset of all error messages, so: Not-yet-signed-off-by: Marcin Slusarz <marcin.slusarz at gmail.com> Comments? Ideas? (This commit depends on this one: http://people.freedesktop.org/~mslusarz/0001-drm-nouveau-split-fifo-interrupt-handler.patch ) ---