[Puppet Users] SRV records not working correctly

2016-06-23 Thread Matthew Ceroni
I am attempting to load balance two master servers via SRV records. https://gist.github.com/cyrus-mc/fefef0d07dcb6fe211ad8514ce2c710a As you can see at line 6 it finds 2 records for the specified SRV. At line 15 it makes a connection to one of the Puppet servers. However at line 29 it connects

[Puppet Users] wdjijerman Zabbix module

2016-04-14 Thread Matthew Ceroni
Wondering if anyone uses this module? I think it does a fantastic job but did have a few questions around some of the defined types. For instance, if you set manage resources on agent it exports the following. @@zabbix_host { $hostname: ipaddress => $ipaddress, use_ip => $use_ip, port =>

[Puppet Users] Re: Hiera repository + environments + r10k

2016-03-08 Thread Matthew Ceroni
It actually isn't just hiera data. The Puppetfile becomes an issue. For each environment the branch tag corresponding to that environment is specified for each module. As you merge development to qa and so forth that ends up getting messed up. -- You received this message because you are

[Puppet Users] Hiera repository + environments + r10k

2016-03-08 Thread Matthew Ceroni
Question to the community. This isn't really a specific Puppet issue but more a question around the workflow that others are using. My basic setup is a git repository per module. Then I have a, what I call control repo, that contains my Puppet file plus all my roles and profiles and hiera

[Puppet Users] Re: Additional Puppet Server Failure

2016-02-23 Thread Matthew Ceroni
On Tuesday, February 23, 2016 at 6:12:48 AM UTC-8, Chris Price wrote: > > > > On Monday, February 22, 2016 at 5:01:20 PM UTC-8, Matthew Ceroni wrote: >> >> I have the following setup. >> >> 1) Existing PuppetServer version 1.1.3 >> >> 2) New

[Puppet Users] Additional Puppet Server Failure

2016-02-22 Thread Matthew Ceroni
I have the following setup. 1) Existing PuppetServer version 1.1.3 2) New PuppetServer version 1.1.3 installation (new DC) I followed the following documentation on setting up multiple Puppet Masters

[Puppet Users] Re: Module layout

2016-02-13 Thread Matthew Ceroni
pe (calling class), node and top scope were only available.. Thanks On Thursday, February 11, 2016 at 8:11:31 PM UTC-8, Matthew Ceroni wrote: > > Just a quick question (whether it really matters or not) about module > design. > > The following document > > https://docs.pup

[Puppet Users] Module layout

2016-02-11 Thread Matthew Ceroni
Just a quick question (whether it really matters or not) about module design. The following document https://docs.puppetlabs.com/guides/module_guides/bgtm.html Seems to indicate that the sub classes, such as install and service, should inherit the main class so that they have access to the

[Puppet Users] Re: Hiera Interpolation

2015-12-01 Thread Matthew Ceroni
, Matthew Ceroni wrote: > > I have been using variable interpolation within my Hiera data files for > sometime. > > For instance I have Citrix NetScaler LB rules defined as such: > > apache: > name: "%{::cluster}-apache" > ensure: 'present' >

[Puppet Users] Hiera Interpolation

2015-11-30 Thread Matthew Ceroni
I have been using variable interpolation within my Hiera data files for sometime. For instance I have Citrix NetScaler LB rules defined as such: apache: name: "%{::cluster}-apache" ensure: 'present' service_type: 'HTTP' state: true lb_method: 'LEASTCONNECTION' And

[Puppet Users] Data Type: Hashes

2015-11-24 Thread Matthew Ceroni
I am having an issue accessing elements of a hash. First, it is defined in hiera as such: lb::rules: VCC: rule1 GR: rule2 I retrieve the value using $lb_rules = hiera('lb::rules') Then I simply try to print out one of the values ex: notify { "$lb_rules[VCC]": } But get Error 400

[Puppet Users] Migrating to future parser (on 3.8) in preparation for upgrade to 4.0

2015-11-24 Thread Matthew Ceroni
Working on migrating my manifests to work with Puppet 4.0. Currently on 3.8 and have started to experiment with the future parser (probably not so much future anymore). I am stuck on an error that is being reported. Error: Could not retrieve catalog from remote server: Error 400 on SERVER:

Re: [Puppet Users] Passing data between hosts

2015-08-06 Thread Matthew Ceroni
Not sure what you mean? Part of configuring DNS master is to list the slaves. Therefore I need a way on the master to determine the IPs of the slaves. Dynamically is what I am hoping to do. Instead of having to place data statically in a hiera file for example -- You received this message

