search for: dasz

Displaying 20 results from an estimated 27 matches for "dasz".

Did you mean: das
2009 May 31
9
No more than one "instances" of a type in define()?
Hi folks, when I try to do something like: define railsproject($name, $uid, $gid, $userpass, $sqlpass) { mysql_database { "$name_staging": ensure => present } mysql_database { "$name_production": ensure => present} ....more stuff... } I get: Puppet::Parser::AST::Resource failed with error ArgumentError: Duplicate definition: Mysql_database[] is already
2010 Jul 07
7
inventory of managed resources
Hi, are there any good ways of scripting an inventory of managed resources on all nodes? I''ve found the inventory script by R.I.Pienaar ( http://www.devco.net/archives/2010/02/26/what_does_puppet_manage_on_a_node-2.php) which does what I want but only locally on each client. Is there any native way of syncing the client_yaml data centrally or any other way of doing this? I need a
2013 Jun 05
4
agent prepend every line with var
How would I prepend every log line output with a [var] when I run: var=<myvar> puppet agent -t -o -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To post to this group, send email to
2010 Jun 04
3
Simple config question
Most of my machines are pretty cookie-cutter, so I have one class and config file setup for different services. For example, pretty much have one hosts.allow that goes out everywhere. However, there are always exceptions. So I have 3 hosts that have similar configs but have more things open, so what''s the ''best practice'' way to centralize those? Do I really need to
2010 Jul 05
1
Autoloading Capitalized Classes
Why doesn''t puppet autoload modules with capitals in the class names? Jul 5 09:55:54 s_sys@test01.sjc.xxx.com puppetd[6527]: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not find class repo::centOSBase in namespaces repo::common at /etc/puppet/modules/repo/manifests/common.pp:8 on node test01.sjc.xxx.com Change ''centOSBase'' to
2012 Jan 26
3
Puppet Dashboard 1.2.5 Available [security update - moderate]
Welcome to the first Puppet Dashboard maintenance release of the new year. This release includes a security update to address CVE-2012-0891, a XSS vulnerability discovered by David Dasz <david@dasz.at>. We have classified the risk from this exposure as moderate. All Puppet Dashboard users are encouraged to upgrade when possible. Puppet Enterprise users should visit http://puppetlabs.com/security for links to hotfixes and/or patches for their release. For more information, p...
2012 Sep 03
3
Puppet runs extremly slow on 1 of 18 Windows Server
Hi, We have 18 Windows Server in the same environment. All Windows Server are build with an individual Windows Image, we created before, which means, that all Windows Machines have the same configuration except ip/mac address and hostname. 17 of those Windows Server run Puppet within 120 seconds per run. But one of those Server took 49 hours for the run...the second one wasn''t
2009 Nov 26
26
Module Execution Order
So.. I''ve been fighting with trying to get puppet to include/execute module in a certain order for several weeks now. I kind of have something hacked together, but it scares me a bit since I don''t know exactly what is happening. I don''t suppose there''s still an easy way to do this....? Doug -- You received this message because you are subscribed to the
2010 May 19
4
How Does the Interaction Between Facter, Clients, and the Server work
Group - I''m putting a presentation together for $work (a large .gov) and I want to make sure I get my facts (pun intended) straight ... Are the following steps for Facter-Client-Server interaction correct (I have a feeling not): 1. Client puppet run is initiated (via regular schedule, puppetrun, or puppetd) 2. The client contacts the server and downloads any custom facts it does not
2010 Mar 02
2
Nagios based on David Schmitt's Complete Config : variables are empty
Hello ! I''m trying to implement a Nagios solution based on David Schmitt''s Complete Config. But I the following error when running puppetd -t - v : notice: Starting catalog run err: //Node[monitoring]/nagios::target/Nagios::Host[]/File[/conf.d/ _host.cfg]/ensure: change from absent to present failed: Could not set present on ensure: No such file or directory - /conf.d/
2009 Dec 08
5
Cleaning Out Stored Configs
Hi, We''re using thin stored configs heavily to manage things like Munin and Nagios and we''re currently wondering what to do when nodes go away, or change considerably. If we get rid of a server then all it''s stored config is still present in the database, as well as it''s nagios and munin configurations. We created a script that iterates through the database
2010 Apr 06
15
Why we wont use zpool ever again
Hi everyone, Just wanted to tell you a little story. We''ve been enthusiastic puppet users since about a year ago here at the Geographic Institute of the University of Zürich. But we won''t use the zpool type ever again. Its just not worth it. Here''s what happened: . one of our servers lost knowledge about one of its zfs pools . puppet didn''t find the pool
2010 Apr 23
6
/etc/passwd, shadow, group, hosts
Hello All, I''m new to puppet, and I''d like to know: Is there a formal best practices guide for syncing { /etc/passwd, shadow, group, hosts} across clients from the master? For instance; is it a better practice to make a hard link to these files and share the link, as opposed to just sharing the files directly via a target in fileserver.conf? Inquiring minds want to know...
2010 Jun 06
19
Collecting _all_ ssh keys
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Hello, I read and find a way (well, there seems to be several equal implementations) to collect the ssh keys of machines. However they all give only the choice to choose between the key formats. But is there a way to collect both keys of a machine, the rsa _and_ the dss key (and maybe the rsa1 too)? I didn''t find a way to solve this as
2012 Jul 23
6
librarian-puppet vs git superproject?
Can anyone comment on their experiences with librarian-puppet or using git superproject with per puppet module repositories? We are in the midst of determining which route is optimal for our environment. It seems like using git superprojects would mean one less new tool for everyone to learn. What then would be the advantages of librarian-puppet? Thanks, Ryan Bowlby -- You received this
2010 Aug 06
7
using puppet ssl certs for other applications
Hello, As I''ve been building up my puppet infrastructure, I''ve started using puppet certs for all of my services that require ssl. Usually this is in the form of links: file { "/opt/syslog-ng/etc/ca.d/b2457b50.0": require => Package["syslog-ng"], ensure => link, target =>
2013 Feb 18
8
Error with service: "invalid byte sequence in US-ASCII"
I just built a new puppet master, and whenever I run puppet on it, it throws an error while processing a service resource: # puppet agent -t > Info: Retrieving plugin > Info: Caching catalog for i-45dc2b1d > Info: Applying configuration version ''g > 9ea47ad19bc706a754c00f00a024309948d3ea03'' > Error: /Stage[main]/Ipa::Client::Basic/Service[sssd]: Could not
2013 Jul 09
9
One resource immediately after another
I need to apply three resources one immediatelly after another. It''s a ifdown/ifup commands, and command to generate /etc/network/interfaces file. I need to do ifdown, then rebuild interfaces, then ifup. I try to add simple relationship, but in this case some File resources are trying to be applied between ifdown and ifup. So they can''t connect to Puppet master to verify
2013 Apr 25
3
problems ensuring that a service is absent
Hi, I''m trying to be really, really sure that a specific service is not running. The central part of this looks like that: service { ''foo'': ensure => stopped, enable => false } -> package { ''foo'': ensure => purged } The astute reader will notice that on the second run puppet will complain that the init script for foo is
2009 Sep 29
5
Running puppet as non-root => getting rid of all those ownership warnings
I''m using puppet to manage configs on machines where I don''t have root access. Whenever I use a File resource where the source is a puppet:// resource, I get tons of warnings when I run puppet that look like: Cannot manage ownership unless running as root True enough, I''m not running as root, but I also didn''t specifically mention a "owner"