Re: [Puppet Users] Stop and Start Services running on Puppet Master or Agent Machine

2014-07-01 Thread Satish Katuru
Yes It is.The file is available in the /modules/httd On Monday, June 30, 2014 6:12:14 PM UTC+5:30, Martin Alfke wrote: Hi Brian, braindead question: is a file with name hello in modules/httpd/files/ available?? - Martin On 30 Jun 2014, at 14:06, Satish Katuru satish...@gmail.com

Re: [Puppet Users] Stop and Start Services running on Puppet Master or Agent Machine

2014-07-01 Thread Martin Alfke
Next braindead question: in your file resource you want the destination on the node to be /etc/puppet/modules/hello.txt. Is the directory /etc/puppet/modules already present? (_on the node_ !!) - Martin On 01 Jul 2014, at 08:23, Satish Katuru satishkat...@gmail.com wrote: Yes It is.The file

Re: [Puppet Users] New Puppet book: Extending Puppet

2014-07-01 Thread Rakesh Kathpal
Congratulations Alessandro ... just ordered the ebook.. looks promising. - Rakesh K. On Sat, Jun 28, 2014 at 6:52 AM, Rich Burroughs r...@richburroughs.com wrote: Yes congrats :) The table of contents looks like it covers a lot of useful material. Rich On Thursday, June 26, 2014,

Re: [Puppet Users] Puppet 3.6.2: import is deprecated

2014-07-01 Thread Johan De Wit
On 30/06/14 19:52, Sergey Arlashin wrote: Hi! I used 'import' in my previous config. I had the following structure: site.pp : import 'nodes.pp' nodes.pp: import 'node1.pp' import 'node2.pp' import 'node3.pp' etc. Now I'm moving to 3.6.2 and after getting the deprecation warning decided to

Re: [Puppet Users] New Puppet book: Extending Puppet

2014-07-01 Thread Johan De Wit
Almost half way the book, and indeed, it IS a great book. Thx Allesandro for the great work. Jo On 01/07/14 09:41, Rakesh Kathpal wrote: CongratulationsAlessandro ... just ordered the ebook.. looks promising. - Rakesh K. On Sat, Jun 28, 2014 at 6:52 AM, Rich Burroughs

Re: [Puppet Users] Stop and Start Services running on Puppet Master or Agent Machine

2014-07-01 Thread Satish Katuru
Yes,the folder is present in the Agent machine.The thing is in the Master Server it is unable to locate the Source file itself. On Tuesday, July 1, 2014 12:08:22 PM UTC+5:30, Martin Alfke wrote: Next braindead question: in your file resource you want the destination on the node to be

[Puppet Users] issue in generating password sha-512 hash for centos