[Puppet Users] Passing data between hosts

2015-08-06 Thread Matthew Ceroni
Scenario: Managing DNS via Puppet. On the master I need to be aware of slave NS servers so that the NS record can be put into the zone file. Creating a zone you supply an array with the name of all the name servers. Hard coding this into a hiera file (as an example) doesn't scale well as new

[Puppet Users] Module Autoload issues

2015-07-22 Thread Matthew Ceroni
I am attempting to use the following module -- You received this message because you are subscribed to the Google Groups Puppet Users group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To view this discussion on

[Puppet Users] Cisco VLAN

2015-07-21 Thread Matthew Ceroni
I am using the VLAN resource type to manage VLANs on a Cisco 4500. On every run puppet reports that it created the VLAN (even though it exists). Grabbing data from hiera: network::layer3::vlans: site: name: 703 description: 'Site' management: name: 712 description:

Re: [Puppet Users] PuppetLabs Netscaler Module

2015-07-15 Thread Matthew Ceroni
can't see anything from a syntax point of view that jumps out at me. On Tuesday, July 14, 2015 at 4:33:45 PM UTC-7, Matthew Ceroni wrote: Hi: Thanks for making that change. I will test it out. However with the error I posted today it comes and goes. I will run it one time, and it works

Re: [Puppet Users] PuppetLabs Netscaler Module

2015-07-14 Thread Matthew Ceroni
:41 AM Matthew Ceroni matthe...@gmail.com javascript: wrote: I upgraded to ruby 2 that is part of Redhat 7. Now upon running I get the following error http://pastebin.com/RveUf4ca Can't autoload puppet/type/netscaler_server. Thanks -- You received this message because you

Re: [Puppet Users] PuppetLabs Netscaler Module

2015-07-14 Thread Matthew Ceroni
I upgraded to ruby 2 that is part of Redhat 7. Now upon running I get the following error http://pastebin.com/RveUf4ca Can't autoload puppet/type/netscaler_server. Thanks -- You received this message because you are subscribed to the Google Groups Puppet Users group. To unsubscribe from

[Puppet Users] PuppetLabs Netscaler Module

2015-07-13 Thread Matthew Ceroni
I am attempting to use the puppetlabs netscaler module to manage, well a Citrix Netscaler :) I setup my /etc/puppet/device.conf on the puppet agent that will act as the proxy: [usc1lb01] type netscaler url https://nsroot:XX@10.191.2.8/nitro/v1 As a simple test I set my manifest as

[Puppet Users] Hiera and ENC-set top-scope variables

2013-11-22 Thread Matthew Ceroni
I am trying to use an ENC-set top-scope variable in my Hiera hierarchy. However it doesn't seem to be working. Here is what is returned by my ENC script (it is the foreman ENC script) for a node: parameters: san_rafael-spacewalk: mai01-sprxy-02v puppet_ca: mai01-pmstr-02v group:

[Puppet Users] Puppet with pre-generated certificate authority

2013-06-07 Thread Matthew Ceroni
Is it possible to use a pre-generated CA with Puppet? Instead of having it create it on first start-up? I have an internal root CA that I want to use with Puppet. I simply tried replacing the CA files in /var/lib/puppet/ssl but that didn't seem to work. It might be that I wasn't sure if the

[Puppet Users] Exported Resources

2013-06-03 Thread Matthew Ceroni
Need some assistance with what I believe is a requirement that can be solved using Exported Resources (or maybe there is another method which is better suited). I have a module svn::server::init. This module can be called with a parameter is_master which defines whether it is a master SVN

[Puppet Users] Template with array and nested hash

2013-04-15 Thread Matthew Ceroni
I have the following http://pastebin.com/dphfbV7z As outlined in the above I want to turn the data structure I have into what is outlined in a template. Not sure how to go about accessing and looping over the multiple levels in the data structure. Thanks -- You received this message

[Puppet Users] Stored configs - error

2011-01-31 Thread Matthew Ceroni
I have struggled with this issue for a long time without any resolution. This showed up in previous versions (0.25) and suggestions were to upgrade to the latest - currently running 2.6.3 on RHEL5. The errors I get are: Jan 31 14:46:07 ls1313p puppet-master[27438]: PGError: server closed the

[Puppet Users] Augeas input needed

2011-01-27 Thread Matthew Ceroni
I am using augeas to update the PAM configuration (ie: to LDAP enable my systems). Here is a snippet of what I am doing to add required modules, etc. auth-pam_succeed: context = /files/etc/pam.d/system-auth,