Re: [Puppet Users] Re: Catalog compilation, puppetdb and ssl

2013-04-02 Thread Mohit Chawla
Hey Ken, that definitely cleared some misconceptions, thanks ! I now know what the problem was. First, I assumed that the client must've the same certificate as in puppetdb's truststore. I didn't realize that any cert signed by that CA should be able to make calls. In our scenario, where we have s

Re: [Puppet Users] before and after not being honoured

2013-04-02 Thread Nikola Petrov
I think that this is because classes are not applied but are declared. Check the anchor pattern and declare that an puppet::start is declared before the file. I can give you more info when you actually give us the puppet class itself. You can find more info about the anchor pattern here http://pr

Re: [Puppet Users] calling_module vs module_name ?

2013-04-02 Thread Nikola Petrov
Calling module can serve you well if you have a reusable define that is defined in module that is not the same from the one that it is used in. I hope this makes sense... Most of the time I won't recommend this for a hierarchy as it can be hard to reason about it... Best, Nikola On Tue, Apr 02,

Re: [Puppet Users] Installing Microsoft Visual Studio 2010 with Puppet?

2013-04-02 Thread Josh Cooper
On Tue, Apr 2, 2013 at 5:53 PM, Amos Shapira wrote: > Hello, > > Has anyone here had experience using Puppet (2.7 for now) to install > Microsoft Visual Studio 2010 (or even 2012, for that matter) on Windows > Server 2008? > > So far I didn't find anything on the web, the forge or Github. > > Tha

[Puppet Users] calling_module vs module_name ?

2013-04-02 Thread Kubes
In using Hiera, what is the difference between calling_module and module_name? Which is should be used? :hierarchy: - %{environment}/%{calling_module}/common - %{environment}/%{module_name}/common Thanks -- You received this message because you are subscribed to the Google Groups "Pupp

[Puppet Users] Installing Microsoft Visual Studio 2010 with Puppet?

2013-04-02 Thread Amos Shapira
Hello, Has anyone here had experience using Puppet (2.7 for now) to install Microsoft Visual Studio 2010 (or even 2012, for that matter) on Windows Server 2008? So far I didn't find anything on the web, the forge or Github. Thanks. -- You received this message because you are subscribed to t

Re: [Puppet Users] puppetlabs-apache module a2mod

2013-04-02 Thread James A. Peltier
- Original Message - | Hi All, | | I'm trying to use the Puppet Labs Apache module from the forge or the | git repo and when I install it, and then add | | class {'apache': } | | inside the node definition I end up with the error | | | Could not retrieve catalog from remote server: Er

[Puppet Users] puppetlabs-apache module a2mod

2013-04-02 Thread James A. Peltier
Hi All, I'm trying to use the Puppet Labs Apache module from the forge or the git repo and when I install it, and then add class {'apache': } inside the node definition I end up with the error Could not retrieve catalog from remote server: Error 400 on SERVER: Resource type a2mod doesn't

Re: [Puppet Users] ssh_authorized_key errors in RHEL6

2013-04-02 Thread Kubes
Thanks Josh chmoding 777 /tmp fixed the issue. mktemp worked fine as root, not as a user, until chmod. Does puppet sudo for sshkeys, etc? puppet is running as root. On Tuesday, April 2, 2013 12:06:52 PM UTC-4, Joshua Hoblitt wrote: > > Hello, > > On 04/02/2013 07:44 AM, Kubes wrote: >

Re: [Puppet Users] Dependency Cycle Question

2013-04-02 Thread Nathan Valentine
Is it possible that the registry_key type, like dirs and subdirs, has an implied dependency? Sorry, not in a position to test at the moment and I've actually not used that type in a while. On Tue, Apr 2, 2013 at 12:09 PM, wrote: > Hi All, > > I am new to Puppet and have a question on dependency

Re: [Puppet Users] Grouping hosts for stage deployment

2013-04-02 Thread Nathan Valentine
Hi, You probably want to look at implementing a simple deployment pipeline using Puppet environments and Git branches. Here's a URL for getting started: https://puppetlabs.com/blog/git-workflow-and-puppet-environments/ On Tue, Apr 2, 2013 at 9:27 AM, ForumUser wrote: > Hi all, > > I am new i

[Puppet Users] puppetlabs-puppet module?

2013-04-02 Thread Andreas Hilboll
I'm wondering if there isn't a usable "official" module to manage puppet itself? I found some puppetlabs-puppet on github, but that doesn't seem to be ready. So what's the officially supported way to manage puppet configuration with puppet? Cheers, Andreas. -- You received this message because

