similar to: Add file size/md5 validation

Displaying 20 results from an estimated 30000 matches similar to: "Add file size/md5 validation"

2011 Jul 12
4
Possible bug? Can't remove and then put back a file?
This happens to Puppet 2.7.1 (both master and client). I have a file resource that I set to ensure => absent, Puppet removed it correctly with info line that it has a duplicate entry in the filebucket. I then changed the ensure => present, the agent run gave me following error: /usr/bin/puppet:19 err: /Stage[main]/Emb/File[/opt/jetty-distribution-7.4.2.v20110526.tar.gz]/ensure: change from
2013 Jun 25
1
mtime/md5lite with puppet 3.x bug Bug #13199
Hello List, I´ve tried to switch from md5 checksum to md5lite within all my configuration to spare a few cpu cycles on my master, but it didn´t work at all :-( Then I´ve found out about bug #13199, but the bugs lists only 2.7x as affected. can anybody confirm this issue on 3.x? funny that the bug isn´t anywhere on the roadmap at all .... I´d suggest to remove mtime/md5lite from the
2010 Oct 29
14
require service started at another node
Hello, Anybody now how make with puppet dependence on other service on another node? like : require => Service[dbnode:postgresql] I need ensure that the db is running on another node before start my appserver. Thank you. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to
2010 Nov 17
5
centos add user failed
Hello, I have problem with creating user under centos: part of my class: user {jboss: ensure => present, home => "$jboss_home", shell => "/bin/bash", groups => jboss, } and in log I see: err change from absent to present failed: Could not create user jboss: Execution of ''/usr/sbin/useradd -d
2010 Nov 11
7
Problem with modules
Hello. I use puppet 2.6.3-rc2 Now I try move my classes to modules. But I got a problem that Puppet does not sees modules. in puppet.conf: [main] logdir = /var/log/puppet rundir = /var/run/puppet ssldir = $vardir/ssl libdir = /opt/puppet-dashboard/lib/puppet modulepath=$confdir/modules In nodes : node postgres { include basesystem include postgres } In
2010 Dec 22
3
filebucket questions
Hi everyone, I''ve got several questions that are most probably obvious to some of you but I''m actually a bit ''in the fog'' about filebucket. backup are done on a md5 basis so 1 file is generated whatever the number of clients if it''s the same md5. That a really good option. On the other hand let''s say that after 3 months I need to restore a /
2010 Sep 07
5
Module availability, loading order
Hi, I have create the following module: modules/foo `-- manifests |-- definitions | `-- line.pp `-- init.pp $ cat modules/foo/manifests/init.pp import "definitions/*.pp" $ cat modules/foo/manifests/definitions/line.pp define myline($file, $line, $ensure = ''present'') { .... } I try to use the definition in a class: class testfile { file {
2012 Mar 28
4
Hash iteration order in a template not consistent
Hi, I did some basic googling, but didn''t find an answer yet. I am sorry if this is a FAQ. In a manifest for creating an Apache config file, I define a hash like this: $aliases = { ''/foo/'' => ''/home/foo/www/'', ''/bar/'' => ''/home/bar/www/'', ''/baz/'' =>
2010 Aug 31
23
Puppet + APT, I am lost...
Hi, For the past week, I have been trying to figure out the best way to do package management with Puppet on an Ubuntu system. I have studied many solutons I found on the web, but none of them seem to do exactly what I want. Among other things, I have tried everything that is discussed here: http://groups.google.com/group/puppet-users/browse_thread/thread/af7349171a5821a4/db96b809c97f6006 but
2012 Jun 20
12
Could not run Puppet configuration client: execution expired
Hello, I''m running Puppet 2.7.6 and currently expanding the number of servers managed by Puppet. At around the 160-170 host mark (with a 5-minute run interval + splay), my puppetmaster server is starting to die. Is this normal? What I''m getting in the agent logs is the following: Wed Jun 20 12:15:08 +0200 2012 Puppet (debug): Failed to load library
2011 Mar 09
4
prerun_command don't stop puppet on error
When an error occurs in prerun_command, puppet continues execution instead of stopping. We can see the error at the log file, but puppet cotinues doing changes: puppetd[18430]: Failed to prepare catalog: Could not run command from prerun_command: Execution of ''/path/to/command'' returned 1: We want to prevent changes when an error occurs in prerun_command. Our puppet.conf:
2010 Sep 02
3
puppet file recursion requires two passes to converge
Hi, So for awhile I have been seeing this issue but it hasn''t been painful. However, recently I have been deploying a new module that has made it much more annoying. file { cdh3_config: recurse => true, ignore => ".svn", checksum => md5, notify => Exec[hadoop_alternatives], require
2007 Jan 25
9
Constant directory checksum changes
notice: /subject.sol1.net/virtual_mail_server/File[/etc/postfix]/checksum: checksum changed ''{time}Thu Jan 25 16:31:08 EST 2007'' to ''{time}Thu Jan 25 16:36:39 EST 2007'' I know there''s something weird in the directory modification detection that causes the next run after things actually change to suffer from this problem, but I''m getting it
2011 Mar 11
9
Why is it so hard to make a sane nagios server config?
I''ve tried to achieve my overall goals with several different features of Puppet, but I''ve hit a bit of a wall here. I think it''s time for me to explain what I''m trying to accomplish: I want the enabling of a service in my manifests to configure the monitoring of that service by a nagios server, without needless repetition. Let me explain how my
2007 Dec 18
5
improving "file" to support http
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hey, would it be very hard to improve file''s source parameter to support downloading a file from a http server? I got some quite huge files (~100MB) to distribute and update on each of the servers, so doing this with puppet:// is a mess (and mostly failes with the known buffer error). Yours, Phillip -----BEGIN PGP SIGNATURE----- Version:
2011 Jun 30
4
using memorysize fact in manifests
Hi, I want some config depending on memorysize. What I tried was if ($memorysize >= 256 * 1024*1024) { ... } But this fails because $memorysize is a string (and contains a "G") and can''t be compared to an int. Are all facts strings? How do I work with numbers? regards, Andreas -- Andreas Kuntzagk SystemAdministrator MDC Berlin / BIMSB Tel.: +49 30 9406 2997 --
2013 May 27
2
Puppetdbquery 1.1.0, now featuring hiera backendception
I just released dalen-puppetdbquery 1.1.0, one cool new feature in this release is a hiera backend. So if you have a puppet class that takes a list of hosts as a parameter you can now fill it using dynamic data from a puppetdb query. No need anymore to modify the module itself or create a wrapper class around it to do the puppetdb query in. It requires another hiera backend to be active at the
2009 Mar 25
5
Subscribe to a recursive file...
Hi All.... I''ve got this configuration to manage bind, I want the exec to be run whenever anything under /var/named or the file /etc/named.conf gets updated.... file { "/etc/named.conf": owner => root, group => root, mode => 0644, require =>
2013 Dec 09
2
audit
Assume the following question is in regards to Puppet 3.3.2. So my question is in relation to audit. file { ''/some/random/path/through/the/tree/to/a/file'': owner => ''luke'', group => ''rebelalliance'', mode => ''0444'', audit => all } And more specifically: will the named file be force-owned to luke with the
2010 Nov 10
4
Custom facts in current and old environments
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Hello, I read that there is several problems about custom facts on this list. However, none is serving my task exactly so I start another. (Topic »custom facts in legacy puppet 0.24.[89]« is the might be the same issue but that gets no answer.) My problem is that I have to serve clients with different versions of puppet. The systems running ubuntu