[Puppet Users] Puppet-dashboard(open source)

2013-02-19 Thread Mamta Garg
Hi , I am working with puppet open source.I have setup puppet dashboard. But its is not showing any agent node there.Anyone guide me for the same? -- Thanks and Regards, Mamta Garg -- You received this message because you are subscribed to the Google Groups Puppet Users group. To unsubscribe

Re: [Puppet Users] Name or service not known issue

2013-02-19 Thread Felix Frank
Wow, this is like a voice from the past coming to haunt me ;-) Way to find this thread years later. On 02/15/2013 05:42 PM, Adam Turner wrote: Felix - d) add a server= entry to your puppet.conf This needs to be a fully qualified domain name (FQDN) - correct? Technically it doesn't have

[Puppet Users] Specifying multple nodes with mcollective-puppet-agent Host Filters

2013-02-19 Thread Andriy Yurchuk
If I want to run Puppet agent only on two nodes out of ten, how can I specify this with the Host Filters? I tried mco puppet runall 10 -I node1,node2 and different other variations, but this does not work. Is this at all possible? -- You received this message because you are subscribed to the

Re: [Puppet Users] Installation from the scratch

2013-02-19 Thread Calero
ok, I have configured a ntp client pointing to the same ntp server and both systems are sync, if I’m not wrong. Puppetmaster. root@puppetmaster:~# ntpq -p remote refid st t when poll reach delay offset jitter

Re: [Puppet Users] Specifying multple nodes with mcollective-puppet-agent Host Filters

2013-02-19 Thread R.I.Pienaar
- Original Message - From: Andriy Yurchuk ayurch...@gmail.com To: puppet-users@googlegroups.com Sent: Tuesday, February 19, 2013 9:43:43 AM Subject: [Puppet Users] Specifying multple nodes with mcollective-puppet-agent Host Filters If I want to run Puppet agent only on two nodes

[Puppet Users] Issue when istalling puppet-server in RHEL 6.

2013-02-19 Thread DreamBig
Hi , Following is the issue: puppet.repo: [puppetlabs] name=Puppet Labs Packages baseurl=http://yum.puppetlabs.com/el/$releasever/products/$basearch/ enabled=1 gpgcheck=1 gpgkey=http://yum.puppetlabs.com/RPM-GPG-KEY-puppetlabs uname -a Linux rniyer-linux 2.6.32-220.el6.x86_64 #1 SMP Wed Nov 9

Re: [Puppet Users] Installation from the scratch

2013-02-19 Thread Sirtaj Singh Kang
On 2/19/2013 3:39 PM, Calero wrote: [snip] Warning: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed: [certificate signature failure for /CN=puppetmaster.domain.name] Are you using passenger? If so, check whether the SSL cert+key files in the

Re: [Puppet Users] Installation from the scratch

2013-02-19 Thread Francisco Calero
No, i'm not using passenger, i have only puppetmaster installed. On 19 February 2013 13:27, Sirtaj Singh Kang sirtaj.k...@gmail.com wrote: On 2/19/2013 3:39 PM, Calero wrote: [snip] Warning: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed:

[Puppet Users] Re: Puppet-dashboard(open source)

2013-02-19 Thread Mamta Garg
It resolved.don't reply :) On Tue, Feb 19, 2013 at 4:15 AM, Mamta Garg itsmamta.b...@gmail.com wrote: Hi , I am working with puppet open source.I have setup puppet dashboard. But its is not showing any agent node there.Anyone guide me for the same? -- Thanks and Regards, Mamta Garg

Re: [Puppet Users] Specifying multple nodes with mcollective-puppet-agent Host Filters

2013-02-19 Thread Andriy Yurchuk
Obviously... Thanks! On Tuesday, February 19, 2013 12:33:49 PM UTC+2, R.I. Pienaar wrote: - Original Message - From: Andriy Yurchuk ayur...@gmail.com javascript: To: puppet...@googlegroups.com javascript: Sent: Tuesday, February 19, 2013 9:43:43 AM Subject: [Puppet Users]

