[Puppet Users] Re: checking puppet run status of node A during puppet run of node B

2013-04-30 Thread walterheck
Look into exported resources to see if it can do what you need. Works a tad better then qeurying puppetdb or contacting B directly, much more scalable too :) On Monday, April 29, 2013 3:18:20 PM UTC+2, Schofield wrote: > > I have some middleware where the successful configuration of node B is >

[Puppet Users] Retrieve scoped resource defaults from class method in custom type

2013-04-30 Thread Ryan Uber
[accidently sent this to puppet-dev, re-posting to puppet-users] Hello puppet-users, I am working on a module that provides a custom type. The type when called will create new resources in the catalog using syntax like: Puppet::Type.type(:file).new(:title => 'blah') This works fine and the reso

Re: [Puppet Users] Re: New Module - NetApp Storage support

2013-04-30 Thread fatmcgav
Brett Which version are you trying to use? Did have an issue with some earlier versions when exporting the module from Gepetto... It would remove an empty dependencies list... However have been using a different method for latest versions. But to confirm, there are no dependencies for this modul

[Puppet Users] Puppet Mail notification configuration

2013-04-30 Thread Jithin Xavier
Hi All- How we can configure mail notification in Puppet enterprise server, like if any changes happened in agent it should notify through mail. I have seen some of the documentation regarding that in Puppet docs - http://docs.puppetlabs.com/references/0.25.5/report.html#tagmail. Anyone here h

Re: [Puppet Users] puppet 3 and hiera debugging

2013-04-30 Thread Denmat
Hi, Run the master in no-daemonize and debug. You will see how it searches through your hierarchy that way. Also you can use the command line on the master to query hiera. See puppet docs for details. Cheers, Den On 01/05/2013, at 2:46, lth wrote: > I'm using puppet 3.1 and I want to figure

[Puppet Users] Re: manifest digest mismatch error

2013-04-30 Thread Mark Hahn
I found the problem. I had incorrectly tried to mount that file as a disk. That must have corrupted the file. I downloaded the file again and it worked when installing that as an appliance. Now I just have to get the stupid networking and ssh working. -- You received this message because yo

[Puppet Users] manifest digest mismatch error

2013-04-30 Thread Mark Hahn
I'm getting this error when trying to install the puppet tutorial appliance into virtualbox ... Failed to import appliance * C:\Users\Administrator\Desktop\learn_puppet_centos_pe2.7.0_ovf.2013.01.07\learn_puppet_centos_pe2.7.0_ovf.2013.01.07.ovf *. The SHA1 digest of *'learn_puppet_centos_pe2.7

[Puppet Users] Re: New Module - NetApp Storage support

2013-04-30 Thread Brett Edelen
having some trouble getting this module installed. do you know the dependency list? --- Preparing to install into /etc/puppetlabs/puppet/modules ... Error: No dependencies module metadata provided for netapp Error: Try 'puppet help module install' for usage

[Puppet Users] Class definitions under node default do not propagate in puppet-agents

