[Puppet Users] Variable interpolation failing with structured facts

2014-11-04 Thread Thomas Hager
Hi, While implementing custom facts in our environment I did some experimenting with structured facts in our Puppet manifests. Puppet is 3.7.2, Facter is 2.3.0, Master and Agent run on the same VM, future parser is on and stringify_facts is disabled. I failed at using one of my custom facts (

Re: [Puppet Users] Starting with puppet

2014-11-05 Thread Thomas Hager
On 2014-11-05 07:43, elhay efrat wrote: Can someone please share PPT or Youtube link how to start with puppet ? Puppetlabs offers an excellent tutorial for Puppet beginners: https://docs.puppetlabs.com/learning/ https://docs.puppetlabs.com/learning/introduction.html I'd start there. Hth, Tom.

Re: [Puppet Users] Re: Variable interpolation failing with structured facts

2014-11-06 Thread Thomas Hager
On 2014-11-05 15:53, jcbollinger wrote: Well no, Puppet IS interpolating. It is interpolating the string value of the whole hash. What it is not doing is interpreting the index as an index. Try this: notice("${os[family]}") I make it a general rule to _always_ use braces around variable referen

Re: [Puppet Users] install package through manifests

2014-11-28 Thread Thomas Hager
On 2014-11-28 10:15, fauzi.profit...@gmail.com wrote: Hai everyone, can someone help me? Hi, I'm new in puppet, How can I install package at puppet agent through puppet master by using manifests. Sure, as long as the packages are supported by a provider. Take a look at the package provider r

Re: [Puppet Users] install package through manifests

2014-12-02 Thread Thomas Hager
On 2014-12-02 03:11, fauzi.profit...@gmail.com wrote: thanks for the reply, is it will make puppet connection lost or something bad happen if we use yum update ? That's not really a Puppet question, but a question every sysadmin has to answer himself. Which updates are applied in your environmen

Re: [Puppet Users] [newb] Using facts to control versions of modules?

2014-12-02 Thread Thomas Hager
On 2014-12-01 22:10, leam hall wrote: I've heard that the goal is to move away from a ~hieradata/{dev|test|prod} directory structure to use Facts. What I haven't seen is how to control module versions with that. If you update mymodule and put it in the ~puppet/modules directory, what makes dev bo

Re: [Puppet Users] Question about yum provider of package resource ?

2014-12-05 Thread Thomas Hager
On 2014-12-05 08:50, Richard wrote: Hi! Hi, [...] but when i run command 'rpm -qa| grep mysql' , i find that mysql still in my system. mysql-connector-java-5.1.17-6.el6.noarch mysql-community-release-el6-5.noarch mysql-community-client-5.6.22-2.el6.x86_64 mysql-community-common-5.6.22-2.el6

Re: [Puppet Users] Re: Puppet 4 under Ubuntu 16.04

2016-10-18 Thread Thomas Hager
On Mon, 2016-10-17 at 13:13 +0200, Ilia Ternovich wrote: > I would like to install puppet first and then manage my oracle jdk > installation with it. I don't need OpenJDK > Well, before managing anything with Puppet, you need a working puppetserver. And puppetserver has a dependency on OpenJDK, be

Re: [Puppet Users] how to pxe boot and preseed puppet-agent install in ubuntu from puppetlabs repo

2017-03-23 Thread Thomas Hager
Hi Peter, ever thought about trying Cobbler? In our environment, we PXE boot servers with Cobbler, install Xenial with a recent Puppet agent and automatically sign the certificate on the master for freshly deployed servers. Everything out of the box :) Hth, Tom. On Wed, 2017-03-22 at 13:06 -070