Re: [Puppet Users] Puppet Strings 'Stack Level Too Deep'

2016-02-23 Thread Henrik Lindberg
On 23/02/16 23:54, Trevor Vaughan wrote: Thanks for the response Henrik, I was worried that it would be something this fun... The following script can be used to easily repeat the phenomenon that I'm seeing if someone with some more in depth knowledge on the workings of the Parser and Strings h

[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 PuppetServer version 1.1.3 installation (new DC) >> >>

[Puppet Users] Puppet Facter AWS

2016-02-23 Thread Gowtham P R
Hi All, I am not able to figure out how to replace "mac address value" with first mac address, appreciate your help. $aws_account = $::facts['ec2_metadata']['network']['interfaces']['macs'] ['02:df:8d:XX'][owner-id]'] ? { /123456789/ => 'account1', /123456789/ => 'account2'

[Puppet Users] puppet installation

2016-02-23 Thread moonsun1124
Hi All, I am new to puppet. I think we have two type of installations one is tarball another with packages(rpm or yum). if we install puppet master and agent with yum, how we can access puppet web console. Thanks, -- You received this message because you are subscribed to the Google Groups

Re: [Puppet Users] Puppet Strings 'Stack Level Too Deep'

2016-02-23 Thread Trevor Vaughan
Thanks for the response Henrik, I was worried that it would be something this fun... The following script can be used to easily repeat the phenomenon that I'm seeing if someone with some more in depth knowledge on the workings of the Parser and Strings has a chance to take a look. Any errors tha

Re: [Puppet Users] facter doesn't show custom facts?

2016-02-23 Thread Felix Frank
Hi, thanks for reading :-) Traditionally, you had to invoke `facter -p` to receive Puppet's custom fact from the facter CLI. When we penned the book, PL had just removed that option in favor of `puppet facts`. Shortly after, it became clear that the latter does not quite cover all bases, an

Re: [Puppet Users] Puppet Strings 'Stack Level Too Deep'

2016-02-23 Thread Henrik Lindberg
On 23/02/16 19:24, Trevor Vaughan wrote: Hi All, I'm attempting (once again) to document all of my materials with Puppet Strings as a collected reference for *all* of my utilized modules. Right now, this is somewhere around 1058 Puppet and Ruby artifacts. Unfortunately, at some point, the Stri

Re: [Puppet Users] Re: Help needed - I'm very new to puppet

2016-02-23 Thread Matthew Hyclak
https://learn.puppetlabs.com/ or click on Learn from the main PuppetLabs website. Learning VM is located on that page. Matt On Tue, Feb 23, 2016 at 1:25 PM, Istvan Kassai wrote: > > Hi Warron, > > How do you mean Learning VM? Is there a downloadable virtual appliance? > I've installed two Ubun

[Puppet Users] facter doesn't show custom facts?

2016-02-23 Thread David Karr
I wouldn't call myself a puppet user yet. I finished the "learning vm" tutorial, and I'm reading "Puppet 4 Essentials". In P4E, I read that "facter" and "puppet facts" don't do the same thing. The book says that the former doesn't support custom facts. This seems odd to me, although I wonder

Re: [Puppet Users] Re: Help needed - I'm very new to puppet