2014-07-01 Thread Suresh P
Hi, user_password=test123 pass = generate('/bin/sh, '-c', python -c 'import crypt;print crypt.crypt('$user_password','\$6\$mpouwk')'|tr -d '\n' ), In above case i'm not able to generate sha-512 password hash. Regards, Suresh -- You received this message because you are subscribed to the

[Puppet Users] postrun command in windows

2014-07-01 Thread Rakesh Kathpal
Hi, My puppet.conf on windows looks like the following [main] server=mypuppetmaster.com pluginsync=true autoflush=true environment=production certname =mypuppetagent.com report=true postrun_command='puppet facts upload' When I am trying the puppet run, I am getting the error below *Error:

[Puppet Users] Re: issue in generating password sha-512 hash for centos

2014-07-01 Thread jcbollinger
On Tuesday, July 1, 2014 5:44:17 AM UTC-5, Suresh P wrote: Hi, user_password=test123 pass = generate('/bin/sh, '-c', python -c 'import crypt;print crypt.crypt('$user_password','\$6\$mpouwk')'|tr -d '\n' ), In above case i'm not able to generate sha-512 password hash. Of course

Re: [Puppet Users] Stop and Start Services running on Puppet Master or Agent Machine

2014-07-01 Thread jcbollinger
On Tuesday, July 1, 2014 3:32:12 AM UTC-5, Satish Katuru wrote: Yes,the folder is present in the Agent machine.The thing is in the Master Server it is unable to locate the Source file itself. Not necessarily. The master is unable to *read* the file, but that does not necessarily mean it

[Puppet Users] Puppet 3.6.2 + Vagrant

2014-07-01 Thread Sergey Arlashin
Hi! Does anybody use puppet 3.6.x with Vagrant? Is there any way to specify manifests dir instead of site.pp file ? Thanks in advance. -- Best regards, Sergey Aralashin -- You received this message because you are subscribed to the Google Groups Puppet Users group. To unsubscribe from this

Re: [Puppet Users] Puppet 3.6.2 + Vagrant

2014-07-01 Thread Denmat
I've just been working with it and noticed that warning too. I believe it will require an update to puppet.rb in vagrant - and be patched to work with the older versions. Haven't looked too closely yet. Den On 1 Jul 2014, at 23:26, Sergey Arlashin sergeyarl.maill...@gmail.com wrote: Hi!

[Puppet Users] Puppetlabs Firewall

2014-07-01 Thread Danny Roberts
I am using the Puppetlabs firewall module to manage our firewall. All servers get our core ruleset: *modules/mycompany/manifests/firewall/pre.pp:* class mycompany::firewall::pre { Firewall { require = undef, } firewall { '000 accept all icmp': proto = 'icmp', action =

[Puppet Users] Re: Execute a class if a file is not present.

2014-07-01 Thread Seby
Hi All, Using custom fact, I solved my problem.. Thank you all for the guidance provided. :) Best, Seby. -- 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] Re: puppetlabs_spec_helper 0.5.x breaks puppet-lint's ignore_paths ?

2014-07-01 Thread Jason Antman
I'm also experiencing this issue. I've opened https://tickets.puppetlabs.com/browse/MODULES-1190 for it -- 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

Re: [Puppet Users] Each loop issue

2014-07-01 Thread Henrik Lindberg
On 2014-30-06 23:58, martin.li...@gmail.com wrote: Hi Puppet users! I'm having an issue with each loop on puppet, and I just can't figure out what am I doing wrong, so any help will be much appreciated. Here is my test.pp example: class mytestclass { $stuff = [1, 2, 3] each($stuff)

Re: [Puppet Users] Re: puppetlabs_spec_helper 0.5.x breaks puppet-lint's ignore_paths ?

2014-07-01 Thread Trey Dockendorf
Thanks Jason. I wasn't sure if there was some clever (and expected) way to override what is set in puppetlabs_spec_helper and such user error, or if this was a true bug. Looks like a bug / regression. - Trey On Tue, Jul 1, 2014 at 10:06 AM, Jason Antman ja...@jasonantman.com wrote: I'm also

Re: [Puppet Users] puppetdb '[replace catalog]' postgresql errors with index 'catalog_resources_pkey'

2014-07-01 Thread Mathew Crane
No problem :-). Can you raise a bug on the original exec {} issue for me? https://tickets.puppetlabs.com/browse/PDB ken. https://tickets.puppetlabs.com/browse/PDB-742 -- You received this message because you are subscribed to the Google Groups Puppet Users group. To unsubscribe

Re: [Puppet Users] puppetdb '[replace catalog]' postgresql errors with index 'catalog_resources_pkey'

2014-07-01 Thread Ken Barber
Thanks mate :-). On Tue, Jul 1, 2014 at 7:57 PM, Mathew Crane mathew.cr...@gmail.com wrote: No problem :-). Can you raise a bug on the original exec {} issue for me? https://tickets.puppetlabs.com/browse/PDB ken. https://tickets.puppetlabs.com/browse/PDB-742 -- You received this

[Puppet Users] having an issue with keyword end

2014-07-01 Thread Supriya Uppalapati
Hi, I wrote a code to identify application type. gving me issue. Anyone help me 1 require 'rexml/document' 2 require 'facter' 3 4 Facter.add(:application_type) do 5 6confine :hostname = 'hostname' 7 8 setcode do 9

