[Puppet Users] Re: [ACTION] Changes to release package links

2019-05-15 Thread Chris Taylor
Try http://release-archives.puppet.com/yum/el/7/PC1/x86_64/puppetlabs-release-pc1-1.1.0-5.el7.noarch.rpm Just be aware it will probably install a repo with yum.puppetlabs.com into /etc/yum.repos.d/, so you will need to update the path to the appropriate place. On Wednesday, May 15, 2019 at 11

Re: [Puppet Users] facter to return version of an installed package

2019-05-15 Thread Chris Taylor
You'd be better declaring netplan as a requires: if $operatingsystem == "Ubuntu" { if versioncmp($facts['os']['release']['full'], '18') >= 0 { package { 'netplan': ensure => present, } file { "/etc/netplan/windows-dhcp.yaml": mode=> '0644', owner => "${roo

Re: [Puppet Users] Puppet apt repository broken?

2019-05-15 Thread Chris Taylor
them as soon as > possible. > > On Wed, May 15, 2019 at 3:23 PM Chris Taylor > wrote: > >> Guessing this is related to the archiving of the puppet 4 & older >> packages? >> >> I note that the yum archive still functions as a repo, but the apt one

Re: [Puppet Users] Puppet apt repository broken?

2019-05-15 Thread Chris Taylor
Guessing this is related to the archiving of the puppet 4 & older packages? I note that the yum archive still functions as a repo, but the apt one doesn't have any release files (or a dists folder), in spite of otherwise being structured appropriately.. Is this going to be fixed? (release-archi

[Puppet Users] Re: Case Statement for setting IP addresses

2014-12-16 Thread James Taylor
11, 2014 11:23:51 AM UTC-8, James Taylor wrote: > > Hello all, > > I am working with an issue that has me tied up in knots. I have a group of > machines that will have structured names (i.e. prj-sfo-ibm-102.foo.com). > I want to use the host name to assign IP addresses to the

[Puppet Users] Case Statement for setting IP addresses

2014-12-11 Thread James Taylor
Hello all, I am working with an issue that has me tied up in knots. I have a group of machines that will have structured names (i.e. prj-sfo-ibm-102.foo.com). I want to use the host name to assign IP addresses to the machine, since each host name has a locator (sfo), vendor (ibm), and node numb

[Puppet Users] Re: Installing a package purely with Hiera configuration

2014-12-05 Thread Andy Taylor
, December 5, 2014 7:55:46 AM UTC-5, Andy Taylor wrote: >> >> Hiera is just a source of data - you need to have Puppet >> manifests/modules which interpet the data and act on it. >> >> You can achieve installation of packages from Hiera data by using defined >&g

[Puppet Users] Re: Installing a package purely with Hiera configuration

2014-12-05 Thread Andy Taylor
Hiera is just a source of data - you need to have Puppet manifests/modules which interpet the data and act on it. You can achieve installation of packages from Hiera data by using defined types and the create_resources function: https://docs.puppetlabs.com/learning/definedtypes.html https://do

Re: [Puppet Users] Re: PuppetDB 2.2 and pg_trgm extension

2014-10-23 Thread Taylor Leese
Wednesday, October 1, 2014 2:10:40 PM UTC-7, Taylor Leese wrote: >> >> Ken - I'm using Ubuntu 14 and I installed PuppetDB via >> https://forge.puppetlabs.com/puppetlabs/puppetdb. I also should have >> noted that I got this error while upgrading from PuppetDB 2.1

Re: [Puppet Users] Re: PuppetDB 2.2 and pg_trgm extension

2014-10-01 Thread Taylor Leese
dnesday, October 1, 2014 2:10:40 PM UTC-7, Taylor Leese wrote: > > Ken - I'm using Ubuntu 14 and I installed PuppetDB via > https://forge.puppetlabs.com/puppetlabs/puppetdb. I also should have > noted that I got this error while upgrading from PuppetDB 2.1 to 2.2. > Postgres is ve

Re: [Puppet Users] Re: PuppetDB 2.2 and pg_trgm extension

