Re: [Puppet Users] Exported resources not realizing

2013-01-11 Thread David Kerr
Ah-ha! i had gotten confused by the examples I was using because they were realizing with a collector. (making me think that If i didn't want to collect I didn't need to realize). Now that I've added the code to realize it's working. Thank you! On Friday, January 11, 2013 3:12:49 PM UTC-8

Re: [Puppet Users] Exported resources not realizing

2013-01-11 Thread Craig Dunn
If i remove the "@@" it works correctly, (except i don't get the exported resource that I want to use elsewhere). Can you show how and where you are realizing the exported resource? From what I can see in your code you will export it ok but you're not realizing it anywhere Regards C

[Puppet Users] Exported resources not realizing

2013-01-11 Thread David Kerr
I'm sure i'm doing something incorrectly, I'm basing this off of what I've seen in other modules, but it's not working as I'd expect. Specifically, If i change the parameters to server_config. My mongo.conf doesn't ever reflect that change. As a matter of fact, I can delete mongo.conf and run pu

[Puppet Users] Profiles, Hiera, and create_resources('class','...')

2013-01-11 Thread Eric Sakowski
Hi all, We've recently started exploring the role / profile / component module described by Craig Dunn in his blog here: http://www.craigdunn.org/2012/05/239/ and discussed on the list the other day. As I was implementing this for a profile using the apache module, I realized that I could make

Re: [Puppet Users] Re: Dynamic Environments and Hiera

2013-01-11 Thread Brad Ison
On Fri, Jan 11, 2013 at 12:10 PM, Erik Dalén wrote: > I also use one environment per git branch. But I use a custom fact that > returns production/testing etc and then use that in the hiera hierarchy > instead of the puppet environment. That's actually along the lines of what I was thinking origi

Re: [Puppet Users] Re: Puppet dashboard not enabling inventory

2013-01-11 Thread Luke
Ah figured out the problem. Not sure why this caused the issue but I had copied my http conf stuff out of a template and forgot to update the ServerName with the correct name after correcting this and restarting httpd and the dashboard it corrected the issue. Thanks for the help guys! On Frida

Re: [Puppet Users] Re: Setting defaults on a type and in a class before defining a class resource

2013-01-11 Thread jcbollinger
On Friday, January 11, 2013 12:01:52 PM UTC-6, Erik Dalén wrote: > > At least in puppet 3 resource defaults are local to defines and classes > and doesn't get inherited to any included defines or classes. So to make > upgrading easier you shouldn't make any such assumptions in your code. > Tha

Re: [Puppet Users] stdlib take almost 14 minutes to sync on CentOS Vagrant VM

2013-01-11 Thread Kirk Steffensen
Josh, thanks for the info. Based on your description, I think I was seeing a bug. Because the agents were all definitely getting certificates. When I did the tcpdump, I could see them being used in the exchange. So, it sounds like the puppetmaster running in webrick was still performing a r

Re: [Puppet Users] Dashboard/Site.pp interfunctionality

2013-01-11 Thread Dawn Foster
On Fri, Jan 11, 2013 at 11:01 AM, Joshua Sinfield wrote: > Hi Jo, > > Can you confirm where it's stated the Puppet Dashboard is deprecated? I've > just recently been installing it at work, and have not seen this anywhere on > the PuppetLabs websites? > It's a bit more complicated ... We original

Re: [Puppet Users] Dashboard/Site.pp interfunctionality

2013-01-11 Thread Joshua Sinfield
Hi Jo, Can you confirm where it's stated the Puppet Dashboard is deprecated? I've just recently been installing it at work, and have not seen this anywhere on the PuppetLabs websites? Thanks, Josh On Friday, 11 January 2013 18:09:14 UTC, Jo wrote: > > Really quick answer: there's no interacti

Re: [Puppet Users] Re: Dynamic Environments and Hiera

2013-01-11 Thread Erik Dalén
I also use one environment per git branch. But I use a custom fact that returns production/testing etc and then use that in the hiera hierarchy instead of the puppet environment. On Jan 9, 2013 7:43 PM, "Brad Ison" wrote: > On Wed, Jan 9, 2013 at 3:11 AM, Luke Bigum wrote: > > > > :backends: > >

Re: [Puppet Users] Dashboard/Site.pp interfunctionality

2013-01-11 Thread Jo Rhett
Really quick answer: there's no interaction between Dashboard and Site.pp that I'm aware of. Think of the Dashboard as a place to visually display puppet reports. This is functionality where you can define things in the Dashboard and use that as an ENC in your puppet manifests. So Site.pp coul

Re: [Puppet Users] Re: Setting defaults on a type and in a class before defining a class resource

2013-01-11 Thread Dan White
Would you please post the code from the first posting with the correction that makes it work. I am confused and would like to see the difference. Thanks. “Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us.” Bill

Re: [Puppet Users] Re: Setting defaults on a type and in a class before defining a class resource

2013-01-11 Thread Erik Dalén
At least in puppet 3 resource defaults are local to defines and classes and doesn't get inherited to any included defines or classes. So to make upgrading easier you shouldn't make any such assumptions in your code. On Jan 11, 2013 6:47 PM, "Ilya Dmitrichenko" wrote: > Ok, I tried this with 2.7.2

[Puppet Users] Dashboard/Site.pp interfunctionality

2013-01-11 Thread Art
I have a few questions on how the Dashboard and site.pp file work together and would appreciate any help that could be given. First a little about my setup. I am using the Learning Puppet VM provided by the Puppet Labs website. I have copied it 3 times to create a configuration of 1 master a

[Puppet Users] Re: Setting defaults on a type and in a class before defining a class resource

2013-01-11 Thread Ilya Dmitrichenko
Ok, I tried this with 2.7.20 and it's the same ... But copying `File { }` into the `define extra` block fixed it for me. That's a bit of an unexpected kind of scoping, isn't it? -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this gr

Re: [Puppet Users] Re: Puppet dashboard not enabling inventory

2013-01-11 Thread Stefan Heijmans
And if you create new settings.yml from settings.yml.example. Seems like like settings_reader.rb falls back to setings.yml.example if parameters are not correct in settings.yml. http://projects.puppetlabs.com/issues/14371 Or enable inventory in settings.yml.example? -- You received this message

Re: [Puppet Users] JBOSS installation and Configuration through puppet

2013-01-11 Thread Alessandro Franceschi
There were some bugs in the module for some not well tested installation options (the module can install version 4, 5, 6 and 7 either via package, upstream source or puppi (from upstream files) and I personally used only one of these combinations). These problem should have been now be fixed,

Re: [Puppet Users] Re: Puppet dashboard not enabling inventory

2013-01-11 Thread Luke
Should point out that SELinux, firewall etc is all turned off. On Friday, January 11, 2013 1:02:41 PM UTC-4, Luke wrote: > > Centos 6.3 > > On Friday, January 11, 2013 12:08:47 PM UTC-4, Stefan Heijmans wrote: >> >> on what OS are you, read that for instance debian uses a different >> location fo

Re: [Puppet Users] Re: Puppet dashboard not enabling inventory

2013-01-11 Thread Luke
Centos 6.3 On Friday, January 11, 2013 12:08:47 PM UTC-4, Stefan Heijmans wrote: > > on what OS are you, read that for instance debian uses a different > location for config files -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this di

RE: [Puppet Users] Eclipse plugin, Manifest and module

2013-01-11 Thread GRANIER Bernard (MORPHO)
Ok thanks for the answer. Cordialement, Bernard Granier CE Plateforme Système bernard.gran...@morpho.com 01 58 11 32 51 From: puppet-users@googlegroups.com [mailto:puppet-users@googlegroups.com] On Behalf Of Luke Tislow Sent: Friday, January 11, 2013 5:27 PM T

Re: [Puppet Users] Eclipse plugin, Manifest and module

2013-01-11 Thread Luke Tislow
http://puppetlabs.com/blog/geppetto-a-puppet-ide/ I'm not sure about maven. On Jan 11, 2013 11:25 AM, "GRANIER Bernard (MORPHO)" < bernard.gran...@morpho.com> wrote: > Hi, > > Is there an Eclipse plugin and a Maven plugin to develop and package > Puppet modules ? > > Cordialement, > > Bernard Gra

[Puppet Users] Eclipse plugin, Manifest and module

2013-01-11 Thread GRANIER Bernard (MORPHO)
Hi, Is there an Eclipse plugin and a Maven plugin to develop and package Puppet modules ? Cordialement, Bernard Granier CE Plateforme Système bernard.gran...@morpho.com 01 58 11 32 51 # " This e-mail and any attached documents may contain confidential or proprietary information. If you are no

[Puppet Users] puppet and cryptography

2013-01-11 Thread GRANIER Bernard (MORPHO)
Hi, For export control reasons, I am looking for an information. Puppet is using cryptography and certificates, is it with openssl only ? Cordialement, Bernard Granier CE Plateforme Système bernard.gran...@morpho.com 01 58 11 32 51 # " This e-mail and any attached documents may contain confid

Re: [Puppet Users] Installing cloudprovisioner on windows

2013-01-11 Thread Josh Cooper
On Thu, Jan 10, 2013 at 10:34 PM, PuppetUser wrote: > Hi > > I am trying to install cloud provisioner on windows puppet. I just used > "puppet module install puppetlabs/cloudprovisioner". It gave the following > error. Error: `puppet module` actions are currently not supported on > Microsoft Windo

Re: [Puppet Users] Re: Puppet dashboard not enabling inventory

2013-01-11 Thread Stefan Heijmans
on what OS are you, read that for instance debian uses a different location for config files -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/RRZ1lRxtVuIJ.

[Puppet Users] Setting defaults on a type and in a class before defining a class resource

2013-01-11 Thread Ilya Dmitrichenko
Hi, I'm have this in my nginx module: class nginx::package { package { 'nginx': ensure => latest } ### there is more code here handling different ditro versions ... etc } class nginx::service { service { 'nginx': ensure => running, enable => true, hasrestart => true,

[Puppet Users] ssh::auth and other ways of managing ssh keys

2013-01-11 Thread Jist Anidiot
With puppet 3.x I was wondering if the ssh::auth module (http://projects.puppetlabs.com/projects/puppet/wiki/Module_Ssh_Auth_Patterns) is still the preferred way of creating and distributing ssh keys. The module hasn't been updated since 2010 and I've seen several other possible solutions. S

Re: [Puppet Users] Re: Puppet dashboard not enabling inventory

2013-01-11 Thread Luke
I think I found the problem: ** SettingsReader - Loading settings from file config/settings.yml. Using default values for unspecified settings "ca_certificate_path", "ca_crl_path", "ca_port", "ca_server", "certificate_path", "classes_per_page", "cn_name", "custom_logo_alt_text", "custom_logo_h

Re: [Puppet Users] Re: Puppet dashboard not enabling inventory

2013-01-11 Thread Erik Dalén
As Stefan said you need to point it to your puppet master not your puppetdb server. On Jan 11, 2013 3:44 PM, "Luke" wrote: > Thank you for your reply. > > I am confused as to why it is not working then. I have this set exactly > like this in my settings: > > enable_inventory_service: true > > > I

[Puppet Users] Re: Puppet dashboard not enabling inventory

2013-01-11 Thread Luke
Thank you for your reply. I am confused as to why it is not working then. I have this set exactly like this in my settings: enable_inventory_service: true It is like it isn't recognizing this setting. I have updated my dashboard to the same version as you with no change. On Thursday, January

[Puppet Users] Re: ghost overwriting puppet.conf (help!)

2013-01-11 Thread jcbollinger
On Thursday, January 10, 2013 7:46:29 PM UTC-6, iamauser wrote: > > I am puzzled and banging my head on the wall since two hours. > > After doing some basic and first time setup with ENC (see my earlier posts > here) >

Re: [Puppet Users] changing the root password on PUPPET master and init.pp

2013-01-11 Thread DJames
my existing setup ( sorry im new to this) i noticed each section for encrypted password is different, what change each value? I was told put the same password (encrypted) in each 4 sections after i change the root password on the host. see below, i replaced the existing encryption with "differ1

Re: [Puppet Users] Re: Access variables defined in defined type

2013-01-11 Thread jcbollinger
On Friday, January 11, 2013 4:45:49 AM UTC-6, Vladimir Rutsky wrote: > > Can you suggest solution to my problem? > > Generally speaking, the Puppet way of approaching such problems is to have all the relevant resources draw on the same data, instead of some resources getting it indirectly from

Re: [Puppet Users] Re: Access variables defined in defined type

2013-01-11 Thread llowder
On Friday, January 11, 2013 4:45:49 AM UTC-6, Vladimir Rutsky wrote: > > Thank you for your reply. > > On Fri, Jan 11, 2013 at 1:06 AM, llowder >wrote: > >> >> >> On Thursday, January 10, 2013 2:53:34 PM UTC-6, Vladimir Rutsky wrote: >>> >>> Sorry, there is a typo in example: >>> >>> define pyth

Re: [Puppet Users] changing the root password on PUPPET master and init.pp

2013-01-11 Thread Darin Perusich
You need to supply the encrypted password in the manifest. -- Later, Darin On Thu, Jan 10, 2013 at 4:55 PM, DJames wrote: > I understand that you must change the password on the host itself first, > then change the password in /etc/puppet/modules/users/manifests/init.pp > > what makes the passw

[Puppet Users] Installing cloudprovisioner on windows

2013-01-11 Thread PuppetUser
Hi I am trying to install cloud provisioner on windows puppet. I just used "puppet module install puppetlabs/cloudprovisioner". It gave the following error. Error: `puppet module` actions are currently not supported on Microsoft Windows. It is that we should work with cloudprovisioner tarball

Re: [Puppet Users] Re: Access variables defined in defined type

2013-01-11 Thread Vladimir Rutsky
Thank you for your reply. On Fri, Jan 11, 2013 at 1:06 AM, llowder wrote: > > > On Thursday, January 10, 2013 2:53:34 PM UTC-6, Vladimir Rutsky wrote: >> >> Sorry, there is a typo in example: >> >> define python_virtualenv( $directory ) { >> # Setup virtualenv in directory here >> ... >> >>