Re: [Puppet Users] Error with service: invalid byte sequence in US-ASCII

2013-02-19 Thread jcbollinger
On Monday, February 18, 2013 11:02:05 PM UTC-6, Patrick wrote: No, but it's not related to the manifest. The manifest this resource is in actually hasn't changed in months. Also I can reboot the box and it goes away. Other boxes that aren't doing it will sometimes start doing it when

[Puppet Users] Question Windows manifests

2013-02-19 Thread Rakesh Kathpal
Hi, I am creating a file resouce which is bat file, and I am running the file to perform some operation. I need to know how do I delete the file after the operation is performed... the code I tried is as follows class rk{ file { c:\install.bat: ensure = present,

[Puppet Users] Re: Controlling access to filebucket

2013-02-19 Thread jcbollinger
On Monday, February 18, 2013 11:56:01 AM UTC-6, Brian Warsing wrote: Hi, Is there a way to control access to the filebucket? Specifically, I wish to allow agents to backup to the filebucket but never restore. Is this possible to do? Yes and no. You cannot create access controls

[Puppet Users] Class Order: Cant add user without group

2013-02-19 Thread Alexander Winkler
Hello, I am trying to establish an Puppet infrastructure starting with user and group management. For that reason, i created 2 modules: userloader and group. Userloader contains a 'function' as template to add users, the module group all groups to add. If the groups are on every system, adding

Re: [Puppet Users] Re: Puppet Automatic Resource State changing...

2013-02-19 Thread jcbollinger
On Monday, February 18, 2013 9:15:05 AM UTC-6, Gavin Williams wrote: I was expecting the full state transition to take several Puppet runs, as the initial data replication to get from start to an 'Initialized' state could take anything from a couple of minutes to a couple of days... So

[Puppet Users] Rack Configurations

2013-02-19 Thread Raymond Regnier
Hello, Is puppet able to verify rack configurations ? Thank you -- 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 it, send an email to puppet-users+unsubscr...@googlegroups.com. To

[Puppet Users] Re: Dependency Ordering Confusion

2013-02-19 Thread jcbollinger
On Monday, February 18, 2013 8:41:53 AM UTC-6, Josh D wrote: I have a module for windows nodes that is defined like: class ast_win { Class['ast_win::env'] ~ Class['ast_win::restart'] - Class['ast_win'] ast_win::env contains a bunch of scripts that modify the environment on the host

Re: [Puppet Users] Require with Templates

2013-02-19 Thread Felix Frank
On 02/16/2013 01:21 AM, Nan Liu wrote: Two different manifests (in two different environments) need to exist, one to install the facter dependency, the second for the template. Putting them in the same deployment will always result in a catalog compilation error since the master doesn't have

[Puppet Users] Re: Querying system to generate resources

2013-02-19 Thread llowder
On Tuesday, February 19, 2013 10:00:39 AM UTC-6, Robert Citek wrote: What commands are there to collect system information and convert it into puppet resources? We have a lot of systems that were not initially configured with puppet and we would like to gather information about those

[Puppet Users] Re: .erb templates are not properly parsed.

2013-02-19 Thread jcbollinger
On Monday, February 18, 2013 7:17:51 AM UTC-6, Marc Bolós wrote: Dear John, I tryed as you suggested, and didn't work. Well no, evidently you didn't do what I suggested. I Found where is the problem that produces the failure in both cases. The problem basically is that on all the

[Puppet Users] Functions for PuppetDB

2013-02-19 Thread Schofield
Is this the best option for accessing puppetdb data from modules? http://forge.puppetlabs.com/dalen/puppetdbquery Any other recommendations? -- You received this message because you are subscribed to the Google Groups Puppet Users group. To unsubscribe from this group and stop receiving

[Puppet Users] Re: Functions for PuppetDB

2013-02-19 Thread llowder
On Tuesday, February 19, 2013 10:21:54 AM UTC-6, Schofield wrote: Is this the best option for accessing puppetdb data from modules? http://forge.puppetlabs.com/dalen/puppetdbquery Any other recommendations? As far as I know, that is currently the best option - though what you are trying

[Puppet Users] Re: .erb templates are not properly parsed.

2013-02-19 Thread jcbollinger
On Tuesday, February 19, 2013 10:21:47 AM UTC-6, jcbollinger wrote: The most essential part of my suggestion was that the include firewall be parsed *after* include $service_modules. The example code achieves that by putting the former after the latter in the same node block. Putting

[Puppet Users] AWS OpsWorks announcement using Chef

2013-02-19 Thread Felipe Salum
I wonder if PuppetLabs will work with Amazon to try to add Puppet as an option to OpsWorks as well ? I don't think people using Puppet with AWS in a stable fashion would try to move to OpsWorks and migrate everything to Chef, but new customers/startups would think twice in choosing Puppet if

Re: [Puppet Users] Controlling access to filebucket

2013-02-19 Thread dayglojesus
On Feb 19, 2013, at 6:26 AM, jcbollinger wrote: On Monday, February 18, 2013 11:56:01 AM UTC-6, Brian Warsing wrote: Hi, Is there a way to control access to the filebucket? Specifically, I wish to allow agents to backup to the filebucket but never restore. Is this possible to do?

[Puppet Users] migrating from cfengine to puppet, node wrangling question

2013-02-19 Thread Michael Stevens
This works, but I'm not sure it's the best way about going about it. I'm trying to define host groups in my site.pp file in such a way that when puppet runs on my nodes, they know their functional role and are configured accordingly. My site.pp; node base { class { 'dirsvc': }

Re: [Puppet Users] Require with Templates

2013-02-19 Thread Jakov Sosic
On 02/15/2013 07:42 PM, Tiago Cruz wrote: I'm using lsbmajdistrelease to discover the verstion of CentOS, but I've noticed that some hosts has broken, because the package redhat-lsb is missing. If I install the package with yum, everything works well, but I would like to solve this with

Re: [Puppet Users] Issue when istalling puppet-server in RHEL 6.

2013-02-19 Thread Moses Mendoza
On Tue, Feb 19, 2013 at 2:38 AM, DreamBig rajeev.n.i...@gmail.com wrote: Hi , Following is the issue: puppet.repo: [puppetlabs] name=Puppet Labs Packages baseurl=http://yum.puppetlabs.com/el/$releasever/products/$basearch/ enabled=1 gpgcheck=1

Re: [Puppet Users] How to manually create Puppet CA and client certificates using openssl?

2013-02-19 Thread spankthespam
Dear Felix, I think you're getting it wrong, let me clarify it a bit. The goal of this is to be able to write web interface for generating puppetmasters CA's and client certificates on demand. An example: install 3 puppetmasters with loadbalancer in front. Use web interface to generate CA and

[Puppet Users] Re: AWS OpsWorks announcement using Chef

2013-02-19 Thread Vaidas Jablonskis
It makes sense for Amazon to go with something like Chef, because it is more cloud oriented and it's easier to hack something up just to get it up and running quicker. Chef is more like shell scripting on steroids I would say, at least, that's how many people use it. On Tuesday, 19 February

[Puppet Users] Re: Request for an architectural advice for Hadoop ecosystem deployment

2013-02-19 Thread jcbollinger
On Tuesday, February 19, 2013 1:26:34 AM UTC-6, Roman Shaposhnik wrote: Hi! a few email exchanges on this ML coupled with John's remark that he'd be open for an architectural advice made realize that a discussion focused on a particular use case I'm trying to address might be much more

[Puppet Users] Parameter issue

2013-02-19 Thread gergo
Hi, I'm working on a module and run into an issue. I would like to install multiple PHP versions from source. I know the preferred way is packages, but I don't want to maintain a custom APT repository. I have two files: install.pp which does the installation (download, extract, configure,

[Puppet Users] Mounting windows fileshare

2013-02-19 Thread lewisc
I am looking for a way of mounting a windows fileshare without using 'exec net use ...' and haven't found a type that supplies this functionality. The windows documentation mentions that to use UNC paths you have to mount the drive first, but makes no mention of how to do this. Thank you for

Re: [Puppet Users] Re: Querying system to generate resources

2013-02-19 Thread Robert Citek
Thanks. I'll try that out: https://github.com/devstructure/blueprint Regards, - Robert On Tue, Feb 19, 2013 at 11:20 AM, llowder llowde...@gmail.com wrote: On Tuesday, February 19, 2013 10:00:39 AM UTC-6, Robert Citek wrote: What commands are there to collect system information and

[Puppet Users] autometically create nagios_hostgroup only when a member of a group comes up

2013-02-19 Thread Sans
Is there any way to create the Nagios hostgroup only when the first (or at least one) member of that hostgroup comes on line? I tried with Puppet Storeconfigs: The client node exports the nagios_hostgroup resource: @@nagios_hostgroup { 'cloud-app': alias = Application Servers,}

Re: [Puppet Users] How to manually create Puppet CA and client certificates using openssl?

2013-02-19 Thread Peter Brown
You might have better luck using something like FreeIPA and using it's ca cert and setting up certs for each node and using those as the puppet certs. This may help. http://jcape.name/2012/01/16/using-the-freeipa-pki-with-puppet/ I had a go at setting it up but I am using FreeIPA 3 and the steps

Re: [Puppet Users] Parameter issue

2013-02-19 Thread Peter Brown
Hi Gerdo, You are on the right track using a define but the problem is one of scope. The version parameter for your define will only get set once in your php::params class because classes are almost singletons in puppet (as in they can exist only once for a node no matter how many times you call

Re: [Puppet Users] autometically create nagios_hostgroup only when a member of a group comes up

2013-02-19 Thread Peter Brown
Hi, You will get duplication if you declare a nagioshost_group with the same name on more than one node... I think you may be missing the point of nagios_hostgroup. It is for declaring a hostgroup in nagios not setting the nagios hostgroup for a node. I am guessing you are trying to add a node

Re: [Puppet Users] Re: Error: Could not retrieve catalog from remote server: execution expired

2013-02-19 Thread shell heriyanto
Hi i also have this problem when working with nagios, always expire... is that any solution for this, from puppet configuration byself? my nagios production server can't working anymore. Even i already use puppetDB. I see many people have same problem on the net. Thanks, ~Heriyanto On Thu, Jan

Re: [Puppet Users] Question Windows manifests

2013-02-19 Thread Rakesh Kathpal
thanks a ton.. I will give it try and revert... On Tue, Feb 19, 2013 at 7:58 PM, Bernd Adamowicz bernd.adamow...@esailors.de wrote: You could try: ** ** file { ‘delete-install-bat’: ensure = absent, path = ‘c:\install.bat’, require = Exec[‘install’],

Re: [Puppet Users] Question Windows manifests

2013-02-19 Thread Rakesh Kathpal
unfortunately getting a different error now err: Failed to apply catalog: Cannot alias File[install] to [c:/install.bat] at /etc/puppet/modules/rk/manifests/init.pp:8; resource [File, c:/install.bat] already declared at /etc/puppet/modules/rk/manifests/init.pp:20

Re: [Puppet Users] Re: AWS OpsWorks announcement using Chef

2013-02-19 Thread James Turnbull
Vaidas Jablonskis wrote: It makes sense for Amazon to go with something like Chef, because it is more cloud oriented and it's easier to hack something up just to get it up and running quicker. Chef is more like shell scripting on steroids I would say, at least, that's how many people use it.