Re: [Puppet Users] Error handling in base class in cloud solutions

2015-04-22 Thread Alex Harvey
On Monday, April 20, 2015 at 10:49:28 PM UTC+10, Pete Brown wrote: > > Comments inline. > > On 9 Mar 2015 17:19, "Alex Harvey" > > wrote: > > > I have two questions: > > > > Question #1. Most puppet cloud solutions typically a base class > that configures services common to all nodes like

Re: [Puppet Users] Puppet / Ruby Regex match

2015-04-22 Thread Ramin K
On 4/22/15 4:36 PM, TheNerd wrote: Hi, So I have have the following ruby script for puppet, located in /etc/puppetlabs/puppet/environments/production/modules/base/lib/facter Facter.add(:appname) do setcode do Facter.value(:hostname)[5..-1][/(.*?)(\-|\z)/,1] end end The goal is to

[Puppet Users] Why doesn't my install_options get picked by my package resource?

2015-04-22 Thread Russell Cecala
Here is what I am doing ... [root@mgmt-el7-002 ~]# puppet -V 3.6.2 (Puppet Enterprise 3.3.2) [root@mgmt-el7-002 ~]# cat kernel_upgrade.pp package {'kernel-3.10.0-123.20.1.el7': ensure => present, allow_virtual => false,

[Puppet Users] Puppet / Ruby Regex match

2015-04-22 Thread TheNerd
Hi, So I have have the following ruby script for puppet, located in /etc/puppetlabs/puppet/environments/production/modules/base/lib/facter Facter.add(:appname) do setcode do Facter.value(:hostname)[5..-1][/(.*?)(\-|\z)/,1] end end The goal is to get it to match what facter returns for

[Puppet Users] Lucid leaving apt.puppetlabs.com

2015-04-22 Thread Melissa Stone
Ubuntu 10.04 (Lucid Lynx) will reach end of life on 2015-04-30 [1], so we are no longer building new packages for it and will remove it from our apt repository on 2015-06-01. [1] - https://lists.ubuntu.com/archives/ubuntu-announce/2015-March/000193.html -- Melissa Stone Release Engineer, Puppet

[Puppet Users] --ignore-dependencies and --version do not work together with puppet module install

2015-04-22 Thread James Olin Oden
I am using puppet version 3.7.5. I tried to run the following command: [root@dvcm puppetmaster]# puppet module install --ignore-dependencies stahnma-epel --version 1.0.2 Notice: Preparing to install into /etc/puppet/modules ... Notice: Downloading from https://forgeapi.puppetlabs.com ..

Re: [Puppet Users] Re: PuppetDB Garbage Collection

2015-04-22 Thread Ken Barber
> thanks kindly for the reply . sorry for the delayed response. > > yes, this is the old report purge that happens every hr for 14 days > > we are using puppetdb-1.4.0 and the default postgresql-8.4.20 that comes > with that Upgrade as soon as you can, that version is almost 2 years old (origina