[Puppet Users] help dependency packages

2013-12-06 Thread Rafael Tomelin
Hi, Which option do I use to force installation of dependencies of a package? Made as follows, but appears me an error: CONF package {"bacula-common": Ensure => installed, force => true, } ERROR puppet agent - test Info: Retrieving plugin Info: Loading facts in / var / lib / p

Re: [Puppet Users] Hiera user account info

2013-12-06 Thread Dan White
OK. Now that I have had a chance to look at the torrancew/account module, I can make some (I hope) helpful suggestions: My own user-account class implementation (class users) is very similar with the following exceptions: I have a base-user-account defined type that creates users. I use it tw

Re: [Puppet Users] Re: Unable to specify hierarchy for data-in-modules

2013-12-06 Thread R.I.Pienaar
hello, I will be releasing a module on the forge with this functionality, but need some early testers as I do not currently have a varied environment to test against. Those interested please contact me off list or if you're brave just download the ripienaar/module_data module into your manifest

[Puppet Users] Hiera user account info

2013-12-06 Thread Guy Knights
We're working on implementing hiera with our puppet 3 setup, and I'm curious if the following is achievable. Currently, we manage each user account within a class that realises a defined resource that creates the user, groups, etc (for the record, we use the torrancew/account module). We then h

Re: [Puppet Users] Automatic Agent installation from dashboard?

2013-12-06 Thread Rob Reynolds
Take a look at this as well - https://github.com/hashicorp/puppet-bootstrap On Fri, Dec 6, 2013 at 1:53 PM, Juan Sierra Pons wrote: > Hi, > > AFAIK not from the dashboard but you can launch remote commands to the > servers to install the puppet client and launch puppet agent --test to > ask the

[Puppet Users] Re: Setting up PE from scratch with PuppetDB/Postgres on separate box

2013-12-06 Thread Matthew Reams
Hi Steven, I'm attempting the same thing you are. I see that my /etc/puppetlabs/puppet/puppetdb.conf keeps getting overwritten on my Puppet Master to point back to the Puppet Master instead of my PuppetDB host. Do you know where this is being set? Thanks! Matt On Tuesday, September 10, 2013

[Puppet Users] Re: Unpleasant puppetlabs experience

2013-12-06 Thread Nick Fagerlund
On Thursday, December 5, 2013 5:35:13 PM UTC-8, Philip Brown wrote: > > > 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? > > Hi all

[Puppet Users] Re: Problem with report processor - undefined method

2013-12-06 Thread Jon Yeargers
On further inspections the YAML files are still being created but not the puppet db entries. On Thursday, December 5, 2013 4:29:44 PM UTC-8, Jon Yeargers wrote: > > After I got puppetdb working I was looking about at the various bits of > data available. Looking at the 'nodes' option I was supr

Re: [Puppet Users] Unpleasant puppetlabs experience

2013-12-06 Thread xav
On Fri, 2013-12-06 at 11:31 -0500, Jerald Sheets wrote: > Please note that the exact same documentation is expected to be used > for either and people spending crap-tons of money are expected to put > up with the same issues. This is not a licensed/open source > argument. This is a "do a better

Re: [Puppet Users] Automatic Agent installation from dashboard?