2014-10-01 Thread Taylor Leese
h Postgres. Ellison - How would I go about installing this "contrib" package to see if that helps? - Taylor On Wednesday, October 1, 2014 10:39:07 AM UTC-7, Ellison Marks wrote: > > As a note, I installed from the postgres yum repositories, as the version > in stock centos 6

[Puppet Users] Re: PuppetDB 2.2 and pg_trgm extension

2014-10-01 Thread Taylor Leese
I tried the same thing and got the error below. Any ideas? puppetdb=# create extension pg_trgm; ERROR: could not open extension control file "/usr/share/postgresql/9.3/extension/pg_trgm.control": No such file or directory - Taylor On Saturday, August 30, 2014 12:42:30 AM UTC-7, Pa

[Puppet Users] Re: Unmet dependencies: puppetmaster 3.7.0-1puppetlabs1

2014-09-16 Thread Taylor Leese
I think it's also worth noting that Puppet 3.7.1 was released today. See https://docs.puppetlabs.com/puppet/3.7/reference/release_notes.html#puppet-371. This doesn't seem like a coincidence. - Taylor On Tuesday, September 16, 2014 1:08:47 AM UTC-7, Taylor Leese wrote: > >

[Puppet Users] Unmet dependencies: puppetmaster 3.7.0-1puppetlabs1

2014-09-16 Thread Taylor Leese
been moved out of Incoming.* *The following information may help to resolve the situation:* *The following packages have unmet dependencies:* * puppetmaster : Depends: puppetmaster-common (= 3.7.0-1puppetlabs1) but it is not going to be installed* *E: Unable to correct problems, you have held broken p

[Puppet Users] Re: Challenge: who am i and what do i do

2014-08-26 Thread Andy Taylor
I'd recommend checking out Razor: https://github.com/puppetlabs/razor-server/wiki Although as far as I'm aware it's not production ready yet. On Tuesday, 26 August 2014 20:41:01 UTC+1, Alex Demitri wrote: > > Hi guys - i am fairly new to puppet and i am trying to figure out ways to > implement

[Puppet Users] Hiera backend and web interface for multiple users

2014-08-05 Thread Andy Taylor
Hi, What do you all use as your Hiera backend? We've been using yaml for a while now but would like to move to something which is a bit more accessible for our developers. I've been looking at CouchDB and Redis but am struggling to find something which has a relatively easy to use interface wi

Re: [Puppet Users] ENC fails on first run - Error reading YAML file: No such file or directory - /var/lib/puppet/yaml/facts/nexus.myhost.com.yaml

2014-07-20 Thread Taylor Leese
che > location. Perhaps you have removed the yaml caching of facts? > > Regards, David > > > On 2014-07-14 23:46, Taylor Leese wrote: > >> I incorrectly redacted the host name in the error message. Here is the >> correct version: >> >> *==> nexus: *

Re: [Puppet Users] ENC fails on first run - Error reading YAML file: No such file or directory - /var/lib/puppet/yaml/facts/nexus.myhost.com.yaml

2014-07-14 Thread Taylor Leese
gt; via exec: Execution of '/etc/puppet/bin/node_classifier nexus.myhost.com <http://my.host.com/>' returned 1: Error reading YAML file: No such file or directory - /var/lib/puppet/yaml/facts/nexus.myhost.com.yaml* *==> nexus: * On Mon, Jul 14, 2014 at 2:43 PM, Taylor Leese wrote:

[Puppet Users] ENC fails on first run - Error reading YAML file: No such file or directory - /var/lib/puppet/yaml/facts/nexus.myhost.com.yaml

2014-07-14 Thread Taylor Leese
/var/lib/puppet/yaml/facts/nexus.myhost.com.yaml* *==> nexus: * - Taylor -- 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...@googlegro

Re: [Puppet Users] Failed to find [host] via exec

2014-07-13 Thread Taylor Leese
The work around I went with is to just avoid the "require 'puppet'" line in my external node classifier so I can avoid this issue completely. I just ignore the first line of the YAML file in /var/lib/puppet/yaml/facts/ and do YAML.load rather than YAML.load_file. - Taylor

Re: [Puppet Users] Failed to find [host] via exec

