similar to: "fakeing" exported resources - is that possible

Displaying 20 results from an estimated 3000 matches similar to: ""fakeing" exported resources - is that possible"

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
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
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.:
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 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 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 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
2009 Mar 09
2
audio config freeze
When trying to configure Wine audio, system freezes & doesn't resolve after 3hrs. Spent a few late nights on forum threads, but no one seems to be mentioning similar problem. Installed latest Wine a few days ago, running Reaper audio under wine. Plays back fine, VST / VSTi's install & run mostly OK. MAudio Delta 192 soundcard with ALSA selected on all Prefs > Sound options.
2013 Sep 20
1
smbd 3.6.9-151 Red Hat EL 6 crashes from time to time
Hi, we still run a Red Hat EL 6.x samba-3.6.9-151 PDC with domain login, roaming profiles, Windws 7 clients and LDAP back end. In the last couple of weeks we notice some unregular crashes with abrt reports. But as an university our RH subscription dose not include the full support. I cant see any changes to the installation or configuration which might have an influence to the chrashes. So any
2004 Oct 27
2
Samba 3.0.7 domain membership with AD2003
hi guys, I have problems with authentification in a 2003 domain membership configuration of samba 3.0.7. I'm a newbie in linux systems, then I will give you my configuration process of the program. The samba server is installed on a Redhat 9.0 without any base install of samba, without kerberos and with the open LDAP RPM installed. I follow this procedure to build binarie from sources
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 =>
2002 Mar 05
1
Matrix identification bug (PR#1361)
Full_Name: Hao Yu Version: 1.4.1 OS: Windws and Linux Submission from: (NULL) (129.100.45.161) Hi, Recently we did some benchmarks regarding matrix inverse operation and found some strange things. See the following results (the package Matrix is most updated). 1. load the function Toeplitz and library(Matrix) "Toeplitz" function(x) { matrix(x[1 + abs(outer(seq(along = x),
2011 May 24
2
Can I write to wondows folder
Hi!I have Samba 3.2.5 as PDC for 20 users with windws XP now I need that 5 users can write into C:\windows folder from each machine in my LAN. I have a Administrators group with RID 544 and i added these users to this group but it doesnt work, I did the same adding to Domain Admin and didnt . There is a something way to give to these users access to can write into this folder Thks.
2008 Jan 09
1
removing exported resources
Hello everybody. I have a question about removing exported resources. How is this done? Does it happen automagically? If I do: @@file{"/tmp/bla": content => "blahs content", ensure => present, } and thus export "/tmp/bla" to another host does it vanish by itself as soon as I remove the definition, or would I need to state something like:
2007 Nov 13
7
Exported resources & exec ?
Hi, I''m sorry if that''s a FAQ, I also know exported resources are a still experimental. So my problem might well be a design limitation of how exported resources are working. My issue: I''m trying to export a file resource that is created by an exec block. The file is exported fine and collected fine but it is always empty on the other host. The puppet snippet: class
2014 Jun 04
1
samba4 and cups problem
Hello, My envirronement: Debian 7.5 Samba version 4.1.7 from backport Cups 1.5.3-5 I have upgrade from samba 3 to samba4 this morning. Since, I have some very strange error when I try to print or list the shared printer from a windows Server: Here is my syslog log file when I try to refresh the printers list from a Windws 2008 server. Jun 4 17:00:24 daisy2k11 smbd[22133]: [2014/06/04
2007 Jun 12
1
Cron not taking valid entries?
I changed one of my cron entries in puppet from: cron { nightly_restart: command => "/etc/init.d/something restart >& /dev/null", user => root, minute => "0", hour => "13", monthday => "*", month => "*",
2008 Aug 14
1
multiple functions in one file?
Hi there, just to be sure: http://reductivelabs.com/trac/puppet/wiki/WritingYourOwnFunctions says that "The file name is derived from the name of the function that Puppet is trying to run." Is this still true? I ask because I currently write a set of math functions (min,max, plus, minus and so). My first try was to create a math.rb, where I had: module Puppet::Parser::Functions