Re: [Puppet Users] Reg : Pushing files from Puppet Master to Agent node

2014-01-28 Thread krishna bhaskara rao
Hi, Can I use Mcollective with puppet open source ? On Tuesday, 28 January 2014 13:11:29 UTC+5:30, Jose Luis Ledesma wrote: > > In fact puppetmaster cannot force a push, but mcollective can force a > puppet run. And that with a file resource would make the job. > > Regards, > -- You received t

Re: [Puppet Users] Reg : Pushing files from Puppet Master to Agent node

2014-01-28 Thread Jose Luis Ledesma
Yes. I recommend the puppetlabs/mcollective module to make the configuration easier. Regards -- 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+unsub

Re: [Puppet Users] Reg : Pushing files from Puppet Master to Agent node

2014-01-28 Thread krishna bhaskara rao
Hi, I am new to puppet. I am using Puppet open source version. I could not find how to configure MCollective with Puppet open source. If you have any documentation for this configuration, Please share me. With Regards, Krishna. On Tuesday, 28 January 2014 14:39:30 UTC+5:30, Jose Luis Ledesma wro

[Puppet Users] Re: Puppet Dashboard Groups

2014-01-28 Thread Stefan Heijmans
>>I was looking for a way to group the servers dynamically Don't know about this but how about making use of the provided rake tasks, like; rake nodegroup:add # Add a new node group rake nodegroup:add_all_nodes # Automatically adds all nodes to a gr

Re: [Puppet Users] Reg : Pushing files from Puppet Master to Agent node

2014-01-28 Thread Jose Luis Ledesma
Hi, http://docs.puppetlabs.com/mcollective/deploy/standard.html :P regards, El martes, 28 de enero de 2014 10:14:12 UTC+1, krishna bhaskara rao escribió: > > Hi, > > I am new to puppet. I am using Puppet open source version. I could not > find how to configure MCollective with Puppet

[Puppet Users] Re: Puppet Dashboard Groups

2014-01-28 Thread kaustubh chaudhari
Thanks for the Reply Stefan! I did looked into these options, but i dint find a way to add only windows systems to windows group and linux system to linux group. -Kaustubh On Tuesday, January 28, 2014 4:15:39 AM UTC-5, Stefan Heijmans wrote: > > >>I was looking for a way to group the servers dy

Re: [Puppet Users] Re: Exporting a resource only once....

2014-01-28 Thread Krist van Besien
On Friday, January 24, 2014 12:51:07 PM UTC+1, LoreLLo wrote: > > >Basically my situation is the following: > >- A database server > >- Several web application servers. > > We have a similar environment and the solution we adopted is very simple: put > the "if ! defined" inside the exported res

[Puppet Users] Re: Puppet Dashboard Groups

2014-01-28 Thread Stefan Heijmans
Do you have MCollective running? You could use this to generate a list based on specified facts (mco find --wf ) to use in those rake tasks. Or create them by hand from the Inventory Search in the Dashboard, maybe even a custom rake task. Stefan Op dinsdag 28 januari 2014 11:24:08 UTC+1 sch

[Puppet Users] Constructing rvalues from exported resources.