2014-07-12 Thread Taylor Leese
he same. https://tickets.puppetlabs.com/browse/FACT-176 https://tickets.puppetlabs.com/browse/PUP-2367 - Taylor On Saturday, July 12, 2014 5:06:22 AM UTC-7, Taylor Leese wrote: > > Jose - Ah, the puppet master itself is running as the "puppet" user. > > *root@puppet:/etc/pu

Re: [Puppet Users] Failed to find [host] via exec

2014-07-12 Thread Taylor Leese
is really indicative of the actual problem or not. - Taylor On Saturday, July 12, 2014 4:54:22 AM UTC-7, Jose Luis Ledesma wrote: > > The node classifier command is launched by the same user the runs puppet > master, and normally it is the 'puppet' user. > > You should t

Re: [Puppet Users] Failed to find [host] via exec

2014-07-12 Thread Taylor Leese
mand" what do you mean? The node classifier? My VM doesn't have a puppet user so I checked to see what user the agent was running under and it is root. root@nexus:/home/vagrant# ps -ef | grep puppet root 1480 1 0 11:01 ?00:00:01 /usr/bin/ruby /usr/bin/ *puppet* agent -

[Puppet Users] Failed to find [host] via exec

2014-07-12 Thread Taylor Leese
rameters: * *puppetserver: puppet.myhost.com* * environment: production* *root@puppet:/etc/puppet# * - Taylor -- 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,

[Puppet Users] Puppet Fundamentals training - how "fundamental" is it?

2014-01-17 Thread David Taylor
t it just retreads things I already know? Thanks, -- Dave Taylor -- 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...@googlegro

[Puppet Users] Puppet controling Network Interfaces OS:CentOS 5.x

2013-10-07 Thread jameskirk . taylor
Hello all, I am just learning Puppet-Poetry for controlling packages and file contents. Looking at the depth of language and concepts for this application, I thought, "There must be a mechanism for controlling IP addresses and interfaces for agent nodes that I am not seeing." Would it be p

[Puppet Users] Re: Hiera hashes and arrays in ERB templates

2013-01-04 Thread Andy Taylor
> > 'Volumes' in hiera yaml looks like: > volumes: > vol1: > ensure: present > size: '500m' > vol2: > ensure: present > size: '20g' > snapschedule: >minutes: 0 >hours: 36 >days: 0 >weeks: 0 > >

[Puppet Users] Hiera hashes and arrays in ERB templates

2013-01-04 Thread Andy Taylor
Hi, I'm trying to build a module for haproxy which fetches all the configuration data from Hiera to populate the haproxy config file. I've run into a number of issues though when I try to use hashes. Ideally, I want to use something like this: haproxy_listeners : "cluster1" : ip : '192.168.

[Puppet Users] Re: Conditional based on other module

2012-06-08 Thread Andy Taylor
04 pm, jcbollinger wrote: > On Jun 7, 4:30 am, Andy Taylor wrote: > > > > > > > > > > > Hi, > > > I'm currently trying to achieve the following: a program's listen port > > changes depending on the presence of another service, specificall

[Puppet Users] Re: Conditional based on other module

2012-06-07 Thread Andy Taylor
there is a better way of doing this with Hiera? On Jun 7, 10:54 am, Felix Frank wrote: > On 06/07/2012 11:30 AM, Andy Taylor wrote: > > > 1. Have Varnish/non-Varnish systems separated by environment and have > > a conditional in the module which changes the listen port dependent

[Puppet Users] Conditional based on other module

2012-06-07 Thread Andy Taylor
Hi, I'm currently trying to achieve the following: a program's listen port changes depending on the presence of another service, specifically with Varnish and Apache. So for example, if Varnish is installed on a server, Apache should listen on 8080. If it isn't, then Apache should listen on 80.

[Puppet Users] Re: Puppet/Hiera and Git workflow

2012-05-29 Thread Andy Taylor
:28 pm, Nigel Kersten wrote: > On Mon, May 28, 2012 at 6:14 AM, Andy Taylor wrote: > > I'm currently trying to work out the best way structure my Puppet > > environments and VCS structure. At the moment I'mk working on > > something like this: > > > Three Gi

[Puppet Users] Re: Puppet/Hiera and Git workflow

