similar to: Delete directory contents if this is older then ..

Displaying 20 results from an estimated 30000 matches similar to: "Delete directory contents if this is older then .."

2013 Jul 10
3
Recommended method of running puppet periodically on mac os x
Hi, I tried asking this question on ask.puppetlabs.com, but haven''t got any responses yet: https://ask.puppetlabs.com/question/1975/recommended-method-of-running-puppet-periodically-on-mac-os-x/ Is there some source of puppet & mac os x knowledge that I''m unaware of? I was kind of hoping that the ''osx'' tag on ask.puppetlabs.com would become that.
2013 Apr 10
5
Managing multiple nagios servers with puppet and virtual resources
Hi, For several years, we have @work had a puppet environment where when we add a new host/node, some basic monitoring is fed through to a nagios server using virtual resources and an old nagios class which either someone here wrote themselves, or found on the internet at the time. We are trying to move away from the existing puppet environment for a number of reasons, and using this as an
2012 Jun 04
3
Update .k5login with Puppet
Hi, can you anyone suggest me how can i update .k5login to append new entry or remove existing line when i tried using k5login { ''/root/.k5login'': ensure => present, path => ''/root/.k5login'', principals => ''dhaval@MYREALM.COM'', } it completelty removes all lines form k5login and put
2012 Mar 23
3
Puppet Windows exec
Hi, Is it correct that it''s not possible to excecute Windows Commands directly with the puppet run? For example: exec { ''ExecCreatedFolder'': command => "mkdir C:\PuppetOrdner\ExecCreatedFolder", } I allways have to bind it with a .bat file right? file { ''c:/PuppetFolder/puppettest.bat'': ensure => file,
2013 Nov 26
37
get a *structured* version of the puppet agent output
puppet agent --verbose shows a verbose output of the changes done by puppet, such as: notice: /Stage[main]/Logstash::Config/Logstash::Configdir[agent]/File[/etc/logstash/agent/config]/owner: owner changed ''root'' to ''logstash'' notice: /Stage[main]/Varnish/Service[varnish]/ensure: ensure changed ''stopped'' to ''running''
2013 Mar 20
3
How does puppetlabs-lvm determine if a filesystem is absent?
We had puppet turned off on a host for a few days, and when we turned it back on, we started seeing: (/Stage[setup]/Foo::Filesystems/Filesystem[/dev/data_vg/foo_lv]/ensure) change from absent to present failed: Execution of ''mkfs.ext4 /dev/data_vg/foo_lv'' returned 1: mke2fs 1.41.12 (17-May-2010)#012/dev/data_vg/foo_lv is mounted; will not make a filesystem here! It''s
2013 Sep 13
27
[windows server 2008 r2] puppet errors in 3.3.0 on exchange database servers
Hi, i recently updated our windows 2008 r2 servers to puppet 3.3.0 . Im getting the following error* (only on our exchange 2010 db servers)*ever since: LevelMessageSourceFileLineTimeerrCould not retrieve local facts: undefined method `gsub'' for nil:NilClassPuppet13.09.2013 15:12 CESTerrFailed to apply catalog: Could not retrieve local facts: undefined method `gsub'' for
2013 Jan 29
7
Seriously, am I the only one having trouble with the RHEL puppetlabs repos?
This is the third time I''ve sent a message about this. Does anybody know what''s going on? I''m going to file a bug if this isn''t fixed soon. RHEL6: http://yum.puppetlabs.com/el/6/products/x86_64/repodata/primary.sqlite.bz2: [Errno -1] Metadata file does not match checksum Trying other mirror. Error: failure: repodata/primary.sqlite.bz2 from
2013 Apr 13
6
facter doesn't load from /ect/facter/facts.d
I''m trying to load custom facts via /etc/facter/facts.d/* according to instructions on http://docs.puppetlabs.com/guides/custom_facts.html#structured-data-facts I must have missed a setting somewhere because I get nothing. The first clue may be that /etc/facter didn''t exist. I had to create it manually. Is there a setting or search path I need to create? Details: puppet
2013 Aug 27
3
Puppetdb module installation error -
Is the module puppetdb from the forge still correct ? Every time I try to install puppetdb from the puppet module ("puppet module install puppetlabs/puppetdb"), i got a warning : *Warning: cprice404-inifile is deprecated; please update to puppetlabs-inifile* How may i install the puppetlabs-inifile instead of cprice404 ?? -- You received this message because you are subscribed to
2013 May 31
4
AD user add to local windows group?
Pardon my noobness to this, but is anyone able to get around this issue<https://projects.puppetlabs.com/issues/15326> ? group {''testgroup'': ensure => present, members => ''DOMAIN\user'', name => ''test'' } Yields OLE error code:8007056B in Active Directory A member could not be added to or removed from the local group
2013 Oct 11
6
puppet class if
Hello, I created puppet class and I want the file operation to be executed on all servers but not on server with hostname "''server1.domain.com". I tried this class, but it does not work. Is there any other way? Thanks class test { if $hostname != ''server1.domain.com'' { file { "/etc/ntp.conf": owner
2013 May 31
22
ruby issue
Hi, I am having problems installing Puppet Server. My gem list follows and then the attempt to install puppet-server. The specific errors are: Error: Package: puppet-3.2.1-1.el6.noarch (puppetlabs) Requires: ruby-augeas Error: Package: hiera-1.2.1-1.el6.noarch (puppetlabs) Requires: rubygem-json Error: Package: puppet-3.2.1-1.el6.noarch (puppetlabs)
2013 Dec 04
10
MySQL server install with datadir != /var/lib/mysql
Has anybody sucessfully used puppetlabs-mysql (or some other method) to install MySQL-server on Linux with a my.cnf where datadir != /var/lib/mysql ? -- 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 view
2013 May 28
5
attention Puppet Experts: can i run puppet master and agent on same server
Hello friends, Please tell me can i have puppet master and puppet agent on same machine I am new to this world. Please tell me how can i get started. Thanks and Regards, *Ripunjay Godhani* *"The Great Man Shows his Greatness by the Way He treats the Little man"* -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To
2013 Jan 30
3
Puppet Modules from Forge
Hello all, I have some questions about the download puppet modules from puppetforge: I''ll take puppetlabs-dism as an example, once its installed its located: /etc/puppetlabs/puppet/modules/dism Can this be renamed to something else ? Also if for example, I had a folder tree under modules e.g. /etc/puppetlabs/puppet/modules/windows | |- manifests |--base.pp |--networking.pp Can I
2013 Nov 20
4
puppet testing
Hi There, I am kind of lost, understood something wrong. I have written a module. Now how can I test this module? Do I need to copy it to agent or server? Is it possible to test it as a standalone module where I have a machine with puppet agent or server installed? It is a simple module I dont want complicate things with cucumber or some rspec etc. How can I test it with puppet apply
2013 Mar 05
12
Boolean in hiera... problems again
Hi... I''ve been trying to set up boolean values in Hiera, but with no luck. For example, I''m using puppetlabs-haproxy module, and this is a code snippet: class haproxy ( $manage_service = true, ... ) inherits haproxy::params { ... if $manage_service { } } Now, this is how I set up values in hiera: haproxy::manage_service: false But, it seems that
2013 Jan 31
7
Calling a "subclass" correctly in a node def?
Hi Guys! I played with this a bit and perused the Puppet3 docs, and tried a few different ways of calling the module with no joy before giving in and posting. I''m kind of new to all this so bear with me. *Goal of module* Singular module to hold both a mysql (client) and mysql-server class. Module default would be ''mysql'', or for mysql-servers we''ll call
2013 Dec 06
13
Unpleasant puppetlabs experience
https://projects.puppetlabs.com/issues/14368#change-101086 Summary: (We dont need to improve our public documentation, because people can go BUY documentation for puppet) I can understand changing it to low priority or something. But *Rejecting* this issue? For a supposedly "free, open source" project? Really? This does not motivate me to continue advocating for use of puppet, let