Re: [Puppet Users] access variable inside module which was declared at inside profile

2017-01-23 Thread Martin Alfke
You can access other modules variables by using the namespace of the variable as long as the class with the referring variable is known to the catalog compilation (has been included or declared). e.g. # modules/abc/manifests/init.pp class abc { $var = ‘foo’ } # site/profile/manifests/abc.pp

[Puppet Users] access variable inside module which was declared at inside profile

2017-01-23 Thread java . freak4u
Hi Everyone, Am very new to puppet. Can any one please help me to fix this issue !! I need to access $var1 at inside module folder actually which declared at profile. #

[Puppet Users] Using notify with concat module...

2017-01-23 Thread Sean
Hello, I was reading over several threads regarding the use of concat modules and subscribe capabilities. It seems everyone is subscribe from another resource instead of notify with a concat resource. My preference is to use notify, as I think it makes the code read better for documentation

[Puppet Users] RHEL-7 rspec-puppet

2017-01-23 Thread Adriano Vieira
Hi Guys! I'm having problem when I try to run mymodule tests on RHEL-7 rspec (rake spec) can't find any classes defined by mymodule. - .fixtures.yml fixtures: forge_modules: stdlib: "puppetlabs/stdlib" concat: "puppetlabs/concat" sysctl: "fiddyspence/sysctl" symlinks:

Re: [Puppet Users] Could not generate DH keypair

2017-01-23 Thread Fabricio Cruz
Hi , I was able to solve : 1- openssl dhparam 1024 2- add this block of code to /etc/puppetlabs/puppet/ssl/certs/mycert.pem --- in my client puppet Thank you!! 2017-01-20 0:21 GMT-02:00 Fabricio Cruz : > Thanks for replying, I do not have satelite server, I have: > >

Re: [Puppet Users] My Array and Hash datatype getting treated as simple string.

2017-01-23 Thread Henrik Lindberg
On 22/01/17 07:59, Arun Kumar wrote: Hi Guys, I am very new to Puppet and installed 3.8. I tried creating template using array type variable but I got output as string. My sample code as below: init.pp --- $servers = ['facter', 'hiera', 'mco', 'puppet', 'puppetserver'], config.pp

[Puppet Users] Re: puppet ruby code documentation needed

2017-01-23 Thread Ryan Vande
I believe Puppet is snooping my data ! ;-) They released these documents the day after my post ;-) I believe this will help me to get started on the right footing. I also bought two ruby books off amazon learning ruby 2007 edition , it was suggested and ruby cookbook,and this newly released info