2012-05-29 Thread Andy Taylor
gt;    |--master >    |      |- us >    |--production > (etc) > > - 1 directory for all nodes, and 1 manifests file (xx.pp) for each node type > > - And the rest of Puppet modules > > Carlos. > > El lunes, 28 de mayo de 2012 15:14:54 UTC+2, Andy Taylor escribió: > >

[Puppet Users] Puppet/Hiera and Git workflow

2012-05-28 Thread Andy Taylor
I'm currently trying to work out the best way structure my Puppet environments and VCS structure. At the moment I'mk working on something like this: Three Git repositories (one for modules, one for Hiera, one for node manifests) Multiple branches (each branch representing an environment, e.g. prod

[Puppet Users] Re: Newbie question: what to start from?

2012-05-17 Thread Andy Taylor
Welcome :) I started here: http://docs.puppetlabs.com/learning/ Lots of good material. On May 17, 10:24 pm, "Anatoliy Lisovskiy (Wavebourn)" wrote: > Hello fellow community members! > > I just joined you in order to find an information about how to start > using Puppet... > > Currently we use

[Puppet Users] Re: Managing system yum repositories with yumrepo cache issues

2012-05-09 Thread Andy Taylor
o update software in the > > same run has a require=> set that ensures all the yum repos and the yum > > clean all are completed before they run, or you get: > > > update yum repo > > update package > > yum clean all > > …. > > > I just require the entire

[Puppet Users] Managing system yum repositories with yumrepo cache issues

2012-05-04 Thread Andy Taylor
Hi, I'm trying to get my yum module to manage system repositories like CentOS-Base. My yum module is part of a pre run stage so it puts the necessary repositories in place before other modules try to install anything. I've just run into a problem though; when Puppet installs a repo via yumrepo, i

[Puppet Users] Re: Parametrized classes, definitions and structure

2012-04-27 Thread Andy Taylor
Thanks John for yet another very useful reply, it is much appreciated. I'm going to do some more reading on Hiera and look at reworking my modules. And thank you Ramin for some examples of Hiera in practice, looks very interesting! Going to have a play around with it next week :) Thanks! On Apr

[Puppet Users] Re: Parametrized classes, definitions and structure

2012-04-24 Thread Andy Taylor
the right approach to it... The key concern for me at the moment is flexibility and scalability... none of my stuff is live yet, and I want to make sure I'm using best practices before I put it all in place. :) On Apr 24, 5:13 pm, jcbollinger wrote: > On Apr 24, 9:13 am, Andy Taylor wrote: &g

[Puppet Users] Parametrized classes, definitions and structure

2012-04-24 Thread Andy Taylor
Hi, I've written a set of Puppet modules to manage servers, but am slightly concerned about the structure I've used as it seems to differ significantly from anything else I've seen in Puppet Forge/elsewhere on the internet. I've made extensive use of definitions so that defaults for modules can b

[Puppet Users] Re: Creating multiple resources from an array

2012-03-14 Thread Andy Taylor
Thanks for the solution, works great :) And I had to resort to google for the barney reference - I'll pass that right along :) On Mar 13, 9:37 pm, jcbollinger wrote: > And tell Barney I said "hey." -- You received this message because you are subscribed to the Google Groups "Puppet Users" grou

[Puppet Users] Creating multiple resources from an array

2012-03-13 Thread Andy Taylor
Hi, I'm currently trying to write a module to manage Squid, including the SSL certificates it uses. Sometimes you want Squid to listen on multiple IPs with multiple certificates, so I'm trying to get Puppet to push the certificates to the nodes and configure Squid accordingly. I've run into a pro

Re: [Puppet Users] Can I serve a template depending on if it exists like I can a source?

