Re: [Puppet Users] Re: Augeas hates me!!!

2014-08-12 Thread randal cobb
Thanks, I'll give that a try in the morning. On Aug 12, 2014 8:39 PM, "Vikas Kumar" wrote: > Hello, > > I think double quotes in your set statement are the culprit. > > Try to use set as below > > 'set /files/whatever/path \'"your text in quotes"\'', > > > > Regards, > Vikas > > -- > You receiv

[Puppet Users] Re: Augeas hates me!!!

2014-08-12 Thread Vikas Kumar
Hello, I think double quotes in your set statement are the culprit. Try to use set as below 'set /files/whatever/path \'"your text in quotes"\'', Regards, Vikas -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group

[Puppet Users] Re: variable not being picked up by hiera hierarchy

2014-08-12 Thread David LeVene
> > Found my own answer - so though i'd post it here incase anyone else is > trying to learn this stuff :) > The variable i was trying to reference was located inside a class, so it would have had to have been referenced as %{classname::variable}, this is considered bad practice as its not a t

[Puppet Users] Re: Verify whether the directory has files or not

2014-08-12 Thread Vikas Kumar
Hi Satish, It depends on which resource are you trying to use. Please elaborate your question. Regards, Vikas On Tuesday, 12 August 2014 20:36:57 UTC+10, Satish Katuru wrote: > > Hi, > > I want to copy files into agent machine if the directory in Master server > has files? > How to Check wheth

Re: [Puppet Users] How to install GIT on puppet Server

2014-08-12 Thread Vikas Kumar
Hi Satish, I was looking the flavor of Linux OS not the kernel. Run the below command to check OS major and minor version. facter | egrep 'operatingsystem|lsbdistid|lsbdistdescription' Also, the output of the command states that you do not git in your repository. /usr/bin/yum -d 0 -e 0 -y li

[Puppet Users] Saucy leaving apt.puppetlabs.com

2014-08-12 Thread Melissa Stone
Ubuntu saucy has reached end of life on July 17, 2014 [1]. As such, we will not be building new packages for saucy. We will remove it from our apt repository on Monday, September 15. [1] - https://lists.ubuntu.com/archives/ubuntu-announce/2014-July/000187.html -- Melissa Stone Release Engineer,

[Puppet Users] Today's outage on tickets.puppetlabs.com

2014-08-12 Thread Nigel Kersten
We had an outage today on the Puppet Labs JIRA ticket tracker. tickets.puppetlabs.com was unavailable from 1800 GMT to 2000 GMT (1110 PDT to 1300 PDT) The service is back up, and no data has been lost. For anyone who is interested, we'll be publishing the results of our post-mortem on the Puppet

[Puppet Users] Augeas hates me!!!

2014-08-12 Thread randal cobb
Hello, all! I am trying to add some new modules to an openSuse 13.1 host with Puppet and Augeas with no luck. The modules themselves are already installed by the example42/apache module, but I can't get the apache::module syntax to properly add the modules to the proper openSuse config files.

[Puppet Users] Problems logging into PE dashboard after inactivity

2014-08-12 Thread wernerbahlke
I have recently noticed the following problem: after long periods of inactivity I do not succeed logging into the PE dashboard. Here is the error: https://puppet/api/server_status?ticket=ST-1407871225rFODw30IRUDwdOspCwK The page you were looking for doesn't exist. You may have mistyped the add

[Puppet Users] How to make puppetlabs_spec_helper ignore modules inside fixtures

2014-08-12 Thread Sebastian Otaegui
Hello all, I have created this module: https://github.com/Spantree/puppet-thrift and everything worked fine all specs ran fine. Now I using the puppetlabs/apt module and when I run the 'rake spec' it is trying to run the 'apt' tests, and it is failing (I think) because I am not providing th

[Puppet Users] Exported resources applied on exporting host - EL7 only

2014-08-12 Thread treydock
I have noticed a very strange problem on CentOS 7 nodes where they are collecting and/or applying their exported resources. I have a class called "brazos::firewall" that's used internally to export a firewall rule that is then collected by "brazos::gw" to allow specific systems through the gat

[Puppet Users] Re: How can we add multiple lines to a file ?

