[Puppet Users] Re: Possible to move/rename files?

2014-03-18 Thread zerozerounouno
On Monday, March 17, 2014 5:31:47 PM UTC+1, Jasmine Lognnes wrote: > Right now I replace content is files with e.g. > > replace { 'dummy5': > Er... I didn't even know a "replace" resource type existed. Where does it come from? > Is it possible to rename files with Puppet or is there a bett

Re: [Puppet Users] How to debug catalog transfer?

2014-03-18 Thread Andy Spiegl
> > > What is the user that the service is running under? > > Good questions. Aren't all services running as administrator? > > Not necessarily. It all depends on whether you took the default SYSTEM or > set your own credentials on install or afterwards in the services console. Thanks, I learned

[Puppet Users] Most trivial site.pp throwing errors

2014-03-18 Thread Sam K
Hello All. My very first post and a Super-noob puppet user checking in. I have been using puppet for just a week or so and have had moderate success with 2 ubuntu master/agent setup. Now, I want to test it on a production system, but its driving me nuts. I have a Ubuntu 12.04 system ru

[Puppet Users] State of nginx puppet modules

2014-03-18 Thread Jan S.
Hello, I am currently using jfrayman's or example24's nginx module. Since they both lacked a declarative way to define location fragments OR force you to use a custom template for the entire config: I made an own attempt if a module at: https://github.com/DracoBlue/pp-nginx Anyone using a n

[Puppet Users] Re: Using existing CA certificate for Puppet CA service.

2014-03-18 Thread axton . grams
I would like to do the same thing. I am using EJBCA and I would like to sign an external CA for use by Puppet, as outlined here: - http://ejbca.org/older_releases/ejbca_3_10/htdocs/userguide.html#Signing an External CA This should allow Puppet to manage/issue certificates for that SubCA just

[Puppet Users] Cannot run hadoop commands from manifest file

2014-03-18 Thread Shouvanik Haldar
Hi, I have a basic hadoop copy command e.g. hadoop fs -copyToLocal s3://xx-xx-/scripts/sqoop-1.4.3-hadoop200.jar sqoop-1.4.3-hadoop200.jar How can I execute this command from puppet? I looked into some sites. But could not get any help. Please help me. Regards, Shouvanik -- You received

[Puppet Users] Re: augeas, syslog and defining numbered items.

2014-03-18 Thread trey85stang
One more thing I found, I needed an onlyif for the above puppet line. Here is a little further syntax augeas { "syslog_local6none": incl => "/etc/syslog.conf", lens => "Syslog.lns", changes => [ "defvar syslog *[ ./action/file = \"/var/log/messages\" ]", "set \$sys

Re: [Puppet Users] Failed to generate additional resources using 'eval_generate'

2014-03-18 Thread Felix Frank
Hi, this smells of something funny related to pluginsync. You will want to carefully diff this agent's config against its peers. Beyond that, I'd try and play with the pluginsync settings and work from there. HTH, Felix On 03/16/2014 01:04 AM, Tim Dunphy wrote: > Hey all, > > I'm getting the

Re: [Puppet Users] Re: HP-UX Puppet Agent

2014-03-18 Thread Rick Copley
Hi, has anyone had success getting a puppet agent to run in HP-UX 11.31? On Thursday, April 5, 2012 11:32:15 AM UTC-4, Justin Stoller wrote: > > > On Thu, Apr 5, 2012 at 8:22 AM, Nan Liu > > wrote: > >> On Thu, Apr 5, 2012 at 2:57 PM, Michael Glatz >> > >> wrote: >> > Removing the default gr

[Puppet Users] Re: puppet agent on HP unix os

2014-03-18 Thread Rick Copley
Hi Ryan, thanks very much for all the tips - I'm not sure why I didn't get notified when you posted this reply. We got ruby and gem and rake installed from the Porting center, and we are working with our firewall team to allow outbound internet connections from our IA64 11.31 system so we can

[Puppet Users] Re: certificates being 'randomly' revoked

2014-03-18 Thread steve
These are not new nodes but not old either, only a few months. The date/time is correct. The DNS is correct. I have not manually set certificate lifetimes to be shorter than the default. However sometimes these nodes might not check in for a few days. This was recently a big problem as the cert

[Puppet Users] Windows msi needed to udpate dns server list

2014-03-18 Thread Rick Copley
Hi, I have a large number of windows server systems that use static IP addresses (no dhcp) and I need to update the dns server IP address list. Does anyone have a suggestion of how to do this using and msi? I plan to use the puppet agent to run the msi to make the updates, but if someone has

[Puppet Users] Pulling files from a separate master

2014-03-18 Thread Roger
I'm trying to get an agent to pull files from a separate master acting as a file server. No filtering on permissions based on IP or fqdn, standard: path /file allow * in auth.conf mount point in fileserver.conf with allow * ie. [myfiles] path: /opt/myfiles allow * File resource is: file

Re: [Puppet Users] Failed to generate additional resources using 'eval_generate'

2014-03-18 Thread José Luis Ledesma
I think I have read somewhere that puppet master should always be at least at the same version that the agents. Regards, El 16/03/2014 01:04, "Tim Dunphy" escribió: > Hey all, > > I'm getting the following error on only one of my puppet hosts: > > Error: /File[/var/lib/puppet/facts.d]: Failed

[Puppet Users] Re: Most trivial site.pp throwing errors

2014-03-18 Thread Sam K
No help? Anyone have any ideas why I'm getting this error. On Monday, March 17, 2014 10:48:43 PM UTC-7, Sam K wrote: > > Hello All. > > My very first post and a Super-noob puppet user checking in. I have > been using puppet for just a week or so and have had moderate success with > 2 ubu

[Puppet Users] Re: Pulling files from a separate master

2014-03-18 Thread Roger
An update on what I'm seeing: the file_metadata request is going to correct puppet master. The file_content request is going to the master that compiled the manifest. Fails because the master that compiled the config does not have a copy of the files -- and it should have to if the file resou

Re: [Puppet Users] Re: Most trivial site.pp throwing errors

2014-03-18 Thread Peter Bukowinski
On Mar 18, 2014, at 1:20 PM, Sam K wrote: > No help? Anyone have any ideas why I'm getting this error. Oh eager-to-be helped one, please see my reponses in-line below. > On Monday, March 17, 2014 10:48:43 PM UTC-7, Sam K wrote: > Hello All. > > My very first post and a Super-noob puppet

[Puppet Users] Re: Pulling files from a separate master

2014-03-18 Thread Roger
Looks like it is this issue: https://tickets.puppetlabs.com/browse/PUP-1892 The ticket mentions a resolution but I'll be damned if I see one there. On Tuesday, March 18, 2014 12:22:42 PM UTC-4, Roger wrote: > > I'm trying to get an agent to pull files from a separate master acting as > a file s

Re: [Puppet Users] Re: Most trivial site.pp throwing errors

2014-03-18 Thread José Luis Ledesma
Be water my friend ;p http://docs.puppetlabs.com/puppet/latest/reference/lang_reserved.html Hyphens should not be in a class name. Regards, El 18/03/2014 18:20, "Sam K" escribió: > No help? Anyone have any ideas why I'm getting this error. > > > On Monday, March 17, 2014 10:48:43 PM UTC-7,

Re: [Puppet Users] Re: Most trivial site.pp throwing errors

2014-03-18 Thread Sreeram Krishna
Oh god! Really, was it that trivial? Thank you guys! Let me try it out. On Tue, Mar 18, 2014 at 10:43 AM, José Luis Ledesma < joseluis.lede...@gmail.com> wrote: > Be water my friend ;p > > http://docs.puppetlabs.com/puppet/latest/reference/lang_reserved.html > > Hyphens should not be in a cl

Re: [Puppet Users] How to debug catalog transfer?

2014-03-18 Thread Rob Reynolds
I thought I had seen something similar to this before: https://projects.puppetlabs.com/issues/22493#note-20 - I'm not sure the user created the issue or not. Does the situation described in that thread apply to you? On Tue, Mar 18, 2014 at 7:03 AM, Andy Spiegl wrote: > > > > What is the user t

Re: [Puppet Users] How to debug catalog transfer?

2014-03-18 Thread Andy Spiegl
> https://projects.puppetlabs.com/issues/22493#note-20 - I'm not sure the > user created the issue or not. > > Does the situation described in that thread apply to you? I tried with the dir.rb from the github-link but unfortunately it didn't change anything. It's so strange because it works when

Re: [Puppet Users] Failed to generate additional resources using 'eval_generate'

2014-03-18 Thread José Luis Ledesma
http://docs.puppetlabs.com/guides/upgrading.html Master version should not be lower than agent version Regards El 18/03/2014 17:36, "José Luis Ledesma" escribió: > I think I have read somewhere that puppet master should always be at least > at the same version that the agents. > > Regards, > E

Re: [Puppet Users] How to debug catalog transfer?

2014-03-18 Thread Rob Reynolds
On Tue, Mar 18, 2014 at 1:35 PM, Andy Spiegl wrote: > > https://projects.puppetlabs.com/issues/22493#note-20 - I'm not sure the > > user created the issue or not. > > > > Does the situation described in that thread apply to you? > > I tried with the dir.rb from the github-link > but unfortunately

Re: [Puppet Users] How to debug catalog transfer?

2014-03-18 Thread Andy Spiegl
I tried downgrading to puppet MSI 3.4.2 and even removed as much as I could from my site.pp and modules dir. But I still get the same error. :-( Andy. On 2014-03-18, 13:47, Rob Reynolds wrote: > On Tue, Mar 18, 2014 at 1:35 PM, Andy Spiegl wrote: > > > > https://projects.puppetlabs.com/issues

[Puppet Users] fail on first error. don't continue doing stuff

2014-03-18 Thread Alexander Gray II
I have weird scenario: When I run puppet for the very first time, it always fails, but when I re-run puppet on that machine, it always passes. I must have some obscure dependency issue somewhere and I'm trying to track it down. Something *must* be occurring after the first error (puppet continue

[Puppet Users] Re: Using existing CA certificate for Puppet CA service.

2014-03-18 Thread axton . grams
So I was able to get this working. There may be a better/cleaner way to do this, but this works for my needs. This was done on Debian wheezy using the latest packages from http://apt.puppetlabs.com. For the new CA certificate, I used the same parameters and extensions defined in the original

[Puppet Users] Re: LaunchDaemon on Mac OSX 10.9 Mavericks

2014-03-18 Thread Khoury
I'm seeing the same behavior with the plist on 10.9.2: Puppet runs fine using the CLI but doesn't work as a LaunchDaemon. Did you manage to work out why this happens? On a fresh OS X 10.9 install I didn't have any issues but 10.9.2 may have broken something. I get the same behavior with Puppet

[Puppet Users] Inserting Data back into hiera

2014-03-18 Thread Spencer Krum
Hello, The other day I was on IRC and someone asked how to export strings in PuppetDB. As far as I am aware this isn't possible with PuppetDB. It is possible with certain hiera backends. I've created a hiera_insert module at https://github.com/nibalizer/hiera-insert. This module only has one

Re: [Puppet Users] Inserting Data back into hiera

2014-03-18 Thread Xav Paice
On 19/03/14 16:40, Spencer Krum wrote: > Hello, > > The other day I was on IRC and someone asked how to export strings in > PuppetDB. As far as I am aware this isn't possible with PuppetDB. It > is possible with certain hiera backends. > > I've created a hiera_insert module at > https://github.com/

Re: [Puppet Users] Inserting Data back into hiera

2014-03-18 Thread Spencer Krum
> > so far about 99% of our use cases have > been taken care of by exported resources and PuppetDB > Where controlling a system that is well modeled by puppet resources, host entries in /etc/hosts for example, exported resources work well. I find myself often wanting to just pick up strings and u

Re: [Puppet Users] Inserting Data back into hiera

2014-03-18 Thread Xav Paice
On 19/03/14 17:11, Spencer Krum wrote: > > so far about 99% of our use cases have > been taken care of by exported resources and PuppetDB > > > > Where controlling a system that is well modeled by puppet resources, > host entries in /etc/hosts for example, exported resources work well. > I

Re: [Puppet Users] Re: Puppet Dashboard Broken on Debian Jesse

2014-03-18 Thread William Van Hevelingen
Hi Geoff, I would advise switching from Puppet Dashboard to something that is still actively maintained. Puppetboard and theforeman are both well maintained alternatives. https://github.com/nedap/puppetboard http://theforeman.org/ If you still want to stick with puppet-dashboard, you will want t