2013-12-06 Thread Juan Sierra Pons
Hi, AFAIK not from the dashboard but you can launch remote commands to the servers to install the puppet client and launch puppet agent --test to ask the puppetmaster for a signed certificate. Create a file named RemoteCommands.txt with the following content : (This is for Debian and puppet commu

[Puppet Users] Can't seem to get modulepath attribute recognized by puppetmasterd

2013-12-06 Thread john . pyeatt
Warning - Puppet newby here. I am trying to set up a puppetmaster 3.3.2 and have run into a snag right out of the box. I want to add a new directory to modulepath= in /etc/puppet/puppet.conf So I added the following line in the [main] header modulepath = /etc/puppet/modules:/opt/our-repo/puppe

[Puppet Users] Re: Agent speed - what is 'normal'?

2013-12-06 Thread Byron Miller
For a 1ghz ARM pc, it would seem about normal.. On Thursday, December 5, 2013 3:41:48 PM UTC-6, Jon Yeargers wrote: > > (This is actually two questions): > > Running 'puppet agent --test' on a 1Ghz ARM based (Debian 6) fanless PC. > It's pretty common to see the 'catalog run' take 120-300 secon

Re: [Puppet Users] Re: Unable to specify hierarchy for data-in-modules

2013-12-06 Thread chengkai liang
It is nice to mention this here. Thanks, -Chengkai On Thu, Dec 5, 2013 at 6:18 PM, Henrik Lindberg < henrik.lindb...@cloudsmith.com> wrote: > On 2013-06-12 1:30, chengkai liang wrote: > >> Well, I can execute this with for individual module via *puppet apply >> --binder true ...* I haven't been

Re: [Puppet Users] external node classifier with a back-end

2013-12-06 Thread Stuart Cracraft
HI Jason, No I have no hesitations at all and yes, I would enjoy seeing your Postgres code and learning from it and can share back. So the thought here is to have all the configuration data, client data, node data, in a Postgres database (the one on the Puppet Master) and used downline by all

[Puppet Users] Re: Automatic installation of puppet agent from puppet master

2013-12-06 Thread Stuart Cracraft
You can have autosign enabled on the puppet master but I don't recommend it. You want to have control over the initial deployments since by just blanket auto-signing, you may run into some major issues with too much change too suddenly. As you gain experience, you can bulk sign in chunks once you

Re: [Puppet Users] Windows node fails to request certificate (SSL error)

2013-12-06 Thread djs
I left the node running overnight with the puppet service enabled. This morning it was working normally, so I did not have a chance to do any further experiments. This is similar to what happened on the other nodes, and leads me back to the suspicion that it has something to do with the time sy

Re: [Puppet Users] Unpleasant puppetlabs experience

2013-12-06 Thread Jerald Sheets
> > Possibly consider all the work you've put into implementing puppet on your > own systems, and consequently how obtaining puppet gratis doesn't mean that > it's free of cost. > > Please note that the exact same documentation is expected to be used for either and people spending crap-tons of mone

Re: [Puppet Users] Unpleasant puppetlabs experience

2013-12-06 Thread Christopher Wood
(inline) On Thu, Dec 05, 2013 at 05:35:13PM -0800, Philip Brown wrote: >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 chang

Re: [Puppet Users] Hiera in custom facts?

2013-12-06 Thread Felix Frank
Again: You *cannot* get hiera values into facter, nor would that be particularly useful (at least from the master's perspective). On 12/06/2013 04:08 PM, leed wrote: > Thanks for your response, I'd tried adding that to the global scope > (confirmed with a notify), but this doesn't seem to be passe

[Puppet Users] Problem using hiera-eyaml

2013-12-06 Thread wernerbahlke
I am trying to use hiera-eyaml and have followed the README instructions. eyaml seems to work, I can encrypt and decrypt files and passwords. I can also use hiera -c to get at an encrypted value like so: hiera -c /etc/puppetlabs/puppet/hiera.yaml rootpwd But when running this simple test mod

Re: [Puppet Users] Hiera in custom facts?

2013-12-06 Thread leed
On Friday, 6 December 2013 14:27:47 UTC, Felix.Frank wrote: > > > If you want to use $clustername instead of hiera("clustername"), just > add this to the global scope of your manifest: > > $clustername = hiera("clustername") > Thanks for your response, I'd tried adding that to the global scope

Re: [Puppet Users] Re: Unpleasant puppetlabs experience

2013-12-06 Thread Felix Frank
https://github.com/puppetlabs/puppet-docs On 12/06/2013 03:36 PM, kaustubh chaudhari wrote: > Hey, > > Option a) is good! > > Just curious, how do we submit the updated doc to Puppet Lab so that > they can publish it on the website! > > -Kaustubh -- You received this message because you are s

[Puppet Users] Re: Automatic installation of puppet agent from puppet master

2013-12-06 Thread kaustubh chaudhari
Hi Deep, Not that i am aware off. As puppet is a pull job and not push. master dont push any thing to puppet agent. All i am saying there may be a way of which i am not aware! I suggest include puppet agent installation as a part of OS installation, i have included it in the VMware templates a

Re: [Puppet Users] Hiera in custom facts?

2013-12-06 Thread Felix Frank
Hi, this is in fact not the right approach. Facts are evaluated on the agent side, while hiera typically belongs to the master side only. If you want to use $clustername instead of hiera("clustername"), just add this to the global scope of your manifest: $clustername = hiera("clustername") HTH

Re: [Puppet Users] Re: Unpleasant puppetlabs experience

2013-12-06 Thread kaustubh chaudhari
Hey, Option a) is good! Just curious, how do we submit the updated doc to Puppet Lab so that they can publish it on the website! -Kaustubh On Friday, December 6, 2013 8:03:04 AM UTC-5, Felix.Frank wrote: > > Not really. Seeing as this is a documentation header, there's only two > things you c

Re: [Puppet Users] How to reject agent (node) certificate request

2013-12-06 Thread kaustubh chaudhari
Hi John and Patrick! I havent tried puppet cert revoke - i will try that and reproduce if the issue persists. Yes i have tried puppet node clean and puppet node deactivate, but the moment PuppetDB receives the request .. it update the facts and reports to the same. I do understand this is a no

[Puppet Users] Automatic installation of puppet agent from puppet master

2013-12-06 Thread Deep
HI, Is there a way in puppet to automatically install agents in unmanaged node from the puppet dashboard or backend? eg: I have a network with a mixture of linux and windows servers.I can include the puppet agent in the OS installation phase or do it manually in servers. But, is there an opti

[Puppet Users] Accessing internal read-only parameters

2013-12-06 Thread Dmitry Musatov
Hi, I'd like to access read-only parameter package::status in my manifest. The only reference about RO-parameters usage I found is some irrelevant post in puppet-dev group (https://groups.google.com/d/msg/puppet-dev/XiEexgGGwHc/P1_s7OQo59kJ) from Y2008: And as "definition attributes" they wo

[Puppet Users] Re: Anyone currently using Puppet environments, gitolite and the Puppet post-receive hook?

2013-12-06 Thread Brendan
Here's what I'm using. Gitolite and puppet master run on the same box but don't have to. Note that master is mapped to production. I also had some issues w/ ssh key so the post-receive is starting and killing ssh-agent. it's not set up for pushing multiple branches at the same time but it

[Puppet Users] Hiera in custom facts?

2013-12-06 Thread leed
Hello all So is it possible to use hiera data in a custom facts? I'm probably going about this all wrong, but I was hoping something like this would work. Facter.add("cluster_name") do setcode do hiera('clustername') end end But I get a lot of Could not retrieve cluster_name: undefined

[Puppet Users] Automatic Agent installation from dashboard?

2013-12-06 Thread Deep
Hi, Is there an option in puppet to automatically install agent in an unmanaged node in the network from the dashboard? eg: I have a network of windows and linux servers which doesn't have the puppet agent installed. Is it possible to push the agent from puppet server to these unmanaged nodes

Re: [Puppet Users] How to reject agent (node) certificate request

2013-12-06 Thread Patrick Ethier
Did you try the puppet node clean and puppet node deactivate functions? Pat On Fri, Dec 6, 2013 at 8:04 AM, Felix Frank wrote: > You can always throw away the CSR file manually, but that's obviously > less than ideal. > > If nobody pipes up with a correct answer, you may want to check Redmine

Re: [Puppet Users] How to reject agent (node) certificate request

2013-12-06 Thread Johan De Wit
Have you tried puppet cert revoke (see puppet help cert for the man page) hth Johan On 12/06/2013 02:04 PM, Felix Frank wrote: You can always throw away the CSR file manually, but that's obviously less than ideal. If nobody pipes up with a correct answer, you may want to check Redmine for

Re: [Puppet Users] Re: Puppet Master accepting request without certificates

2013-12-06 Thread Felix Frank
That's normal behavior, because the client still retains the cert and it's still signed with your puppet CA and therefor trusted. You may want to scrutinize the CRL file, perhaps it's not used properly. Also try and find out if puppet cert revoke works better than pupet cert clean wrt. the CRL. H

Re: [Puppet Users] How to reject agent (node) certificate request

2013-12-06 Thread Felix Frank
You can always throw away the CSR file manually, but that's obviously less than ideal. If nobody pipes up with a correct answer, you may want to check Redmine for an open feature request and vote on that, or open a new one if none can be found. Regards, Felix On 12/06/2013 01:46 PM, kaustubh cha

Re: [Puppet Users] Re: Unpleasant puppetlabs experience

2013-12-06 Thread kaustubh chaudhari
Hi, I Agree with Philip and Felix!! Some one might have implemented it with his own experience/try and error. But if its not documented, than its like re-inventing the wheel again and again! Rejecting is not a solution, at least you can redirect to some other links where its used/fixed/configu

Re: [Puppet Users] How to yum install puppet 3.2.2

2013-12-06 Thread kaustubh chaudhari
Take a look at the below document! http://docs.puppetlabs.com/guides/puppetlabs_package_repositories.html#for-red-hat-enterprise-linux-and-derivatives Hope this helps! -Kaustubh On Friday, December 6, 2013 5:41:36 AM UTC-5, Felix.Frank wrote: > > Hi, > > what yum repositories are configured on

Re: [Puppet Users] How to reject agent (node) certificate request

2013-12-06 Thread kaustubh chaudhari
Hey Felix, Yes i have tried that! puppet cert clean will work only for the accepted CSR. The only way i see is to accept it and then clean it! But this is not right way to do it! -Kaustubh On Friday, December 6, 2013 5:45:54 AM UTC-5, Felix.Frank wrote: > > Hi, > > have you tried using pupp

Re: [Puppet Users] Re: Puppet Master accepting request without certificates

2013-12-06 Thread kaustubh chaudhari
Hi, Thanks for the reply Felix! I am on 3.3.2! once i remove the cert with puppet agent clean! I dont see its certificate in the puppet cert list -all However, agent can still run the catalog! this is what worries me!! -Kaustubh On Friday, December 6, 2013 5:48:01 AM UTC-5, Felix.Frank wrote

Re: [Puppet Users] Re: Unpleasant puppetlabs experience

2013-12-06 Thread Felix Frank
I do feel that Redmine's backlogging facilities leave much to be desired, but I don't really agree with your conclusion. I'm with Philip insofar that rejecting a bug is saying "won't fix" or "not an issue anymore". Neither is apparently the case, so I consider this at least a misuse of the tool.

[Puppet Users] Re: RSpec tests failing after upgrading to rspec-puppet v1.0.1

2013-12-06 Thread Gavin Williams
Ok, after raising on issue against rspec-puppet on Github, Tim responded with some more information... [1] Long and short is now that rspec-puppet supports Hiera, there's no need to use hiera-puppet-helper or rspec-hiera-helper... Can set it all up from within rspec... Sample code from Tim an

Re: [Puppet Users] Re: Puppet Master accepting request without certificates

2013-12-06 Thread Felix Frank
Hi, removing the cert data is one thing, but to make sure the old certficate cannot be used again, it must be effectively revoked. The (current) documentation states that puppet cert clean does in fact revoke the certificate, so you should not be seeing this issue. Which version of puppet is thi

Re: [Puppet Users] How to reject agent (node) certificate request

2013-12-06 Thread Felix Frank
Hi, have you tried using puppet cert clean for this as well? According to the docs, it removes all files. This would include the unwanted CSR. HTH, Felix On 12/04/2013 02:44 PM, kaustubh chaudhari wrote: > Hi, > > I am using open source puppet. > > How can i reject a certificate request gener

Re: [Puppet Users] How to yum install puppet 3.2.2

2013-12-06 Thread Felix Frank
Hi, what yum repositories are configured on that specific box? Does 'yum info puppet' give you a hint about which versions are visible and why it's selecting 2.7? Regards, Felix On 12/04/2013 11:47 AM, Claire Speed wrote: > Hi, > > I've been playing with puppet enterprise but wanted to look at

[Puppet Users] RSpec tests failing after upgrading to rspec-puppet v1.0.1

2013-12-06 Thread Gavin Williams
Morning all Not sure if anybody on here is going to be able to assist, but thought I'd ask anyways... I've upgraded rspec-puppet to v1.0.1 this morning, and now all my rspec tests are failing with: Failure/Error: it { should_not contain_class('software::hp::psp') } > Puppet::Error: >