2013-04-30 Thread Dimitris
In site.pp when i declare a class under changes are propagated correctly. When the same class is declared under i have no effect on changes. node default { # This is where you can declare classes for all nodes. # Example: # class { 'my_class': } class { 'hosts': } } node 'puppetagen

Re: [Puppet Users] rspec-puppet testing with puppet $::settings

2013-04-30 Thread Wolf Noble
Hi Simon, On Apr 29, 2013, at 23:35, "Simon Piette" wrote: > Hi all, > > Any solution for testing variables that depends on settings will be welcome What I've done elsewhere is to make a parameter for, in your case, vardir: (untested, but close) Class foo($vardir = $::settings::vardir){

[Puppet Users] Puppet 2.6.x is now EOL

2013-04-30 Thread Michael Stahnke
The time has come for us to say good-bye to Puppet 2.6.x. Puppet 2.6.x is now end of Life, as originally announced Jan 17, 2013. Puppet 2.6.0 first launched July 20, 2010. Since that time, we've had two major versions of Puppet, 2.7.x and the semantically versioned Puppet 3 series. Puppet 2.7.x i

[Puppet Users] Re: how do you test and release puppet changes?

2013-04-30 Thread Felipe Salum
I'm basically doing the same. I have replicated my production environment in Vagrant, that means the puppetmaster/puppetdb setup as well as the app,db,cache,api layers are identical to production in the vagrant setup. After all tests are done in Vagrant, destroying and re-creating the VMs from

Re: [Puppet Users] [ANN] puppet-cleaner 0.2.0

2013-04-30 Thread Nikola Petrov
Looks good to me. I will try to integrate this with the vim puppet support. Nice work -- Nikolavp On Tue, Apr 30, 2013 at 5:51 PM, Gerardo Santana Gómez Garrido < gerardo.sant...@gmail.com> wrote: > Hi Chris, > > you're right. I've fixed the README.md. Thanks! > > El lunes, 29 de abril de 2013

Re: [Puppet Users] rspec-puppet testing with puppet $::settings

2013-04-30 Thread Simon Piette
Hi Wolfe, On Tue, Apr 30, 2013 at 12:05 PM, Wolf Noble wrote: > Hi Simon, > On Apr 29, 2013, at 7:45 PM, Simon Piette > wrote: > > What I've done elsewhere is to make a parameter for, in your case, vardir: > > > (untested, but close) > > Class foo($vardir = $::settings::vardir){ > file { "${va

[Puppet Users] puppet 3 and hiera debugging

2013-04-30 Thread lth
I'm using puppet 3.1 and I want to figure out why hiera seems to be looking in the wrong place and getting the wrong value. I found a post from this group saying to run puppet -d on the master and look in the log. Having done that I still don't see anything hiera related except for where puppe

Re: [Puppet Users] rspec-puppet testing with puppet $::settings

2013-04-30 Thread Wolf Noble
Hi Simon, On Apr 29, 2013, at 7:45 PM, Simon Piette wrote: > Hi all, > > Any solution for testing variables that depends on settings will be welcome. > > Thanks, I sent this last night from another account, but it didn't seem to go through: What I've done elsewhere is to make a parameter f

[Puppet Users] Re: augeas

2013-04-30 Thread Stan
thanks a lot for webmin, it's good!!! Le lundi 29 avril 2013 14:52:42 UTC+2, Stan a écrit : > > Hello > > I use augeas to replace a value in a config file: > > example (this example is good) : > > /etc/ssh/sshd_config file > > LogLevel INFO > > > class ssh::redhat { > augeas { "sshd_config": > c

Re: [Puppet Users] [ANN] puppet-cleaner 0.2.0

2013-04-30 Thread Gerardo Santana Gómez Garrido
Hi Chris, you're right. I've fixed the README.md. Thanks! El lunes, 29 de abril de 2013 22:58:50 UTC-5, Chris Hirsch escribió: > > On 4/29/13 7:43 PM, Gerardo Santana G�mez Garrido wrote: > > This release was tested successfully with puppet 3. > If I understand correctly this should be compat

Re: [Puppet Users] realizing virtual resource does not match on default properties

2013-04-30 Thread Calvin Walton
On Tue, 2013-04-30 at 06:45 -0700, Schofield wrote: > Given a class that defines multiple virtual users with common properties > defined in the User class: > > class users{ > User{ > gid => 2000, > shell => "/bin/bash", > managehome => "true", > password => 'XrU4ZYu0nwk7s', >

[Puppet Users] realizing virtual resource does not match on default properties

2013-04-30 Thread Schofield
Given a class that defines multiple virtual users with common properties defined in the User class: class users{ User{ gid => 2000, shell => "/bin/bash", managehome => "true", password => 'XrU4ZYu0nwk7s', require => Group['mygroup'], } @user{ 'user1': uid => 1690,

Re: [Puppet Users] Re: High Availability of Puppet server for separate geographical location

2013-04-30 Thread R.I.Pienaar
- Original Message - > From: "jcbollinger" > To: puppet-users@googlegroups.com > Sent: Tuesday, April 30, 2013 2:39:52 PM > Subject: [Puppet Users] Re: High Availability of Puppet server for separate > geographical location > > > > On Monday, April 29, 2013 8:55:39 AM UTC-5, shyam su

[Puppet Users] Re: High Availability of Puppet server for separate geographical location

2013-04-30 Thread jcbollinger
On Monday, April 29, 2013 8:55:39 AM UTC-5, shyam sundar Keshari wrote: > > Hi Team, > > I have to configure puppet server in Primary-Secondary mode for 2 > distributed location . > > Site A is already running 1 Puppet server .Now I need to configure > another puppet secondary server at site

[Puppet Users] Re: replace a word in config file

2013-04-30 Thread Stan
a text file example text file : *root*: acl adsl-client apache at backup-config bacula-backup bandwidth bind8 burner cfengine change-user cluster-copy cluster-cron cluster-passwd cluster-shell replace root by admin *admin*: acl adsl-client apache at backup-config bacula-backup bandwidth bi

[Puppet Users] Re: replace a word in config file

2013-04-30 Thread Raphink
Hi, Depending on the config format, you can use Augeas for that. What is the format you need to edit? Regards, Raphaël On Tuesday, April 30, 2013 11:25:21 AM UTC+2, Stan wrote: > > Hi > > What is a solution with puppet to replace one word in a config file? > > for example i would like replac

[Puppet Users] Re: augeas

2013-04-30 Thread Raphink
Hello, On Monday, April 29, 2013 2:52:42 PM UTC+2, Stan wrote: > > Hello > > I use augeas to replace a value in a config file: > > example (this example is good) : > > /etc/ssh/sshd_config file > > LogLevel INFO > > > class ssh::redhat { > augeas { "sshd_config": > context => "/files/etc/ssh/s

[Puppet Users] replace a word in config file

2013-04-30 Thread Stanislas LEVEAU
Hi What is a solution with puppet to replace one word in a config file? for example i would like replace "root" by "admin" in /etc/files/toto regards -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop rece

Re: [Puppet Users] Problems Running Puppet Once For Passenger Installation - Certificates Disappear

2013-04-30 Thread Felix Frank
Hi, On 04/25/2013 04:31 PM, Philip Gardner wrote: > notice: > /Stage[main]/Puppet::Config::Master/Exec[run_puppet_once]/returns: > executed successfully > notice: > /Stage[main]/Puppet::Config::Master/Apache::Vhost[puppetmasterd]/File[/var/log/httpd]/mode: > mode changed '0700' to '0755' > notice: