Re: [Puppet Users] restarting the smf services on solaris 10

2012-11-01 Thread smalderma
Sorry, I know this is an old posting, that I'm trying to resurrect. So I have a module for solaris similar to what's described below for the system-log service. Basically when we load a server, system-log is already enabled with a stock /etc/syslog.conf file. Using the openvpn example below,

[Puppet Users] Looking for alternative to fail function

2013-08-28 Thread smalderma
Greetings, I was just reading this thread "Early clean exit from module?" [1]on the idea of having an alternative to the fail function. I believe that like the OP of that post, I am looking to replace modules usage of the

[Puppet Users] Is it possible to evaluate a string as a parameter name?

2013-11-18 Thread smalderma
Hi, I'm looking to combine a couple of fact names with the value of a class parameter to create and lookup the resulting fact's value. Is that possible? For example, my class will take the parameter "my_default_nic" from beyond. So I know that as long as $my_default_nic exists on the clien

Re: [Puppet Users] Is it possible to evaluate a string as a parameter name?

2013-11-18 Thread smalderma
p_setup}') %>") > > Hope this works for you. Let us all know, please. > > “Sometimes I think the surest sign that intelligent life exists elsewhere > in the universe is that none of it has tried to contact us.” > Bill Waterson (Calvin & Hobbes) > > -

[Puppet Users] Dynamic Nagios Hostgroup members via collected resources?

2014-01-14 Thread smalderma
Greetings All, I've referenced a few older discussions about nagios hostgroups and the nagios_hostgroup resource. I admit I'm somewhat new to this game, so please excuse my ignorance on the complexities. I'm looking for a way that puppet can use collections / exported resources to create nagi

[Puppet Users] Custom Fact Help? Works in ruby, but not facter...

2014-05-28 Thread smalderma
Hi, I'm working on custom fact that uses Facter::Util::Resolution.exec to run a command that returns output I want to parse with regex. If I write up a ruby shell script like: #!/usr/bin/ruby out = `` out = out.gsub!(//, "\\1\\3") puts "#{out}" The desired output comes to the screen, every t

[Puppet Users] Re: Custom Fact Help? Works in ruby, but not facter...

2014-05-30 Thread smalderma
John, Thanks for the assist. I guess I was working from a less than stellar example. On Thursday, May 29, 2014 9:53:14 AM UTC-4, jcbollinger wrote: > > > > On Wednesday, May 28, 2014 9:16:47 AM UTC-5, smalderma wrote: >> >> Hi, >> >> I'm work

[Puppet Users] Problems with puppet agent on EL7 systems

2015-02-25 Thread smalderma
Hi, I'm working on enabling our environment to support EL7 Linux systems. We mostly run OracleLinux, but also have CentOS and RHEL. I've got a CentOS 6 PuppetMaster running Foreman 1.7.2, Puppet 3.6.2 (from puppetlabs repo) doing my provisioning. I have provisioning working for both Oracle L

[Puppet Users] Re: Problems with puppet agent on EL7 systems

2015-02-25 Thread smalderma
I put a paste out there of a puppet --test --debug run if anyone wants to have a look-see - http://pastebin.com/X6rpgCgp On Wednesday, February 25, 2015 at 4:43:18 PM UTC-5, smalderma wrote: > > Hi, > > I'm working on enabling our environment to support EL7 Linux systems.

Re: [Puppet Users] Re: Problems with puppet agent on EL7 systems

2015-03-02 Thread smalderma
Michael, Thanks for the reply. I use Foreman as ENC, and my buildtest boxes are in a host group that applies our basic site-wide puppet classes. I have set them to not be in a hostgroup and thus not have any classes applied, but the same error persists. I'm just not sure of what the error ev

[Puppet Users] Re: Problems with puppet agent on EL7 systems

2015-03-02 Thread smalderma
nd ens192 are the new style interface names, replacing eth0 eth1 > ... > what do you get if you execute: > > facter interfaces > > On Wednesday, February 25, 2015 at 1:43:18 PM UTC-8, smalderma wrote: >> >> Hi, >> >> I'm working on enabling our environment t

[Puppet Users] Re: Problems with puppet agent on EL7 systems

2015-03-03 Thread smalderma
; On Wednesday, February 25, 2015 at 3:43:18 PM UTC-6, smalderma wrote: >> >> Hi, >> >> I'm working on enabling our environment to support EL7 Linux systems. We >> mostly run OracleLinux, but also have CentOS and RHEL. >> >> I've got a CentOS 6 Pu