2014-08-12 Thread Sijis Aviles
On Tuesday, August 12, 2014 1:57:14 AM UTC-5, Vikas Kumar wrote: > > Hello, > > I am looking for an option to add multiple lines to a */etc/bashrc* and > */etc/profile*. I can do this with *file_line*, but is there any other > alternative. *file_line* does the job but for each line I will have

[Puppet Users] Disable firewall using puppetlabs firewall module

2014-08-12 Thread Sijis Aviles
Hi, I'm trying to setup the firewall module to be disabled on certain nodes (for testing). However, when even if i set the following: class { 'firewall': ensure => stopped, } The firewall is still running on centos 6.5 and is sometimes stopped on centos 7.0. I've also noticed that the firewal

Re: [Puppet Users] Very large resource_statuses. reports:prune:orphaned fails with Mysql error

2014-08-12 Thread Ramin K
On 8/12/2014 8:54 AM, Ramin K wrote: On 8/12/2014 1:34 AM, Erling Ringen Elvsrud wrote: Hi! I use Puppet enterprise 2.7.2. In the database for Puppet Dashboard the resource_statuses table has grown rapidly the past month (when I was on vacation). I have experienced this earlier also and have im

Re: [Puppet Users] Very large resource_statuses. reports:prune:orphaned fails with Mysql error

2014-08-12 Thread Ramin K
On 8/12/2014 1:34 AM, Erling Ringen Elvsrud wrote: Hi! I use Puppet enterprise 2.7.2. In the database for Puppet Dashboard the resource_statuses table has grown rapidly the past month (when I was on vacation). I have experienced this earlier also and have implemented the suggested solution here:

Re: [Puppet Users] How to install GIT on puppet Server

2014-08-12 Thread Satish Katuru
Hi Vikas, Please find the below information: Linux version: *Linux 2.6.32-358.6.2.el6.x86_64 x86_64* Below is the output for the command /usr/bin/yum -d 0 -e 0 -y list git **Note* Red Hat Network repositories are not listed below. You must run this command as root to access RHN repositori

[Puppet Users] Verify whether the directory has files or not

2014-08-12 Thread Satish Katuru
Hi, I want to copy files into agent machine if the directory in Master server has files? How to Check whether the directory has files or not?(need to add a condition) Sathish. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe f

Re: [Puppet Users] install windows package

2014-08-12 Thread Jim Ficarra
If you mean installing a windows package (such as an MSI or EXE) – you should review the package resource type documentation https://docs.puppetlabs.com/puppet/latest/reference/resources_package_windows.html https://docs.puppetlabs.com/references/latest/type.html#package This works really well

[Puppet Users] Very large resource_statuses. reports:prune:orphaned fails with Mysql error

2014-08-12 Thread Erling Ringen Elvsrud
Hi! I use Puppet enterprise 2.7.2. In the database for Puppet Dashboard the resource_statuses table has grown rapidly the past month (when I was on vacation). I have experienced this earlier also and have implemented the suggested solution here: https://projects.puppetlabs.com/issues/6717 (downl

Re: [Puppet Users] Access to apt.puppetlabs.com slow for some IP addresses

2014-08-12 Thread Johannes Grassler
Hello, thanks for confirming there's nothing wrong on the apt.puppetlabs.com side! That leaves our testbed's networking setup as the most likely culprit then. Either way, we'll set up a caching proxy to reduce the load we are causing on upstream repositories now. Cheers, Johannes Am Freitag,

Re: [Puppet Users] How to install GIT on puppet Server

2014-08-12 Thread Vikas Kumar
Hi Satish, Which flavor or version of Linux are you using ? I can try creating the scenario on my test machine and check myself. In the meantime, can you please post output of this command - /usr/bin/yum -d 0 -e 0 -y list git A small suggestion - Use code syntax for pasting logs, it makes a

Re: [Puppet Users] How to install GIT on puppet Server

2014-08-12 Thread Satish Katuru
Hi Vikas, Thanks for your reply...Below are the steps I followed: I have copied GIT software to my node (git-2.0.4) and my nodes.pp looks like below: node "dayrhetamp076.enterprisenet.org" { package { 'git': ensure => present, source =>'/etc/puppet/git-2.0.4', (Path of the git software) }