Re: [Puppet Users] Re: Why does rspec puppet that_requires matcher fail?

2016-01-04 Thread Haani Niyaz
It is not the source of the problem. I discovered the following before posting the issue. If I removed Tpp in the require dependency as below: it { is_expected.to contain_exec('splunk-accept-license') .with( 'command' => '/opt/splunkforwarder/bin/splunk enable boot-start --accept-

[Puppet Users] Re: slashes or dashes for module names in metadata.json ?

2016-01-04 Thread Stefan Lasiewski
I'm wondering the same thing. We are seeing errors when running `puppet module` commands that query for dependencies. I'm using the `derdanne-nfs` example below, but this error happens with at least 3 other community modules, including `thewired-bitbucket` and `puppet-mysql_java_connector`. I

Re: [Puppet Users] Unable to add ssh-keys to known_hosts

2016-01-04 Thread Garrett Honeycutt
On 1/4/16 2:33 PM, Dr. Natas wrote: > Hey Dirk > > Thanks for the pointing to my mistake. > I got it working by simply adding the following code. I'm still in my > beta testing and will continue to modify my code a lot better. I'll post > what I have when I'm done. Thanks for taking part of yo

[Puppet Users] Re: Puppet 4 : questions about PXP agent and its goal

2016-01-04 Thread Ryan Coleman
On Sunday, January 3, 2016 at 4:37:05 PM UTC-8, François Lafont wrote: > > Hello and happy new year @all ;) > > I have discovered recently the presence of the service "pxp-agent" after > the installation of the AIO package "puppet-agent". Personally, in the > puppet client side, I'm using the

Re: [Puppet Users] Unable to add ssh-keys to known_hosts

2016-01-04 Thread Dr. Natas
> > Hey Dirk > Thanks for the pointing to my mistake. I got it working by simply adding the following code. I'm still in my beta testing and will continue to modify my code a lot better. I'll post what I have when I'm done. Thanks for taking part of your day to helping me out. By the way, happy

Re: [Puppet Users] Re: How to use define type or variables

2016-01-04 Thread linux script
Hi, The below code works fine for me. However, I want to reframe the code by using define statement in params.pp instead of config.pp. I wanted to define it in params.pp so that I can use only variables in config.pp(ex:I am using $home/$name/.bashrc as file path in config which should be somethin

Re: [Puppet Users] Re: Puppet 4: default value of a parameter in a module and dependency

2016-01-04 Thread jcbollinger
On Sunday, January 3, 2016 at 11:35:16 PM UTC-6, Francois Lafont wrote: > Is this pattern "correct"? After thinking, it seems to me a good way to > handle data dependency between modules > Your revised idea appears workable. It establishes class moda::params as a shared data source, along

[Puppet Users] Re: How to use define type or variables

2016-01-04 Thread jcbollinger
On Tuesday, December 29, 2015 at 9:30:08 AM UTC-6, linux@gmail.com wrote: > > Hi, > > I am new to puppet and I am trying to write a module to manage user > .bashrc files. I managed to place the file to the desired location with > following code for 1 user because the username is hardcoded.

[Puppet Users] Re: file directory with recurse and tags

2016-01-04 Thread jcbollinger
On Tuesday, December 29, 2015 at 2:00:29 PM UTC-6, Aaron Russell wrote: > > When using notify to restart a service after a directory sync (File > resource with recurse) and tags the service never restarts. > I tried to look through the puppet bugs but could not find any. > Does anyone have any

[Puppet Users] Re: strange behave of newly added puppet client

2016-01-04 Thread jcbollinger
On Tuesday, December 29, 2015 at 4:00:26 PM UTC-6, Thorsten wrote: > > > I created a set of configurations for some nodes in my > /etc/puppet/manifests/site.pp, as follows: > > node 'client1', 'client2', 'client3', 'client4', 'client5' { > include preconfig > include selinux > import 'timezone.p

[Puppet Users] Re: Puppet - SSH Tunnel

2016-01-04 Thread jcbollinger
On Thursday, December 24, 2015 at 10:40:59 AM UTC-6, Fabricio Cruz wrote: > > > Today at 09:48 > > Hello, > > I currently have a host that is accessed saw ssh tunnel, I need to manage > that host with puppet. How can I do that? > > To connect to the host I use the command: ssh -N -R 1: local

Re: [Puppet Users] Re: Why does rspec puppet that_requires matcher fail?

2016-01-04 Thread Lowe Schmidt
you depend on Class['splunk::install'] not Class['tpp::splunk::install']. check your manifest. -- Lowe Schmidt | +46 723 867 157 On 15 December 2015 at 02:50, Haani Niyaz wrote: > Forgot to add the error! > > 1) tpp::splunk::service when tpp is installed should contain Exec[splunk > -accept-

Re: [Puppet Users] puppet module install cloudprovisioner Issue

2016-01-04 Thread Lowe Schmidt
You should probably use the gem provided with PE, not the system one. -- Lowe Schmidt | +46 723 867 157 On 24 December 2015 at 07:14, Sandeep Majety wrote: > > I am trying to intall Puppet Eneterprise in Ubuntu 14.04 machine... > > After running the puppet module install puppetlabs-cloud_provis

Re: [Puppet Users] How to use define type or variables

2016-01-04 Thread Lowe Schmidt
Can you please provide the error messages you get. -- Lowe Schmidt | +46 723 867 157 On 29 December 2015 at 06:45, wrote: > Hi, > > I am new to puppet and I am trying to write a module to manage user > .bashrc files. I managed to place the file to the desired location with > following code for

Re: [Puppet Users] Configuring apache reverse proxies

2016-01-04 Thread Lowe Schmidt
Have a look at the proxy_pass section of the puppetlabs module. https://github.com/puppetlabs/puppetlabs-apache#proxy_pass -- Lowe Schmidt | +46 723 867 157 On 31 December 2015 at 22:43, yatesco wrote: > Hi all, a somewhat newbie here who has googled and read but can't find the > answer ;-). >