2016-02-23 Thread Istvan Kassai
Hi Warron, How do you mean Learning VM? Is there a downloadable virtual appliance? I've installed two Ubuntu VM-s onto KVM. Installed the puppet related packages, the agent can communicate with the master. This pair (master-agent) is in state "ready to work with", but I don't know how. :-( --

[Puppet Users] Puppet Strings 'Stack Level Too Deep'

2016-02-23 Thread Trevor Vaughan
Hi All, I'm attempting (once again) to document all of my materials with Puppet Strings as a collected reference for *all* of my utilized modules. Right now, this is somewhere around 1058 Puppet and Ruby artifacts. Unfortunately, at some point, the Strings Gem gives up the ghost and prints "Syst

Re: [Puppet Users] Re: Help needed - I'm very new to puppet

2016-02-23 Thread Istvan Kassai
2016. február 23., kedd 14:09:19 UTC+1 időpontban Warron French a következőt írta: > > Ivstan, there is also a *Learning VM* you can download, install into your > VMware or Oracle VirtualBox framework and run to learn a lot. It is VERY > useful. > > However, I would say that right after you c

[Puppet Users] Re: Help needed - I'm very new to puppet

2016-02-23 Thread Istvan Kassai
Hi Scott, I found a lots of tutorials. But if you know a good one, please send a link. Of course I tried to read before. All I've achieved is because of these docs. I want to step forward, but I don't know how. -- You received this message because you are subscribed to the Google Groups "Pupp

[Puppet Users] Re: installation and upgradation of puppet on SLES/OpenSuse

2016-02-23 Thread sg85
> > I am assuming you're trying to install the puppet agent on SLES. Bear in > mind that the puppet agent version must be lower than or equal to the > version of puppet master (assuming your infrastructure is master / agent). > Your best bet is to use Yast and use Software Management tool to ad

[Puppet Users] Re: Array overwrite or append pattern

2016-02-23 Thread jcbollinger
On Tuesday, February 23, 2016 at 3:29:38 AM UTC-6, Andreas Zuber wrote: > > Hello > > I recently came across a module where I had the following problem: > > I have some arrays with OS specific defaults which get written into a > config file via template. The user of the module may want to do o

[Puppet Users] Re: Proper (or elegant) way to handle doing some based on contents of a file.

2016-02-23 Thread jcbollinger
On Monday, February 22, 2016 at 5:12:24 PM UTC-6, Scott Walker wrote: > > I'm slowly getting up to speed on puppet (coming over from chef but > honestly haven't used either in probably 3 years so I'm relearning the > learning curve.). > > We are using puppet 3.7.1 on our hosts, what I am trying

[Puppet Users] Re: Additional Puppet Server Failure

2016-02-23 Thread Chris Price
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 PuppetServer version 1.1.3 installation (new DC) > > I followed the following documentation on setting up multiple Puppet > Masters > >

Re: [Puppet Users] Proper (or elegant) way to handle doing some based on contents of a file.

2016-02-23 Thread Lowe Schmidt
My suggestion would be to convert that file to a custom/external fact, and then in your manifests write an if statement, adding the correct cron{} for the matching fact. -- Lowe Schmidt | +46 723 867 157 On 22 February 2016 at 23:28, Scott Walker wrote: > I'm slowly getting up to speed on pup

Re: [Puppet Users] Re: Help needed - I'm very new to puppet

2016-02-23 Thread warron.french
Ivstan, there is also a *Learning VM* you can download, install into your VMware or Oracle VirtualBox framework and run to learn a lot. It is VERY useful. However, I would say that right after you complete *all of those modules in a single sweep* (go back over them as you need them) *it makes sen

[Puppet Users] Puppet master sysctl

2016-02-23 Thread Buster
Hi, Currently our puppet masters have puppet, puppetdb and activemq for mcollective runnning. Eventually I would like to split these up. I've been reading the book by Jo Rhett regarding Mcollective which recommends changes sysctl (https://books.google.com.ua/books?id=StxFBAAAQBAJ&pg=PP2&lpg=PP

[Puppet Users] Array overwrite or append pattern

2016-02-23 Thread Andreas Zuber
Hello I recently came across a module where I had the following problem: I have some arrays with OS specific defaults which get written into a config file via template. The user of the module may want to do one of the following things: 1. Use the default settings provided by the module 2. Co

Re: [Puppet Users] exec not executing

2016-02-23 Thread Craig Dunn
On Tue, Feb 23, 2016 at 12:41 AM, Tim Dunphy wrote: > Craig and Christan.. thanks for your input! What I was trying to do with the > 'refreshonly' statement was to get the exec statement to run only once. > > How would I be able to achieve getting the exec command to run only once? There are a n