[Puppet Users] Dependency Cycle Question

2013-04-02 Thread beyonddc . storage
Hi All, I am new to Puppet and have a question on dependency cycle. I am currently applying my resource directly using the command prompt on Windows 'puppet apply --noop init.pp'. When I try to test it, I encounter a dependency cycle error. Error: Could not apply complete catalog: Found 1 depen

[Puppet Users] Nodes not showing up under 'Live Management' on fresh install of PE 2.7

2013-04-02 Thread Michael Buckner
I'm racking my brain here. Fresh install of PE 2.7. After pushing mcollective to the clients I do not see the nodes showing up under 'live management'. All the necessary ports are open on the server and clients, the pe-mcollective daemon is running, but nothing shows up in live management. An

Re: [Puppet Users] Viewing reports without the dashboard

2013-04-02 Thread Schofield
> Longer term, we're working on some replacement technologies, Is it safe to assume that the replacement technologies will be open source and that open source consumers will never be stuck without an easy way to view reports? -- You received this message because you are subscribed to the Goog

[Puppet Users] Multiple sources for puppet configuration?

2013-04-02 Thread Thomas A. Fine
Hi, As we gradually spread puppet management to all of our systems, we've run across a group that's managed by us, but also semi-self-managed, and they'd set up puppet to manage some of their own software configurations (they provide an outward facing archive service). Is there a way to set

Re: [Puppet Users] Viewing reports without the dashboard

2013-04-02 Thread Dawn Foster
On Thu, Mar 28, 2013 at 12:23 PM, Schofield wrote: > What I understand is that the puppet dashboard is essentially deprecated. > https://groups.google.com/forum/#!msg/puppet-users/j44EbTJY7HI/EQSJgh-g1fgJ Just to clarify a bit ... Puppet Dashboard hasn't really been deprecated. Puppet Labs is les

[Puppet Users] before and after not being honoured

2013-04-02 Thread Dave Bell
Hi, I'm running puppet 3.1.1 I have something similar to the following configuration. class my_roles::puppet_master { file { '/etc/default/puppetmaster': ensure => present, source => 'puppet:///modules/my_roles/puppetmaster/etc/default/puppetmaster', #before => Class['puppet'],

[Puppet Users] Grouping hosts for stage deployment

2013-04-02 Thread ForumUser
Hi all, I am new in puppet world so please excuse my lack of knowledge ... I am going to use puppet to manage our hosts but because my lack of knowledge whether I deploy configuration changes the right way I would like to deploy them first on some hosts, then wait a few days, then on another gr

Re: [Puppet Users] ssh_authorized_key errors in RHEL6