[Puppet Users] puppetlabs-firewall issue

2014-07-01 Thread Pablo Morales
Hi there guys I'm new to puppet I thinks it's a great tool and I'm trying to configure some task to perform automatically like users and some services which I had no problems until now with iptables, this is what I'v got server and client: CentOS release 6.5 (Final) On client:

Re: [Puppet Users] having an issue with keyword end

2014-07-01 Thread Supriya Uppalapati
Hi, I changed the code now, but still giving me the error. Help me Warning: Could not load fact file /var/opt/lib/pe-puppet/lib/facter/application_type.rb: application_type.rb:50: syntax error, unexpected keyword_end, expecting $end require 'rexml/document' require 'facter'

[Puppet Users] Re: puppetlabs-firewall issue

2014-07-01 Thread Pablo Morales
If it helps this is what I see when running in debug mode: debug: /Stage[main]/My_fw::Post/Firewall[999 drop all]/require: requires Class[My_fw::Pre] debug: /Stage[main]/My_fw::Pre/Firewall[001 accept all to lo interface]/before: requires Firewall[002 accept related established rules] debug:

[Puppet Users] augeas error with erwbgy/system module

2014-07-01 Thread Arpin Dominique (Nter)
Hi, I install the erwbgy/system module, I have those errors : Debug: Augeas[ntp-servers](provider=augeas): Opening augeas with root /, lens path , flags 64 Debug: Augeas[ntp-servers](provider=augeas): Augeas version 1.2.0 is installed Warning: Augeas[ntp-servers](provider=augeas): Loading

Re: [Puppet Users] having an issue with keyword end

2014-07-01 Thread Realmailer
On 02-Jul-2014, at 1:07, Supriya Uppalapati supriya.uppalap...@gmail.com wrote: elsif (application_installed.slice(4,1) =~ /a|m|q/) # Get the 6th 7th char using slice method to identify between Application/Database if(application_installed.slice(5,2)==db) puts

Re: [Puppet Users] having an issue with keyword end

2014-07-01 Thread Realmailer
Could it be due to an extra end? On 02-Jul-2014, at 1:07, Supriya Uppalapati supriya.uppalap...@gmail.com wrote: Hi, I changed the code now, but still giving me the error. Help me Warning: Could not load fact file /var/opt/lib/pe-puppet/lib/facter/application_type.rb:

Re: [Puppet Users] Each loop issue

2014-07-01 Thread martin . listz
Henrik, Tristan, thanks for your replies! I've added parser = future on both master and agent, inside [main], and also I'm still using --parser future, just in case. You both were right, and I'd use notify instead of notice in that snippet. I think that parser option is working now, but it's

[Puppet Users] Could not connect via HTTPS to https://forgeapi.puppetlabs.com when downloading a module

2014-07-01 Thread triceras
Hi All, Has anyone ever experienced any ssl certificate problems when trying to download a puppet module form https://forgeapi.puppetlabs.com ? [root@hx689 httpd]# puppet module search ssh Notice: Searching https://forgeapi.puppetlabs.com ... Error: Could not connect via HTTPS to

[Puppet Users] Re: Forge doesn't work reliably for me

2014-07-01 Thread Michael Legleux
I'm also seeing this on: https://forge.puppetlabs.com/rismoney/windowsnetwork On Monday, June 30, 2014 5:24:17 AM UTC-7, Jonathan Gazeley wrote: Recently I have been unable to upgrade some modules (or check for upgrades) from Puppet Forge using the module tool. All of my modules were

[Puppet Users] Windows warning about source permissions

2014-07-01 Thread Michael Legleux
This warning is haunting me: Copying owner/mode/group from the source file on Windows is deprecated; use source_permissions = ignore. It is referenced here: http://docs.puppetlabs.com/windows/writing.html#managing-file-permissions I am not copying ANY files or anything yet, the site.pp is