Re: [Puppet Users] puppet web serve is not working

2014-10-11 Thread Denmat
Hi, Firstly, you're using http rather than https - but in any case, don't expect any web pages to appear when you hit the url in your browser. You should try running your puppet agent against the master. I know you've said you have read the docs but PuppetLabs do offers great documentation. Ma

Re: [Puppet Users] Looking to Learn - mjhas::postfix

2014-10-11 Thread Denmat
Hi, That $::hostname is a fact. https://docs.puppetlabs.com/puppet/latest/reference/lang_facts_and_builtin_vars.html The $:: represents something in the top scope. https://docs.puppetlabs.com/puppet/latest/reference/lang_scope.html#top-scope It will resolve to the hostname of the node running to

Re: [Puppet Users] Re: How to check if file exists on client without using exec command?

2014-10-11 Thread Wil Cooley
On Oct 11, 2014 2:14 AM, "Carthik Sharma" wrote: > > There isn't a built-in function, so I'd write a function Functions run on the master, not agent (unless you're using 'apply', like running masterless); you'd need a fact to test if the file exists on the agent side, which is easy to do with an

Re: [Puppet Users] Install error

2014-10-11 Thread Adriano Ferreira
I have chabged the location file ãnd now I get the error on the picture. exec {"ilog_install": cwd => "/opt/planner", command => "chmod +x cplex_studio126.linux-x86-

Re: [Puppet Users] Install error

2014-10-11 Thread Adriano Ferreira
Em sábado, 11 de outubro de 2014 00h08min39s UTC+1, Felix.Frank escreveu: > > On 10/10/2014 07:24 PM, Adriano Ferreira wrote: > > file {"/opt/soft/test.bin": > > ensure => present, > > source=>"puppet:///modules/test.bin"; > > } > > This URL lacks the module name. Assuming that the m

Re: [Puppet Users] Install error

2014-10-11 Thread Adriano Ferreira
Em sábado, 11 de outubro de 2014 00h08min39s UTC+1, Felix.Frank escreveu: > > On 10/10/2014 07:24 PM, Adriano Ferreira wrote: > > file {"/opt/soft/test.bin": > > ensure => present, > > source=>"puppet:///modules/test.bin"; > > } > > This URL lacks the module name. Assuming that the m

[Puppet Users] Re: Best way to deploy the Puppet client to a large set of Windows servers?

2014-10-11 Thread Bruce Downs
On Wednesday, October 1, 2014 2:30:36 PM UTC-6, Brian Morris wrote: > > Hello all, > > There may come a need for me to perform a wide deployment of the Puppet > client to Windows servers. I am curious to know how others have > accomplished this. > > Concerns I have: > > - No other tools are in

Re: [Puppet Users] Re: How to check if file exists on client without using exec command?

2014-10-11 Thread Carthik Sharma
There isn't a built-in function, so I'd write a function, put it in lib/puppet/parser/functions in your module, enable pluginsync in puppet.conf (so the custom function get synced to the agents), and then use the function in the manifest. Something as simple as: require"puppet" module Puppet::Par

[Puppet Users] puppet web serve is not working

2014-10-11 Thread Irfan Sayed
hi, i am newbie in puppet and just started i have installed the puppet master along with passenger. i referred all the documentation steps twice but still the web-server is not coming when i hit the url : *http://:8140/* in the log i have following *Directory index forbidden by Options dire

[Puppet Users] Is there any documentation or examples of how exec-once exec-always work

2014-10-11 Thread George Katsanos
I'd like to start using exec-once exec-always to setup my system automatically and take advantage of these features.. But I haven't been able to find any examples of cases in what's used.. I guess for stuff like npm packages, apache modules etc, the config.yaml is enough? Also does anyone know

[Puppet Users] install directory for package, and other basic questions

2014-10-11 Thread Matyas A. Sustik
I am new to Puppet. I hoped someone in this group could get me on the right track with some questions I have. 1. I would appreciate an example demonstrating how to tell puppet to install a specific package in a specific location? For example, how to write that python2.7 should be installed in /

[Puppet Users] Looking to Learn - mjhas::postfix

2014-10-11 Thread Eric Hart
Hey, how's it goin Puppet Masters? I'm Puppet Novice over here. I'm looking to up my game and so I'm working on setting up SMTP relay config for my hosts to fire off their local SMTP traffic to my one designated SMTP Relay host. I'm hoping to find someone who's familiar with the mjhas::post

Re: [Puppet Users] Re: Identifying file content change in subsequent client run

2014-10-11 Thread Ganesh Nalawade
Thanks John, your reply was very helpful. Regards, Ganesh On Fri, Oct 10, 2014 at 8:28 PM, jcbollinger wrote: > > > On Friday, October 10, 2014 6:29:32 AM UTC-5, ganesh634 wrote: >> >> The goal it to implement a new resource type that will read the >> config file and apply it on device on first