similar to: copying file(s) from agent to master??

Displaying 20 results from an estimated 20000 matches similar to: "copying file(s) from agent to master??"

2010 Oct 19
14
client won't use remote file bucket
Hi all, I''m having a stupid moment getting a remote file bucket working. My client only file buckets locally, not remotely. I have this site.pp: ********* filebucket { "main": server => "puppet" } File { backup => "main" } node ''default'' { include test } ********* and this test module: ********* class test { file {
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 /
2012 Feb 11
10
Question about reusing classes/modules
Hello Everyone, I''m still pretty new with puppet so please bare with me. I tried searching and I''m pretty sure I''ve ready my answer but I''m not sure if I''m going down the right path just yet. My scenario is this: I have 4 environments, Dev, Test, QA, Prod. Each of these environments lives in 2 sites, LA and NY. I have 5 applications that are site and
2009 Jun 10
10
puppet client looking for server puppet
In my puppet client I have puppet.conf defined puppet server as mypuppet server = mypuppet.example.net Not sure why the puppet client puppet-test is still sending these noises to the syslog Jun 10 13:36:23 puppet-test puppetd[10863]: [ID 702911 daemon.error] Could not find server : getaddrinfo: node name or service name not known Jun 10 13:36:23 puppet-test puppetd[10863]: [ID 702911
2012 Jul 08
3
create multiple resources from an array of things.
Hi gang, I feel like I''m missing something fundamental here… I''ve got the following: class snmp::rhel::rh5enable { $collector = [''10.0.0.1'', ''10.0.0.2''] define add_snmp_hosts_allow ($ip) { exec { "hosts_allow_$ip": command => "/bin/echo \"snmpd : $ip : ALLOW\" >>/etc/hosts.allow",
2012 Aug 14
8
Custom Providers and Environmemts.
I''ve installed the puppet labs lvm module. After fixing the missing "}" at line 20 in init.pp (really?!?!), I''m getting this:'' err: Could not retrieve catalog from remote server: Error 400 on SERVER: Puppet::Parser::AST::Resource failed with error ArgumentError: Invalid resource type physical_volume at /truth/sauce/env/prod/modules/role/manifests/common.pp:43
2011 May 31
3
uploading files via REST?
Hello, I am a bit confused by the REST syntax - how can I PUT an arbitrary file in the bucket? Downloading works fine (Perl+LWP), see below, but for PUT I only see this line in the docs (http://docs.puppetlabs.com/guides/rest_api.html): PUT /{environment}/file_bucket_file/md5/{checksum} Should I compute the MD5 of the file and port its contents at the url ? my code: my $ua =
2007 Apr 07
3
puppet --genmanifest
Is puppet --genmanifest something one should still be using? I''m having some problems running it on RHEL4 and I''m sure I have read something about puppet taking care of its own directories automatically. Here are a selection of problems This entry stops puppet from running, (reported by Ben Abnormaliti@clivepeeters.com.au) file {
2009 Oct 23
2
The /var/lib/puppet/clientbucket directory grew 4GB in minutes, filling up /var on production server
Hi. Last night the /var/lib/puppet/clientbucktet directory on one of our production servers suddenly grew about 4 GB, filling up the entire /var partition. Around that time, I see that there was a problem with one of our CIFS mount points (i.e. our CIFS client had problems reaching our CIFS server). We''re using puppet to set up the CIFS mount point. Under the clientbucket folder, I
2011 Jun 02
2
Server side filebucket issue
I am having issues with filebucket. I have looked through the puppet users google groups with similar issues but have not found a solution that works. I am trying to setup a central filebucket on the puppetmaster server. I am replacing the client''s /etc/puppet/puppet.conf file with a preconfigured version. The server delivers a copy of the puppet.conf file to the client, but the backup
2013 Nov 19
6
Actual diffs in puppetdb?
Any plans to get the actual diffs of file changes into puppetdb? Right now you get the hashes of the buckets on the host, but if diffs could get into puppetdb, it could be extremely useful. -- 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
2013 Feb 18
2
Controlling access to filebucket
Hi, Is there a way to control access to the filebucket? Specifically, I wish to allow agents to backup to the filebucket but never restore. Is this possible to do? Thanks, Brian -- 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
2013 Oct 13
24
exporting custom facts to puppet agents
Dear all, I have a custom fact, that reads a file and then generate the values dynamically based on the file content. It''s something like this: inFile = "/home/admin/OSs.txt" > gos = {} > > if File.exist?(inFile) > open(inFile, ''r'').each do |line| > next if line =~ /^\s*(#|$)/ > parts =
2012 Mar 29
4
stdlib module not working
I´m trying to utilize the new stdlib module, but got stuck after installation on my puppet server. I´ve tried to use the included test file file_line.pp on the server, but it´s only creating the file - but not managing the content. the same problem on my clients (the new provider file_line has been synced), it´s just not working: file_line { ''puppet master host
2012 Aug 25
12
How can MCollective replace "puppet kick"?
Dear readers, I was shocked to see that "puppet kick" will be deprecated in 3.0.0 https://projects.puppetlabs.com/issues/15735 How can MCollective replace "puppet kick"? Hugs, Sandra -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit
2012 May 14
2
compare filebucket
Hello, Does anybody know how to compare a filebucketed file easily with the current file based on these infos? info: /Stage[main]/Nginx/File[/etc/nginx/nginx.conf]: Filebucketed /etc/nginx/nginx.conf to puppet with sum 90dbcd7cf0accf5d372d077a6c90020c remote: notice: /Stage[main]/Nginx/File[/etc/nginx/nginx.conf]/content: content changed ''{md5}90dbcd7cf0accf5d372d077a6c90020c''
2011 Aug 15
4
Enabling yum-repo on fly?
Dear all, Is there any way to enable a particular yum-repo (like: yum -- enablerepo=<repo_name>), which is disabled as default, for a particular package installation? For our system, we need to "dag" for particular two packages but keeping it always enabled, clashes with other packages, which we don''t want to install for dag at all. What''s the option(s) I have to
2009 Feb 11
2
filebucket retrieval
Hi, While at LCA this year I was talking to James Turnbull, and I think he said it was possible to a) pull files off a puppet client to the puppet master b) push those files out to other puppet clients I''ve been reading up on FileBucket and I don''t understand how I can achieve that, or if I''m on the right track. Whats at
2012 Jul 18
4
cert issues, puppet agent applying configs, problems oh my!
So I''m new to puppet and I''m having a bear of a time just getting a test server going. I installed puppet and the puppet client via yum on CentOS on AWS, so that saved me some time. I followed a few various blog posts about getting everything set up and applying a file, etc. Now I am trying to install a module (puppetlabs/apache) and it''s failing miserably for me. I
2012 Aug 21
3
mcollective getaddrinfo: Name or service not known
I''m getting these errors when running ''puppet agent --test'' after doing a new installation of an agent: err: /Stage[main]/Pe_mcollective::Plugins/File[/opt/puppet/libexec/mcollective/mcollective/security/sshkey.rb]/content: change from {md5}512f42272699eaa085c83d2cc67c27ea to {md5}8fa3e9125fd917948445e3d2621d40e5 failed: Could not back up