2011-12-01 Thread Bryant Taylor
This works on our mysql configs with an erb file { "cluster.conf": name => "/etc/cluster/cluster.conf", owner => root, group=> root, mode=> 640, content=> template("nmysql/cluster.conf.erb"), # notify => Service["rgmanager"],

[Puppet Users] Re: Passenger Problems

2010-10-26 Thread Taylor Leese
Mathias - The package you mentioned (puppetmaster-passenger) worked perfectly for me on the first try. That saved me a ton of time. Thanks! On Oct 26, 1:38 pm, Mathias Gug wrote: > Hi, > > Excerpts from Taylor Leese's message of Tue Oct 26 16:31:04 -0400 2010: > > > &

[Puppet Users] Re: Passenger Problems

2010-10-26 Thread Taylor Leese
Mathias - Really? That's awesome. I didn't realize that existed. I will check it out. Thanks. On Oct 26, 1:38 pm, Mathias Gug wrote: > Hi, > > Excerpts from Taylor Leese's message of Tue Oct 26 16:31:04 -0400 2010: > > > > > @Ohad - I'm actually using

[Puppet Users] Re: Passenger Problems

2010-10-26 Thread Taylor Leese
@Patrick - Thanks. I will try a newer version of passenger later tonight. @Ohad - I'm actually using Ubuntu Maverick. On Oct 26, 1:11 pm, Patrick wrote: > On Oct 26, 2010, at 1:00 PM, Taylor Leese wrote: > > > Patrick, > > > Any idea if people are using ve

[Puppet Users] Re: Passenger Problems

2010-10-26 Thread Taylor Leese
Patrick, Any idea if people are using versions > 2.2.5 in the wild successfully? I tried to revert back to 2.2.2 previously, but I received a number of compilation errors when running passenger-install- apache2-module so it seems like moving up may be my only option. - Taylor On Oct 26, 12

[Puppet Users] Re: Passenger Problems

2010-10-26 Thread Taylor Leese
Patrick, Any idea if people are using versions > 2.2.5 in the wild successfully? I tried to revert back to 2.2.2 previously, but I received a number of compilation errors when running passenger-install- apache2-module so it seems like moving up may be my only option. - Taylor On Oct 26, 12

[Puppet Users] Re: Passenger Problems

2010-10-26 Thread Taylor Leese
). Are people using passenger versions > 2.2.5 with success? - Taylor On Oct 26, 10:52 am, Patrick wrote: > On Oct 25, 2010, at 12:50 PM, Taylor Leese wrote: > > > > > Hi all, > > > I'm new to Puppet and I'm trying to setup a puppet master and a client >

[Puppet Users] Re: Passenger Problems

2010-10-26 Thread Taylor Leese
You guys hijacked my thread. :-) Any idea about my passenger problems? -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@googlegroups.com. To unsubscribe from this group, send email to puppet-user

[Puppet Users] Passenger Problems

2010-10-25 Thread Taylor Leese
Hi all, I'm new to Puppet and I'm trying to setup a puppet master and a client on Amazon EC2 using Passenger. I've gone through the steps described here (http://docs.puppetlabs.com/guides/passenger.html) and here (http://github.com/puppetlabs/puppet/tree/master/ext/rack). However, I am still havin

[Puppet Users] Join AD using Likewise

2010-02-10 Thread Taylor
Hi All, I'm reading the docs and various references available for Puppet but can't seem to find a better way of accomplishing my goal of binding my Linux Servers to Active Directory. (Please don't berate me for the premise.) Quick Background: I've become enamored with likewise-open as a method an

[Puppet Users] OSSEC Recipe?

2009-06-02 Thread Taylor
Hi, I'm a fairly new to Puppet but so far have been very pleased with the recipes and my own simple scripts. However, I've hit a wall in the form of OSSEC, (http://www.ossec.net/main/) Most of my servers are running ubuntu or debain and neither support OSSEC via apt-get. I've thought about setti

[Puppet Users] Recipe Active Directory?

2009-05-21 Thread Taylor
Does anyone have a recipe for binding to active directory? I'm working off ubuntu 9.04 but would love to see one for any distribution. I'm new to puppet so something this complex is taking some significant time for me to wrap my head around. Thanks to all comments. --~--~-~--~~--

[Puppet Users] Re: class dependencies ordering

2008-09-24 Thread Ian Taylor
Not sure what is 'best practice', but maybe this will help a little. Please keep in mind, I'm new to puppet too. You might look at: http://reductivelabs.com/trac/puppet/wiki/TypeReference#available-metaparameters specifically require and before Possibly in the autofs class, resources might req