2014-01-28 Thread Krist van Besien
Hello, I am using the Radez/Paxemaker modules, and this allows me to define a cluster like this: class {'pacemaker::corosync': cluster_name => $control_clu_name, cluster_members => $control_clu_members, require => [ Package['ccs'], } I currently define the cluster name

Re: [Puppet Users] Re: Puppet Dashboard Groups

2014-01-28 Thread kaustubh chaudhari
Hi Stefan, I am in process of setting up MCollective! In the mean while i can do the search using inventory search in Dashboard, i do get the list, but when i try ti export the details in the cvs format, it wont export only filtered, it will export all the node list ie: all linux windows etc. wh

[Puppet Users] What is the best replacement for Puppet Dashboard ?

2014-01-28 Thread kaustubh chaudhari
Hi All, As we all know Puppet Dashboard is now EOL, with that said what is the best replacement for the same? We do need a graphical way of managing and reporting! Any thoughts or suggestion! I am looking at Forman, but havent explored it yet! -Kaustubh -- You received this message because

[Puppet Users] Re: facter-1.7.3 and puppet-3.3.1 on OS X Mavericks 10.9

2014-01-28 Thread Martijn
facter-1.7.4-rc1 is available and it looks like it works! Martijn Op woensdag 30 oktober 2013 17:50:59 UTC+1 schreef Paul Tötterman: > > Hi, > > Is anyone else getting this: > > $ facter > /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.r

Re: [Puppet Users] puppet user context

2014-01-28 Thread Robert Turk
Am 20.01.14 09:02, schrieb Robert Turk: You can get list of directories under /Users from facter and then build an array out of it and use this in your manifest. I tested your solution and here is what I have done: I created a custom fact which returns a list of directories under /Users: fact

Re: [Puppet Users] What is the best replacement for Puppet Dashboard ?

2014-01-28 Thread Thomas Bendler
As far as I know, there is nothing available yet that can compare with foreman in terms of functionality. There are some reporting projects available, but if you want to use the dashboard as an ENC as well, there is know alternative to foreman. Regards Thomas 2014-01-28 kaustubh chaudhari > Hi

[Puppet Users] Re: How to find the time when a Puppet manifest is executed

2014-01-28 Thread jcbollinger
On Monday, January 27, 2014 12:13:03 PM UTC-6, elliott wrote: > > The fix I found for this is to schedule the task using an XML template > with the parameter specified (you can edit these settings > under Task Properties > Triggers > Edit > Advanced). The task repeats > every minute for 15 m

[Puppet Users] Re: How to execute a target action before this one when this one triggers

2014-01-28 Thread jcbollinger
On Monday, January 27, 2014 1:50:24 PM UTC-6, Bret Wortman wrote: > > I'm looking at the case of distributing /etc/cups/printers.conf. > > When this file changes, I'd like to distribute it. But before placing the > new file, cupsd needs to be shut down, and restarted again afterwards. This > ca

Re: [Puppet Users] Re: How to execute a target action before this one when this one triggers

2014-01-28 Thread Bret Wortman
Yeah, that's what we do in 99% of our manifests, but for cups, the config file contains this disclaimer right at the top: # Printer configuration file for CUPS v1.5.4 # Written by cupsd on 2014-01-24 09:47 # DO NOT EDIT THIS FILE WHEN CUPSD IS RUNNING And the manpages say the same thing: "...If y

[Puppet Users] Reg : SSL Certificate

2014-01-28 Thread krishna bhaskara rao
Hi, I have generated SSL certificate in puppet master with domain "test.com" and then moved to below files to puppet agent SSL directory. certs/test.com.pem, private_keys/test.com.pem, public_keys/test.com.pem and certs/ca.

Re: [Puppet Users] Re: Puppet Dashboard Groups

2014-01-28 Thread Stefan Heijmans
>>it will export all the node list That's not nice :( So that will really be by hand; copy/paste & strip hostnames. Stefan Op dinsdag 28 januari 2014 13:36:11 UTC+1 schreef kaustubh chaudhari: > Hi Stefan, > > I am in process of setting up MCollective! > > In the mean while i can do the sear

[Puppet Users] Just starting and already a little confused

2014-01-28 Thread John Jordan
Greetings, I installed open-source puppet-server on RHEL 6 and in /etc/puppet I see the puppet.conf. I see entries like: # The default value is '$confdir/ssl'. ssldir = $vardir/ssl My questions is where do (or should) these variables get set and why is the default here $vardir and not $co

[Puppet Users] Puppet 2.7.23 error "Could not set present on ensure: Function not implemented"

2014-01-28 Thread Jon Jaroker
Hello, I was wondering if anyone can give me a pointer on how to solve an ambiguous Puppet error "Function not implemented" when attempting to create a file using the 'file' resource type. The '--debug' flag does not produce useful information. My puppet manifests work fine on several other ph

[Puppet Users] Re: What is the convention used if I want to pull content from source-control for populating a manifest resource?

2014-01-28 Thread Jon Jaroker
The URI scheme for 'source' is either 'puppet' or 'file'. Here is the man page: http://docs.puppetlabs.com/references/latest/type.html#file-attribute-source To pull from a repository, you should use a subversion manifest that implements checkout. Jon On Monday, January 27, 2014 1:45:30 PM

[Puppet Users] puppet run interval

2014-01-28 Thread Jason Hatman
Do I *have* to set a run interval for puppet? I want it to run every 30 minutes, which I understand is the default. If I don't specify a run interval in puppet.conf will it run anyway every 30 minutes? -- You received this message because you are subscribed to the Google Groups "Puppet Users

[Puppet Users] Re: How to find the time when a Puppet manifest is executed

2014-01-28 Thread elliott
On Tuesday, January 28, 2014 6:02:09 AM UTC-8, jcbollinger wrote: > > > You could try wrapping your task in a script that defers running it until > the agent's lock file disappears. That would be cleaner and at least > slightly more elegant. > > Oh good point. That would be beyond my limited W

Re: [Puppet Users] puppet user context

2014-01-28 Thread Jose Luis Ledesma
Could be that the ${plist_name} is undef inside the define? You could try adding a notify inside the define to check which value it has. Regards, -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving

Re: [Puppet Users] Re: How to execute a target action before this one when this one triggers

2014-01-28 Thread Jose Luis Ledesma
I dont know if this may work, just an idea ( but I think it is really an ugly idea) Setup a dummy file for printers.conf anywhere I the filesystem Make it to notify the exec stop cups( setting refreshonly=true) chain it with the right file printers.conf and notify from here the cups service. R

Re: [Puppet Users] Re: Puppet Dashboard Groups

2014-01-28 Thread Jose Luis Ledesma
What about storing the facts in yaml format in the puppetmaster and just doing a grep there? -- 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+unsubs

[Puppet Users] puppet run interval

2014-01-28 Thread Jose Luis Ledesma
It is the default behavior, so if you did not especify otherwise it will run every 30 minutes. Regards, -- 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-

Re: [Puppet Users] puppet run interval

2014-01-28 Thread Matt Zagrabelny
Jose, Would you please be willing to include some context into your replies? Thanks, -mz On Tue, Jan 28, 2014 at 11:46 AM, Jose Luis Ledesma wrote: > It is the default behavior, so if you did not especify otherwise it will run > every 30 minutes. > > Regards, > > -- > You received this messag

Re: [Puppet Users] puppet run interval

2014-01-28 Thread José Luis Ledesma
Sorry! I normally use groups.google.com to answer, didn't realize it did not quote the question! :s I'll try to solve it out. Sorry and thanks for notifying me about this. Regards, P.d. currently answering from gmail. El 28/01/2014 18:51, "Matt Zagrabelny" escribió: > Jose, > > Would you ple

[Puppet Users] checking is package is installed ?

2014-01-28 Thread kaustubh chaudhari
Hi, How do we check if the package is installed, before installing it. I with to uninstall a package which i can do with ensure => absent, but before doing this, i would like to check if the package really exists on the system or not? Can someone help in here or redirect me to the correct docu

[Puppet Users] Re: Just starting and already a little confused

2014-01-28 Thread kaustubh chaudhari
i will answer the second part of the question!! > Also is there a page that shows how to create your initial /etc/puppet/manifest/site.pp file? You will have to create it! More details are here http://projects.puppetlabs.com/projects/puppet/wiki/Simplest_Puppet_Install_Pattern -Kaustubh On Tu

[Puppet Users] Re: Just starting and already a little confused

2014-01-28 Thread jcbollinger
On Tuesday, January 28, 2014 10:15:54 AM UTC-6, John Jordan wrote: > > Greetings, I installed open-source puppet-server on RHEL 6 and in > /etc/puppet I see the puppet.conf. > > I see entries like: > > # The default value is '$confdir/ssl'. > ssldir = $vardir/ssl > > My questions is where d

[Puppet Users] Using puppet for openvpn clients

2014-01-28 Thread Derek Cole
Hello, I have a question about using puppet to distribute openvpn configs to clients that I am creating in cloudstack. To create my cloudstack VMs, I have something similar to this: cloudstack_instance { 'myVM: ensure=> 'present', flavor=> 'Small

[Puppet Users] couldn't find the class from the console while Installing a module

2014-01-28 Thread arguscesus .
Hello, I started learning Puppet Enterprise 3.1.1 by following its quick start guide. Now I am having trouble with adding new modules. I installed puppetlabs-ntp and puppetlabs-awsdemo_profiles in the master node. all modules including these two are under the /home/ubuntu/.puppet/modules. When

Re: [Puppet Users] Re: How to execute a target action before this one when this one triggers

2014-01-28 Thread jcbollinger
On Tuesday, January 28, 2014 11:42:18 AM UTC-6, Jose Luis Ledesma wrote: > > I dont know if this may work, just an idea ( but I think it is really an > ugly idea) > > Setup a dummy file for printers.conf anywhere I the filesystem > > Make it to notify the exec stop cups( setting refreshonly=true

[Puppet Users] Re: Constructing rvalues from exported resources.

2014-01-28 Thread jcbollinger
On Tuesday, January 28, 2014 6:16:41 AM UTC-6, Krist van Besien wrote: > > Hello, > > I am using the Radez/Paxemaker modules, and this allows me to define a > cluster like this: > >class {'pacemaker::corosync': > cluster_name => $control_clu_name, > cluster_members => $control_cl

Re: [Puppet Users] Puppet client 3.2.X fails to install on Windows 7 x64

2014-01-28 Thread Josh D
On Monday, January 27, 2014 4:15:12 PM UTC-7, Rob Reynolds wrote: > > You should be able to take ownership of the directory you cannot delete as > an administrator. Once you have done that you should be able to move > forward with deleting those. I think the prior install attempts might have >

Re: [Puppet Users] checking is package is installed ?

2014-01-28 Thread Gareth Rushgrove
On 28 January 2014 18:21, kaustubh chaudhari wrote: > Hi, > > How do we check if the package is installed, before installing it. > > I with to uninstall a package which i can do with ensure => absent, but > before doing this, i would like to check if the package really exists on the > system or no

[Puppet Users] Deploy puppet agent to all servers

2014-01-28 Thread WL
Is there a way to deploy puppet agent to all servers rather than installing it one by one? I am using puppet open source. Thanks, Wendy -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails f

Re: [Puppet Users] Deploy puppet agent to all servers

2014-01-28 Thread Derek Harkness
This is kind of a boot strapping problem how to deploy puppet which can then manage your puppet. Tools like razor, kickstart, automation linux installs are all pretty good at solving the problem at install time. Doing it after the system is up and running is usually best handled by a ssh for l

Re: [Puppet Users] Deploy puppet agent to all servers

2014-01-28 Thread Mark Walkom
Ansible might be the best bet. Regards, Mark Walkom Infrastructure Engineer Campaign Monitor email: ma...@campaignmonitor.com web: www.campaignmonitor.com On 29 January 2014 10:36, Derek Harkness wrote: > This is kind of a boot strapping problem how to deploy puppet which can > then manage yo

[Puppet Users] Help changing a power shell to Puppet types and providers

2014-01-28 Thread Atse Tewodors
Hi, I am trying converting a powershell script to puppet and providers. I try to compile using https://downloads.puppetlabs.com/windows/puppet-3.0.2.msi but the code executed without windows update setting changed. Powershell code -Works fine in powershell $Updates = (New-Object -ComObject "Mi

Re: [Puppet Users] Re: Puppet master does not start

2014-01-28 Thread Bhuvnesh Chaudhary
Facing the same error, did anyone figure out the reason for the same ? On Thursday, October 31, 2013 6:54:59 AM UTC-7, josec...@gmail.com wrote: > > Somebody has any idea what is happening? Can I provide more information > (logs, command, etc) where we can find what is the problem? > > Thanks!! >

[Puppet Users] password is not setting up in /etc/shadow included libshadow on ubuntu 12.04 client

2014-01-28 Thread jyotir bhandari
Hi I have been trying to set password on ubuntu 12.04 which is client. All the neccessary packages of ruby already exists. Password is not setting up in /etc/shadow. User creation is working just fine. *init.pp* class accounts { package {'ruby-shadow': name

[Puppet Users] Reg : Pre Generated SSL certificate for multiple agents

2014-01-28 Thread krishna bhaskara rao
Hi, I have a requirement like below 1. I have generated pre-generated certificates in master for multiple agents with some name 2. I have to copy the pre-generated certificate to all the agents. 3. All the clients which have pre-generated certificate, should be able to pull the catalog from mast

[Puppet Users] Re: Constructing rvalues from exported resources.

2014-01-28 Thread Krist van Besien
On Tuesday, January 28, 2014 10:11:58 PM UTC+1, jcbollinger wrote: > > > > Not any good ways. In any case, that idea doesn't look like a good fit > for the module in question. A quick examination leads me to believe that > it will set up the cluster only once (on each node that has the > pac

Re: [Puppet Users] Puppet client 3.2.X fails to install on Windows 7 x64

2014-01-28 Thread Rob Reynolds
Josh, I'm glad we were able to get you going. However it is slightly troubling to see that the service flips to automatic after running puppet agent. Also are you overriding the user the agent installed as to a non-administrative user? On Tue, Jan 28, 2014 at 3:24 PM, Josh D wrote: > > > On M

Re: [Puppet Users] Help changing a power shell to Puppet types and providers

2014-01-28 Thread Rob Reynolds
I think this might have to do with 32bit versus x64. Try opening an x86 PowerShell console and running the first set of code. On Tue, Jan 28, 2014 at 8:18 PM, Atse Tewodors wrote: > Hi, > > I am trying converting a powershell script to puppet and providers. I try > to compile using https://down