2013-04-02 Thread Joshua Hoblitt
Hello, On 04/02/2013 07:44 AM, Kubes wrote: > cannot generate tempfile `/puppet20130331-3128-n19xxm-9' I suspect this is the crux of your issue. Is there a /tmp on that system and is it world writable? Have you declared $TMPDIR? What does the puppet.conf look like on that system? Does `mktemp`

[Puppet Users] ssh_authorized_key errors in RHEL6

2013-04-02 Thread Kubes
I am using puppet to manage ssh keys, it works fine all but one system, which its a true RHEL6 (vs CentOS and Amazon distos) (Puppet 3.1.1). Not sure even sure where to look to troubleshoot the issue. I have disabled selinux for testing too. Any suggestions would be greatly appreciated. Her

[Puppet Users] Re: tagging within defined type, then collecting fails

2013-04-02 Thread jcbollinger
On Tuesday, April 2, 2013 3:30:59 AM UTC-5, willia...@meltwater.com wrote: > > class os_common::users ( ) { > $users = loadyaml('/etc/puppet/resources/users.yaml') > > define virtualuser ( ) { > tag $users[$title]['tag'] > > basic::add_user { $title: > email => $users[$title]['e

[Puppet Users] Re: tagging within defined type, then collecting fails

2013-04-02 Thread jcbollinger
On Tuesday, April 2, 2013 3:30:59 AM UTC-5, willia...@meltwater.com wrote: > > class os_common::users ( ) { > $users = loadyaml('/etc/puppet/resources/users.yaml') > > define virtualuser ( ) { > tag $users[$title]['tag'] > > basic::add_user { $title: > email => $users[$title]['e

Re: [Puppet Users] Ruby (Rack) application could not be started

2013-04-02 Thread Nikola Petrov
Yep. Sometimes I even wonder why are people considering other options. By default I installed the packages from puppetlabs and I have forgotten about it. P.S. I even think that puppetDB should install with postgresql by default. It scales better debugging is much better and maintenance too. Best

[Puppet Users] Re: Template function does not show warnings if variable not defined

2013-04-02 Thread jcbollinger
On Monday, April 1, 2013 1:28:21 PM UTC-5, Alexander Kulbiy wrote: > > Hello all, > > I have a problem while applying templates. I will show here a sample > example while I can reproduce this problem but it also exist in more > complicated configuration. > I have a next manifest: > > class test

[Puppet Users] Re: PUPPET VERSION 3 INSTALLATION ON CENTOS 6.3 64 bit SERVER

2013-04-02 Thread Byron Miller
There are a few dependencies. We just mirrored the puppetlabs yum repo locally and use that as our base so we can freeze the code and not pickup new releases until we're ready to deploy them. http://yum.puppetlabs.com/el/6Server/ On Tuesday, April 2, 2013 6:17:20 AM UTC-5, rsgrimm wrote: >

[Puppet Users] puppet dashboard enc default group

2013-04-02 Thread vioilly
Hi, Is there such a thing in puppet dashboard as a default group that new nodes automatically get adding to, similar to the site.pp default classification? -oli -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group an

[Puppet Users] puppet kick question

2013-04-02 Thread MrTeleBird
Hello, I have basically two questions regarding *puppet kick* (old puppetrun) when calling a "puppet kick host1.com host2.com host3.com" : first question) does puppet kick deploy the catalogue on the three hosts serially or in parallel?? and 2) what happens if for any reason the deployment

[Puppet Users] Puppet Dell Openmanage users

2013-04-02 Thread jim
Hello all Has anyone out there written a Dell Openmange module for managing users on linux / windows phyiscal hosts ? regards Jim -- 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 i

Re: [Puppet Users] Ruby (Rack) application could not be started

2013-04-02 Thread Ken Barber
This is me installing a puppetmaster for Ubuntu with the bog-standard apt repos the other day - took less than 5 minutes: https://gist.github.com/kbarber/5209267 As you can see it was pretty straight-forward (apt-get install puppetmaster-passenger, more or less) - note this was a clean Ubuntu 12.

Re: [Puppet Users] Ruby (Rack) application could not be started

2013-04-02 Thread Felix Frank
Hi, On 03/26/2013 08:11 PM, thinkwell wrote: > Puppet runs always generating scads of errors > .Is Passenger enabled? Well, the error is titled with "Passanger" so I'd say yes ;) The error also advises to check the webservers's logfiles. Have you? If ap

Re: [Puppet Users] Problems installing dashboard.

2013-04-02 Thread ForumUser
Hi, I am facing similar problem about 'rake aborted'. Can you write which script (from dashboard site) did you run to solve this issues ? On Wednesday, 11 July 2012 14:52:47 UTC+1, llowder wrote: > > Comments inline. > > On Tuesday, July 10, 2012 6:48:28 PM UTC-5, Craig White wrote: >> >> >> On

[Puppet Users] PUPPET VERSION 3 INSTALLATION ON CENTOS 6.3 64 bit SERVER

2013-04-02 Thread rsgrimm
Hi: I am new to the puppet world and did a search but did not find what I needed. I am trying to install puppet on a server that is not connected to the internet. I am not sure of what to install as it seems there are other requirements besides puppet to include different ruby, facter and

Re: [Puppet Users] Staging content from modules for temporary use by resources

2013-04-02 Thread Keith Burdis
Indeed, but other than saving disk space, I have found running multiple instances from the same installation more trouble than it is worth. Please do share your pattern though as I am sure there are others who disagree and I may change my mind :-) On 30 March 2013 10:20, Brian Lalor wrote: > O

Re: [Puppet Users] Re: Catalog compilation, puppetdb and ssl

2013-04-02 Thread Ken Barber
If you specify 'certname' it will use the local certificate with that name as apposed to using the certificate with the same name as the boxes fqdn (ie. facter fqdn). For example, if I use 'puppet master --compile puppetdb1.vm' on its own, it uses my local fqdn (determined with `facter fqdn`) as a

[Puppet Users] tagging within defined type, then collecting fails

2013-04-02 Thread william . leese
class os_common::users ( ) { $users = loadyaml('/etc/puppet/resources/users.yaml') define virtualuser ( ) { tag $users[$title]['tag'] basic::add_user { $title: email => $users[$title]['email'], uid => $users[$title]['uid'], role => $users[$title]['role'], }