[Puppet Users] Re: Can Puppet interact with perl script user input fields?

2012-10-05 Thread Jon Skarpeteig
The script is several thousand lines of code. Definitely not easier than Guzman Braso's suggestion :-) Although I'm surprised that Puppet doesn't have any supported way of shell interaction with scripts? On Oct 5, 4:01 am, Peter Brown rendhal...@gmail.com wrote: It's probably easier in the long

[Puppet Users] Re: Massive Import/Include

2012-10-05 Thread pierre-emmanuel degand
As regards your 3 proposals : - that it would probably all need to go into one YAML file = it will be the same than insert all my config in the manifest.pp, and it's not interesting to me - you could put it in an hiera data store = i don't know this method yet - You could

Re: [Puppet Users] Re: activerecord and puppet-3.0.0

2012-10-05 Thread Jonathan Gazeley
On 04/10/12 17:30, Andy Parker wrote: I encountered this issue yesterday when trying to reproduce another issue. I discovered that you need to be using activerecord 3.0.11. Later versions don't seem to work (error with a stack too deep) and earlier versions don't seem to work (error with

Re: [Puppet Users] Puppet 2.7 v 3.0 in the PuppetLabs yum repo

2012-10-05 Thread Sandra Schlichting
Hi Chad * Take a look at the yum versionlock plugin. My life has been much simpler since I deployed it. For a while I was excludeing puppet and friends in yum.conf, but that was a real pain. The versionlock plugin pins a package at the version you want, and then you can update when

[Puppet Users] Could not find certificate for - Puppet 3.0.0-rc4

2012-10-05 Thread Luca Gioppo
I'm receiving the message: Could not find certificate for ... on the server when I try to run the agent on an old server where I was trying to make some experimentation. I've removed cert and keys from clent and runa clean on the server. The /etc/hosts in the server is configured correctly. Have

[Puppet Users] Re: Could not find certificate for - Puppet 3.0.0-rc4

2012-10-05 Thread Luca Gioppo
Ok solved by deleting all the /var/lib/puppet/ssl content in the agent. made a puppat run and the master accepted the client and autosigned all and all went correctly. BUT I went to see if in the master issuing the command: puppet ca list --all or --signed There was to find the host but ...

RE: [Puppet Users] Re: Can Puppet interact with perl script user input fields?

2012-10-05 Thread Steven Nemetz
The centrify script may be thousands of lines, but it doesn't do that much. A lot of it is for user interaction and multiple OS stuff. At my last company we used centrify for authentication. It was less then a dozen commands to setup. A bit longer than that once put into puppet. If you really

[Puppet Users] Are future versions of facter and hiera 2.7.x backwards compatible?

2012-10-05 Thread Sandra Schlichting
Hi, I am using puppet 2.7 so I am wondering if the new facter-1.6.13-1 hiera-1.1.0 and future versions are compatible with puppet 2.7 ? 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

[Puppet Users] How to remove warnings related to Resource references should now be capitalized when starts with number?

2012-10-05 Thread Carlos Tapia
Hi Guys! I want to clean warning messages: *warning: Deprecation notice: Resource references should now be capitalized*... It is related to following line: * - appcmd::32Bit['32BitappPool']* If I try to change any piece of the code using caps. for the fisrt letter, a syntax error is

[Puppet Users] Remove directory

2012-10-05 Thread timo
Here's one for you! We're rolling out some zip files to our servers using Puppet, there's an exec that unzips them, the zip file is then deleted. I need to remove the old versions of the unzipped directory using Puppet when we rol out a newer version. So, on my client/node machine I have the

[Puppet Users] Re: Hiera problem: Can't convert Symbol into String

2012-10-05 Thread Danie van Zyl
Have you tried, --- family: prod cluster: prod compresslogs: true ? On Monday, 23 July 2012 05:15:02 UTC+2, Aaron Nichols wrote: All, I have found very few references to this error so I'm guessing I must be doing something wrong. I have just started using hiera and am trying to use

[Puppet Users] Re: puppet client can't get certificate

2012-10-05 Thread timo
Hi mate, I use Puppet 2.6 but in this situation would run: From puppetmaster puppetca --revoke agent.foo.com puppetcat --clean agent.foo.com From agent rm -rf /var/lib/puppet/ssl puppetd --waitforcert 30 --server puppetmaster -v From puppetmaster puppetca --sign agent.foo.com On

[Puppet Users] Need help with rspec-puppet

2012-10-05 Thread Jian
Hello Everyone, I am fairly new to puppet and I would like to run som unit tests. I hope rspec is the right tool for it. Unfortunately, after setting it up, when I try to execute it I receive the following error: Failures: 1) helloworld Failure/Error: it { should

[Puppet Users] Puppet Dashboard inventory search problems.

2012-10-05 Thread llowder
I'm using Dashboard 1.2.10 on an Ubuntu 10.04 LTS system, and Puppet 2.7.19 When I do an inventory search, I get a blank screen. In the logs, I found the following: Processing NodesController#search (for X.X.X.X at 2012-10-05 08:44:57) [GET] Parameters: {action=search, controller=nodes,

Re: [Puppet Users] Puppet Dashboard inventory search problems.

2012-10-05 Thread Bill Fraser
Sounds like this bug: http://projects.puppetlabs.com/issues/14974 On 12-10-05 10:22 AM, llowder wrote: I'm using Dashboard 1.2.10 on an Ubuntu 10.04 LTS system, and Puppet 2.7.19 When I do an inventory search, I get a blank screen. In the logs, I found the following: Processing

Re: [Puppet Users] Custom Resource type Fail

2012-10-05 Thread Henrik Lindberg
From a quick glance, it seems like you are trying to reassign a variable value - that is not allowed in puppet. You may assign to a variable that exists in an outer scope (thereby shadowing it), but not reassign in the same scope. As an example: case $semisync_master { on: {

[Puppet Users] Re: is_virtual selector

2012-10-05 Thread Krzysztof Wilczynski
Hey, This selector expects to get a true boolean value e.g. true / false (TrueClass / FalseClass in Ruby) and that is why it is failing, since you are passing a string true from the fact (and all values coming from Facter are strings, even numeric values). Grab this:

Re: [Puppet Users] Puppet doc no longer producing documentation

2012-10-05 Thread Hugh Cole-Baker
On Thursday, October 4, 2012 9:01:58 PM UTC+1, Jeff McCune wrote: On Wed, Oct 3, 2012 at 6:31 AM, Hugh Cole-Baker hu...@fanduel.comjavascript: wrote: After upgrading to Puppet 3.0.0 it seems that puppet doc is no longer producing documentation from my modules / manifests. I have a

Re: [Puppet Users] Re: Could not find certificate for - Puppet 3.0.0-rc4

2012-10-05 Thread Jeff McCune
On Fri, Oct 5, 2012 at 2:37 AM, Luca Gioppo lucagio...@gmail.com wrote: Ok solved by deleting all the /var/lib/puppet/ssl content in the agent. made a puppat run and the master accepted the client and autosigned all and all went correctly. BUT I went to see if in the master issuing the

[Puppet Users] Trying to delete home directory while deleting accounts.

2012-10-05 Thread eduardo
Hi all, I wondering why having provider=useradd the parameter managehome = true don't delete home directory ? I have : user { $name: ensure = absent, managehome = true } As result, home directory was not deleted. I appreciate any advise about it. Thanks in advanced, eduardo -- You received

[Puppet Users] Puppet 3.0.0 and Hiera

2012-10-05 Thread Ellison Marks
I've been using Hiera and Hiera-Puppet with Puppet 2.7 for a while now, and I've been quite enjoying it. I just noticed the available update for Puppet and saw that Hiera was now part of core Puppet. However, I've been unable to parse exactly what parts made it over, and every source of

[Puppet Users] PuppetDB Installation

2012-10-05 Thread Worker Bee
I am attempting to install PuppetDB from source. I am a bit confused however, is lein required? thanks! -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this

Re: [Puppet Users] PuppetDB Installation

2012-10-05 Thread Deepak Giridharagopal
On Fri, Oct 05, 2012 at 01:21:46PM -0600, Deepak Giridharagopal dee...@puppetlabs.com wrote: On Fri, Oct 05, 2012 at 02:14:41PM -0400, Worker Bee beeworke...@gmail.com wrote: I am attempting to install PuppetDB from source. I am a bit confused however, is lein required? Correct, you'll need

[Puppet Users] Re: Puppet 3.0.0 and Hiera

2012-10-05 Thread Nick Fagerlund
On Friday, October 5, 2012 10:47:58 AM UTC-7, Ellison Marks wrote: I've been using Hiera and Hiera-Puppet with Puppet 2.7 for a while now, and I've been quite enjoying it. I just noticed the available update for Puppet and saw that Hiera was now part of core Puppet. However, I've been

Re: [Puppet Users] Are future versions of facter and hiera 2.7.x backwards compatible?

2012-10-05 Thread Matthaus Owens
Hiera is following semver, so any new releases in the Hiera 1.x series will be backward compatible and will work with Puppet 2.7.x. The Facter 1.6.x series will also continue to work with Puppet 2.7.x. On Fri, Oct 5, 2012 at 4:40 AM, Sandra Schlichting littlesandr...@gmail.com wrote: Hi, I am

[Puppet Users] Re: Puppet 3.0.0 and Hiera

2012-10-05 Thread Ellison Marks
Thanks for the reply. I'll probably start migrating things to the new parameter based lookup and a disk based hierarchy anyway, but it's good to know that my setup probably won't break immediately upon upgrading. ^_^ On Friday, October 5, 2012 12:44:41 PM UTC-7, Nick Fagerlund wrote: On

[Puppet Users] Puppet Nagios types

2012-10-05 Thread Mason Turner
Can Puppet's Nagios types accept custom variable macros? I want something that looks like: define service { ## --PUPPET_NAME-- (called '_naginator_name' in the manifest) rpm-db-corrupt uselog-error-template service_description

[Puppet Users] Puppet Conf Slides

2012-10-05 Thread llowder
While waiting for the video and audio to be published, I went through a bunch of the tweets and collected links to slides already out there. That list is at https://docs.google.com/document/d/1rtrwrSEsXXM5gwaH7cUSkJ-pMbnmedMTdgvONO5k728/edit If you know of any I missed, let me know by mail,

Re: [Puppet Users] PuppetDB Installation

2012-10-05 Thread Worker Bee
Is it possible to get the srpm for puppetdeb-1.0.0 ? Thanks! On Fri, Oct 5, 2012 at 3:34 PM, Deepak Giridharagopal dee...@puppetlabs.com wrote: On Fri, Oct 05, 2012 at 01:21:46PM -0600, Deepak Giridharagopal dee...@puppetlabs.com wrote: On Fri, Oct 05, 2012 at 02:14:41PM -0400, Worker Bee

Re: [Puppet Users] PuppetDB Installation

2012-10-05 Thread Worker Bee
My bad... just found it! Please disreagrd On Fri, Oct 5, 2012 at 5:45 PM, Worker Bee beeworke...@gmail.com wrote: Is it possible to get the srpm for puppetdeb-1.0.0 ? Thanks! On Fri, Oct 5, 2012 at 3:34 PM, Deepak Giridharagopal dee...@puppetlabs.com wrote: On Fri, Oct 05, 2012 at

[Puppet Users] Re: is_virtual selector

2012-10-05 Thread Matt
Thanks Krzysztof. It successfully runs now, but output is misleading on subsequent runs: build ~]# puppet agent -tv Info: Retrieving plugin Info: Caching catalog for build Info: Applying configuration version '1349482471' /Stage[main]/Baseline-testing::Ntpd/Package[ntp]/ensure: ensure changed