Re: [Puppet Users] puppet master --compile giving "Warning: Unknown variable: " for Facts

2016-12-01 Thread Rob Nelson
report. Rob Nelson rnels...@gmail.com On Thu, Dec 1, 2016 at 6:45 PM, Jim Perry <dride...@gmail.com> wrote: > The prepended colons are actually the way Puppet 4 guides say to do it > now. It is just odd and why I tossed it out to the forum. > > On Dec 1, 2016 4:30 PM, &

Re: [Puppet Users] puppet master --compile giving "Warning: Unknown variable: " for Facts

2016-12-01 Thread Rob Nelson
You could try using `$osfamily` (no colons) or $facts['os']['family'] if you do not need to support anything older than 3.5.0. I kind of doubt it's related to the prepended colons, but maybe? Rob Nelson rnels...@gmail.com On Thu, Dec 1, 2016 at 11:09 AM, HPUX_PUPPET <dride...@gmail.com>

Re: [Puppet Users] Single Enterprise Puppet Master to support 2 Control Repos

2016-11-28 Thread Rob Nelson
> https://groups.google.com/d/msgid/puppet-users/93e0ff8b-2f52-48ca-8aba-b8fc133ada44%40googlegroups.com > . > > For more options, visit https://groups.google.com/d/optout. > > -- > You received this message because you are subscribed to the Google Groups > "Puppet

Re: [Puppet Users] New to Puppet :wanted more information of VM provisioning in puppet

2016-11-22 Thread Rob Nelson
/system_requirements.html. I believe there's a much prettier chart of supported platforms and versions but of course I can't find it right now. Rob Nelson rnels...@gmail.com On Tue, Nov 22, 2016 at 7:03 AM, Martin Alfke <tux...@gmail.com> wrote: > One more tool: there is razor (from Puppet and it is op

Re: [Puppet Users] How to differ OS Versions in Modules?

2016-11-19 Thread Rob Nelson
9bf-476e-b7e1-c43f45a50442%40googlegroups.com > <https://groups.google.com/d/msgid/puppet-users/9079a58c-b9bf-476e-b7e1-c43f45a50442%40googlegroups.com?utm_medium=email_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Rob Nelson -- You received thi

Re: [Puppet Users] puppet does not like ~ in file name

2016-11-10 Thread Rob Nelson
' on ensure: user x20161110-7118-fwfpjo doesn't > exist at 5:/tmp/x.pp > Notice: /Stage[main]/Main/File[/tmp/x~]/ensure: defined content as '{md5} > 401b30e3b8b5d629635a5c613cdb7919' > Notice: Applied catalog in 0.15 seconds > > > On Thu, Nov 10, 2016 at 05:03:17PM +0100, Fabrice Bacche

Re: [Puppet Users] Puppet first run issue: Error 400 on SERVER: Failed when searching for node

2016-11-10 Thread Rob Nelson
g emails from it, send an > email to puppet-users+unsubscr...@googlegroups.com > <javascript:_e(%7B%7D,'cvml','puppet-users%2bunsubscr...@googlegroups.com');> > . > To view this discussion on the web visit https://groups.google.com/d/ > msgid/puppet-users/4f09c921-525a-4ab

Re: [Puppet Users] puppet does not like ~ in file name

2016-11-10 Thread Rob Nelson
I don't have an answer, but did you verify that when you remove the tilde, the resource applies properly? If so, this does sound like a bug of some sort. Rob Nelson rnels...@gmail.com On Thu, Nov 10, 2016 at 9:16 AM, Fabrice Bacchella < fabrice.bacche...@orange.fr> wrote: > I ne

Re: [Puppet Users] development workflow

2016-11-08 Thread Rob Nelson
Code Manager is PE only, so if you're using opensource then r10k it is. I still use r10k with PE, though, because CM is missing the equivalent of 'r10k deploy module'. Both work very well. Rob Nelson rnels...@gmail.com On Mon, Nov 7, 2016 at 4:33 AM, Robert <robpo...@gmail.com> wrote:

Re: [Puppet Users] Problem with test run

2016-11-06 Thread Rob Nelson
I think this might be relevant, I am guessing the facts hash is being stringified: https://docs.puppet.com/puppet/3.8/reference/lang_facts_and_builtin_vars.html#data-types Rob Nelson rnels...@gmail.com On Fri, Nov 4, 2016 at 6:22 PM, <ddoughtye...@gmail.com> wrote: > facter

Re: [Puppet Users] profiles/hiera, defalults and defined

2016-11-03 Thread Rob Nelson
. Rob Nelson rnels...@gmail.com On Thu, Nov 3, 2016 at 9:11 AM, Bjørge Solli <bjorge.so...@gmail.com> wrote: > Hi > > Setup: Puppet 4, profiles and roles, hiera > > Trying to understand what is the best way to solve this problem: > > I have a base-profile that inc

Re: [Puppet Users] Help unit testing profile with dependency on ntp 5.0 module (module data)

2016-11-02 Thread Rob Nelson
cribe from this group and stop receiving emails from it, send an > email to puppet-users+unsubscr...@googlegroups.com > <javascript:_e(%7B%7D,'cvml','puppet-users%2bunsubscr...@googlegroups.com');> > . > To view this discussion on the web visit https://groups.google.com/d/ > msgid/puppet-use

Re: [Puppet Users] Re: Role vs hiera

2016-10-27 Thread Rob Nelson
I do exactly that with a custom fact called `puppet_role`, which is listed in my hierarchy as `- "puppet_role/%{puppet_role}'​"`. See https://github.com/puppetinabox/controlrepo/blob/production/dist/profile/lib/facter/puppet_role.rb, feel free to copy that if it helps. -- You received this

Re: [Puppet Users] Metaparams break rake tests - how to avoid it ?

2016-10-26 Thread Rob Nelson
I believe what Martin was saying is, try `$stage_name` instead of `$stage` (or similar), because `$stage_name` would not be a reserved word/metaparameter name. Rob Nelson rnels...@gmail.com On Wed, Oct 26, 2016 at 8:35 PM, Jakov Sosic <jso...@gmail.com> wrote: > On 10/22/2016 04:32 P

Re: [Puppet Users] Installing puppet on Ubuntu 16 & RSpec

2016-10-25 Thread Rob Nelson
the agent failure is strictly related, in that the agent should work fine out of the box, but by enumerating your test setup, we may find some variant settings/locations you use that are causing a conflict. Rob Nelson rnels...@gmail.com On Tue, Oct 25, 2016 at 2:03 PM, Peter Berghold <salty.c

Re: [Puppet Users] Role vs hiera

2016-10-25 Thread Rob Nelson
I believe you're asking if there's anything in between hiera classification and creating an ENC? For FOSS, the answer is no. If you purchase Puppet Enterprise, it has its own classifier which you can use as an ENC rather than generating your own. Rob Nelson rnels...@gmail.com On Tue, Oct 25

Re: [Puppet Users] changing content of config file through puppet

2016-10-25 Thread Rob Nelson
Yes, that's what I meant! "ink" was an autocorrect mistake from my phone, no idea specifically what I was trying to convey before the phone mangled it, but we're on the right track now :) Rob Nelson rnels...@gmail.com On Tue, Oct 25, 2016 at 7:47 AM, Chadwick Banning <chadwickbann

Re: [Puppet Users] changing content of config file through puppet

2016-10-24 Thread Rob Nelson
id/puppet-users/5575583d-07eb-4768-a530-00388adf438b%40googlegroups.com?utm_medium=email_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Rob Nelson rnels...@gmail.com -- You received this message because you are subscribed to the Google Group

Re: SOLVED Re: [Puppet Users] Two Facter files seem to conflict

2016-10-22 Thread Rob Nelson
; To view this discussion on the web visit https://groups.google.com/d/ > msgid/puppet-users/e0a376db-83c9-4366-9ddd-318e6e298b36%40googlegroups.com > <https://groups.google.com/d/msgid/puppet-users/e0a376db-83c9-4366-9ddd-318e6e298b36%40googlegroups.com?utm_medium=email_source=footer&g

Re: [Puppet Users] Two Facter files seem to conflict

2016-10-21 Thread Rob Nelson
slice!(0,2) >> else >> server_role.slice!(0,4) >> end >> server_role = server_role[0..-6] >> end >> end >> end >> >> >> -- > You received this message because you are subscribed to the Google Groups >

Re: [Puppet Users] Default profile or role

2016-10-18 Thread Rob Nelson
; . >>> For more options, visit https://groups.google.com/d/optout. >>> >> -- > 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, sen

Re: [Puppet Users] Issue with module from forge - Duplicate declaration Class[Rsyslog]

2016-10-17 Thread Rob Nelson
og::client* (without the quotes). I am not sure if that is a red herring or if it means there is an actual difference in the delivered catalog and how puppet agent evaluates it, though it does seem odd that the ENC output has that slight variation between systems. Rob Nelson rnels...@gmail.com On M

Re: [Puppet Users] Issue with module from forge - Duplicate declaration Class[Rsyslog]

2016-10-13 Thread Rob Nelson
I've worked with saz in the past and believe he would be very receptive to PRs that address this issue, as well, if RG or anyone else wanted to contribute them. That would be one of the better solutions to the problem. Rob Nelson rnels...@gmail.com I think I've given you a pretty good handle

Re: [Puppet Users] puppet 3 to 2016.4

2016-10-12 Thread Rob Nelson
0googlegroups.com?utm_medium=email_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Rob Nelson rnels...@gmail.com -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from

Re: [Puppet Users] Issue with module from forge - Duplicate declaration Class[Rsyslog]

2016-10-07 Thread Rob Nelson
tely cause a conflict - it's easy with PE, for instance, to have the Node Classifier and your puppet manifests on disk have collisions without being obvious. I would look at what the "overlay" provides - whatever the proper term is for it. Rob Nelson rnels...@gmail.com On Fri, Oct 7,

Re: [Puppet Users] Issue with module from forge - Duplicate declaration Class[Rsyslog]

2016-10-06 Thread Rob Nelson
ibe from this group and stop receiving emails from it, send an > email to puppet-users+unsubscr...@googlegroups.com > <javascript:_e(%7B%7D,'cvml','puppet-users%2bunsubscr...@googlegroups.com');> > . > To view this discussion on the web visit https://groups.google.com/d/ > ms

Re: [Puppet Users] Facts and Resource relationships

2016-10-06 Thread Rob Nelson
was created >> > -- > 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 > <jav

Re: [Puppet Users] Issue with module from forge - Duplicate declaration Class[Rsyslog]

2016-10-05 Thread Rob Nelson
()` or `create_resources()` calls whose arguments may include `rsyslog` more than once. Rob Nelson rnels...@gmail.com On Wed, Oct 5, 2016 at 3:16 PM, <re-gl...@wiu.edu> wrote: > I installed the puppet module saz-rsyslog from puppet forge. > I use The Foreman to configure nodes. The Foreman is us

Re: [Puppet Users] R10K in an existing infrastructure OR How to write yourself into a corner.

2016-09-28 Thread Rob Nelson
check in every 30 minutes, though), so it's just a matter of pushing a change to 'master' in that repo and boom, deployed within the hour. On Thursday, September 29, 2016, John Warburton <jwarbur...@gmail.com> wrote: > > On Thursday, 29 September 2016, Rob Nelson <rnels...@gmail.co

Re: [Puppet Users] R10K in an existing infrastructure OR How to write yourself into a corner.

2016-09-28 Thread Rob Nelson
puppet-users@googlegroups.com <javascript:;> [mailto:puppet- > <javascript:;> > > us...@googlegroups.com <javascript:;>] On Behalf Of Rob Nelson > > Sent: Tuesday, September 27, 2016 4:52 PM > > To: puppet-users@googlegroups.com <javascript:;> > > Subject

Re: [Puppet Users] Puppet 3.8 EOL Question

2016-09-28 Thread Rob Nelson
ups.com');> > . > To view this discussion on the web visit https://groups.google.com/d/ > msgid/puppet-users/1d73e7fb-23f1-4d9c-ab1e-387490e90c6e%40me.com > <https://groups.google.com/d/msgid/puppet-users/1d73e7fb-23f1-4d9c-ab1e-387490e90c6e%40me.com?utm_medium=email_source=foot

Re: [Puppet Users] R10K in an existing infrastructure OR How to write yourself into a corner.

2016-09-27 Thread Rob Nelson
own that road. Rob Nelson rnels...@gmail.com On Tue, Sep 27, 2016 at 6:09 PM, Robert Davidson < robert.david...@nominum.com> wrote: > We're still running puppet 3.6.2, and are finally getting around to trying > to implement R10K. For assorted reasons, we have not been able to do th

Re: [Puppet Users] heira debug not working

2016-09-24 Thread Rob Nelson
sA%40mail.gmail.com > <https://groups.google.com/d/msgid/puppet-users/CAKyjK53nAWV6G9RPK7G4OGcV%3DvpEU%3DmQ6TpoA0bGu6ZLp5GXsA%40mail.gmail.com?utm_medium=email_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Rob Nelson rnels...@gmail.com -- Yo

Re: [Puppet Users] Re: How do i set the effective role if there is a subrole

2016-09-21 Thread Rob Nelson
elson0.com/2014/07/14/intro-to-roles-and-profiles-with-puppet-and-hiera/ that may help. Rob Nelson rnels...@gmail.com On Wed, Sep 21, 2016 at 3:22 PM, Ivan Arjune <iarj...@gmail.com> wrote: > Are subroles implemented as a conditional statement within the profile > manifest?

Re: [Puppet Users] Puppetfile git url representation

2016-09-21 Thread Rob Nelson
ight > be useful to someone sometime down the road, especially as this behavior > (IMHO) violates the principle of least astonishment. > > --jtc > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > T

Re: [Puppet Users] Smoke testing puppet modules within Red Hat Satellite v6.2 Puppet Master

2016-09-21 Thread Rob Nelson
/manifests/init.pp to contain the module2 class. That's my first guess, but it could be that you obfuscated your paths and did not call it module_name2 on disk but mas_shared_mas_menu as the error indicated, difficult to tell from here. Let us know if that helps! Rob Nelson On Wednesday, September

Re: [Puppet Users] Order of removal of resources

2016-09-21 Thread Rob Nelson
ps://groups.google.com/d/msgid/puppet-users/dc9d3590-bdec-4b0b-b360-20afcd97f15f%40googlegroups.com?utm_medium=email_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Rob Nelson rnels...@gmail.com -- You received this message because you are sub

Re: [Puppet Users] Best way to set variables based on packages installed on client?

2016-09-15 Thread Rob Nelson
://tickets.puppetlabs.com/browse/FACT-348 and the RFC for a facter.conf file that includes TTL/caching, since that would be a pretty heavyweight fact to generate. Glad you found a solution. That sounds like a hairy problem in general! Rob Nelson rnels...@gmail.com On Thu, Sep 15, 2016 at 8:53 AM, HPUX_PUPPET

Re: [Puppet Users] Best way to set variables based on packages installed on client?

2016-09-14 Thread Rob Nelson
nse? Rob Nelson rnels...@gmail.com On Wed, Sep 14, 2016 at 9:32 AM, HPUX_PUPPET <dride...@gmail.com> wrote: > Thanks Rob! > > I am sort of "starting fresh" so I have a lot of latitude here. The way it > was done before was shoddy and required a lot of files, so I am trying

Re: [Puppet Users] Best way to set variables based on packages installed on client?

2016-09-13 Thread Rob Nelson
contents => template('profile/pam/additional.conf.erb'), } This would install the package 'pam-additional-module', then install a configuration file for it based on an ERB template. Just an example you can adapt. I hope that helps! Rob Nelson rnels...@gmail.com On Tue, Sep 13, 2016 at 2:

Re: [Puppet Users] roles/profiles in the state of the art

2016-09-07 Thread Rob Nelson
up and stop receiving emails from it, send an > email to puppet-users+unsubscr...@googlegroups.com <javascript:;>. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/puppet-users/20160907143523.gfbu22cz37iyl4qw%40pcjas.obspm.fr. > For more options, visit http

Re: [Puppet Users] mysql package name

2016-08-29 Thread Rob Nelson
Yes, you can see where the mysql module from Puppet does that, starting on this line: https://github.com/puppetlabs/puppetlabs-mysql/blob/master/manifests/params.pp#L58 Rob Nelson rnels...@gmail.com On Mon, Aug 29, 2016 at 3:46 PM, Suresh Rajagopal <sures...@gmail.com> wrote: &g

Re: [Puppet Users] mysql package name

2016-08-29 Thread Rob Nelson
https://groups.google.com/d/ > msgid/puppet-users/148610e9-6fb8-ba33-0348-5af4b6c0ed6f%40alter3d.ca > <https://groups.google.com/d/msgid/puppet-users/148610e9-6fb8-ba33-0348-5af4b6c0ed6f%40alter3d.ca?utm_medium=email_source=footer> > . > For more options, visit https://groups.g

Re: [Puppet Users] How to handle predictable network interface names

2016-08-25 Thread Rob Nelson
since the "slot" ends up being the same on the virtual hardware. Rob Nelson rnels...@gmail.com On Thu, Aug 25, 2016 at 8:30 AM, Marc Haber <mh+puppet-us...@zugschlus.de> wrote: > Hi Rob, > > On Wed, Aug 24, 2016 at 10:30:20AM -0400, Rob Nelson wrote: > > We us

Re: [Puppet Users] How to handle predictable network interface names

2016-08-24 Thread Rob Nelson
of internal network architecture ;-) > -- Rob Nelson rnels...@gmail.com -- 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...@

Re: [Puppet Users] How to handle predictable network interface names

2016-08-24 Thread Rob Nelson
ano.com/?p=108 or http://amolkg.blogspot.in/2015/05/centos-7-change-network-interface-name.html - though there are multiple ways to do it even then. Rob Nelson rnels...@gmail.com On Wed, Aug 24, 2016 at 9:55 AM, Marc Haber <mh+puppet-us...@zugschlus.de> wrote: > Hi, > > I

Re: [Puppet Users] Re: Puppet control, Hiera data, puppetfile, and r10k and git merging woes

2016-08-22 Thread Rob Nelson
a tier in hiera where we can provide different values to the regular and dev versions. We mostly rely on the hiera tier for data because then there's less manual or even orchestration effort to test on those nodes, except when we want a run immediately. Rob Nelson rnels...@gmail.com On Mon, Aug 22

Re: [Puppet Users] Re: Puppet control, Hiera data, puppetfile, and r10k and git merging woes

2016-08-22 Thread Rob Nelson
Delivery as these are subjects far too deep and wide to properly cover here in the detail they require. Rob Nelson rnels...@gmail.com On Sun, Aug 21, 2016 at 11:20 PM, Alex Samad <a...@samad.com.au> wrote: > On 21 August 2016 at 11:04, Chadwick Banning <chadwickbann...@gmail.com> >

Re: [Puppet Users] puppet-lint 2.0.1 is released

2016-08-18 Thread Rob Nelson
Ramin, No worries, it's a legitimate complaint. Puppet-lint 2.0.2 was just released which reverted that issue. We're back to the original problem in #504 but it's not worse than it was in 2.0.0 at least. Rob Nelson rnels...@gmail.com On Thu, Aug 18, 2016 at 9:56 PM, Ramin K <rami

Re: [Puppet Users] Puppet control, Hiera data, puppetfile, and r10k and git merging woes

2016-08-18 Thread Rob Nelson
e branches is sounding good. > > But im keen to see what comes out of this. > > > On Friday, 19 August 2016 02:24:58 UTC+10, Rob Nelson wrote: >> >> The term 'environment' is overloaded. In the context of puppet, I prefer >> to think of it as "a set of puppet c

[Puppet Users] puppet-lint 2.0.1 is released

2016-08-18 Thread Rob Nelson
months. Thank you for all your contributions to it over the years! https://rubygems.org/gems/puppet-lint https://github.com/rodjek/puppet-lint/blob/master/CHANGELOG.md Rob Nelson rnels...@gmail.com -- You received this message because you are subscribed to the Google Groups "Puppet Users&q

Re: [Puppet Users] Puppet control, Hiera data, puppetfile, and r10k and git merging woes

2016-08-18 Thread Rob Nelson
ing/Summer. Does anyone have a good reference article for this already, or do we need to come up with one? I think this is an important gap to fill. Rob Nelson rnels...@gmail.com On Thu, Aug 18, 2016 at 12:07 PM, Mike Sharpton <sharpt...@gmail.com> wrote: > The static branches are

Re: [Puppet Users] Puppet control, Hiera data, puppetfile, and r10k and git merging woes

2016-08-18 Thread Rob Nelson
gt; a6e4-4d04-b0b3-377b848a8504%40googlegroups.com. >> >For more options, visit [3]https://groups.google.com/d/optout. >> > >> >> >> -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To unsubs

Re: [Puppet Users] Can I include hieradata in my puppet repo?

2016-08-16 Thread Rob Nelson
Including hieradata in your controlrepo is a common practice recommended now by Puppet. See http://garylarizza.com/blog/2015/11/16/workflows-evolved-even-besterer-practices/ for an explanation of why and https://github.com/puppetlabs/control-repo for an example layout. Rob Nelson rnels

Re: [Puppet Users] module design: different module sections manipulating files in single directory

2016-08-15 Thread Rob Nelson
sts/base.pp#L29-L38). That code is dated and needs a little improvement (stop using `create_resources()`!) but should get you started quickly. I'm sure there's an equivalent for Apt. Rob Nelson rnels...@gmail.com On Mon, Aug 15, 2016 at 4:19 PM, Dan Mahoney <goo...@gushi.org> wrote: > On

Re: [Puppet Users] managing vmware-tools with puppet

2016-08-11 Thread Rob Nelson
> they show up in VC as 3rd party... I will check out the KB. > > > Thanks > Alex > > On 11 August 2016 at 22:03, Rob Nelson <rnels...@gmail.com <javascript:;>> > wrote: > > This. open-vm-tools upgrades seamlessly if you upgrade your kernel, the > > offi

Re: [Puppet Users] managing vmware-tools with puppet

2016-08-11 Thread Rob Nelson
B%7D,'cvml','d_e_wh...@icloud.com');> > > “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) > > > On Aug 11, 2016, at 08:03 AM, Rob Nel

Re: [Puppet Users] managing vmware-tools with puppet

2016-08-11 Thread Rob Nelson
to remediate your findings, like VUM. Rob Nelson rnels...@gmail.com On Thu, Aug 11, 2016 at 7:00 AM, Dan White <d_e_wh...@icloud.com> wrote: > Did you know that VMWare encourages the use of the open-vm-tools ? > You might want to reconsider. > > Dan White | d_

Re: [Puppet Users] Re: Service entry for puppet agents not working

2016-08-09 Thread Rob Nelson
nd tricky to debug, but I think it's best to determine if it's an issue at all before banging your head against that wall. Just grasping at straws here, admittedly. Rob Nelson rnels...@gmail.com -- You received this message because you are subscribed to the Google Groups "Puppet Users&q

Re: [Puppet Users] exec not working in manifest with powershell commmand

2016-08-09 Thread Rob Nelson
Can you share the logs from your puppet run showing the error(s) received? Also, you may want to look at the module https://forge.puppet.com/puppet/iis, which may either handle this already, or be a good example of code you can build on if the feature is not present. Rob Nelson rnels

Re: [Puppet Users] Re: Service entry for puppet agents not working

2016-08-08 Thread Rob Nelson
ation was the same as what the service file expected, rather than to hardcode it to the correct value, in case it changed in the future. Rob Nelson rnels...@gmail.com -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from t

Re: [Puppet Users] puppetserver custom mount Error 400

2016-08-07 Thread Rob Nelson
nore"} > > -- > 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 > <javascript:_e(%7B%

Re: [Puppet Users] Puppet web server stops after being started

2016-07-29 Thread Rob Nelson
/puppetserver/latest/install_from_packages.html#system-requirements if that seems a likely cause. Rob Nelson rnels...@gmail.com On Fri, Jul 29, 2016 at 12:18 PM, 'Michael Wildey' via Puppet Users < puppet-users@googlegroups.com> wrote: > I installed an puppetserver just like ist is written in t

Re: [Puppet Users] Recommended/Suggested R10k Deployment Strategy

2016-07-27 Thread Rob Nelson
I don't do any central modules, but everything in an environment modulepath. That way there's no confusion about what module may be loaded. It also keeps the configuration as simple as can be, no environment is special in any way. Rob Nelson rnels...@gmail.com On Wed, Jul 27, 2016 at 10:06 AM

Re: [Puppet Users] Basic question

2016-07-21 Thread Rob Nelson
; https://groups.google.com/d/msgid/puppet-users/CAJdJdQm8h_NaqqodD8-3%3D%2BA713EVrRYm%2Bh4B5MVpW36V35jyzQ%40mail.gmail.com > <https://groups.google.com/d/msgid/puppet-users/CAJdJdQm8h_NaqqodD8-3%3D%2BA713EVrRYm%2Bh4B5MVpW36V35jyzQ%40mail.gmail.com?utm_medium=email_source=footer> > . &g

Re: [Puppet Users] Hiera Lookups Fail with variables

2016-07-19 Thread Rob Nelson
> /opt/local/modules/hieradata/common.yaml, skipping >>>> DEBUG: 2016-07-18 20:49:30 -0400: Looking for data source puppet_test >>>> DEBUG: 2016-07-18 20:49:30 -0400: Cannot find datafile >>>> /opt/local/modules/hieradata/puppet_test.yaml, skipping >>>> nil

Re: [Puppet Users] Hiera Lookups Fail with variables

2016-07-19 Thread Rob Nelson
That is correct, when those values are not found, hiera doesn't search those tiers at all. The debug information could be more helpful about it, though. Rob Nelson rnels...@gmail.com On Tue, Jul 19, 2016 at 1:27 PM, Gavin Williams <fatmc...@gmail.com> wrote: > John > > I'm p

Re: [Puppet Users] Hiera Lookups Fail with variables

2016-07-19 Thread Rob Nelson
s/34a20f55-02a2-49c7-88d2-28885636dab2%40googlegroups.com > <https://groups.google.com/d/msgid/puppet-users/34a20f55-02a2-49c7-88d2-28885636dab2%40googlegroups.com?utm_medium=email_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Rob Nelson rnels.

Re: [Puppet Users] Puppet module and Hiera variable access

2016-07-18 Thread Rob Nelson
which gets into details of default values and whatnot as well. Rob Nelson rnels...@gmail.com On Mon, Jul 18, 2016 at 2:54 PM, Tobias Köck <tobias.ko...@gmail.com> wrote: > Hi, > > for testing Hiera a have written a common.yaml with > > qmonitoring::db::icinga2_ido_passwo

Re: [Puppet Users] Changing parameters for default/global classes inside a role

2016-07-17 Thread Rob Nelson
@googlegroups.com > <javascript:_e(%7B%7D,'cvml','puppet-users%2bunsubscr...@googlegroups.com');> > . > To view this discussion on the web visit > https://groups.google.com/d/msgid/puppet-users/329bc309-4780-4a6c-9bd6-15b9f8b0827c%40googlegroups.com > <https://groups.

Re: [Puppet Users] LDAP Service failed to start: Difference between interactive shell commands and puppet commands

2016-07-15 Thread Rob Nelson
, rather than execs, as you can see how fragile an difficult to debug they can be. Rob Nelson rnels...@gmail.com On Fri, Jul 15, 2016 at 6:20 AM, gogan <hohmann.bl...@gmail.com> wrote: > I want to replace some files from an archive. > > > I'm running following commands successfu

Re: [Puppet Users] Dependacies with Custom Types

2016-07-13 Thread Rob Nelson
I second this motion, that was a great explanation. I'd love to see that documented well and maybe in a git repo with a 'bad' and 'good' branch to better examine the differences, if at all possible! Rob Nelson rnels...@gmail.com On Wed, Jul 13, 2016 at 8:51 AM, jcbollinger <john.bol

Re: [Puppet Users] Custom facts are updated in the next execution of "puppet agent --test"

2016-07-12 Thread Rob Nelson
> https://groups.google.com/d/msgid/puppet-users/060a4391-03a0-4074-b322-72a7784fcab0%40googlegroups.com > <https://groups.google.com/d/msgid/puppet-users/060a4391-03a0-4074-b322-72a7784fcab0%40googlegroups.com?utm_medium=email_source=footer> > . > For more options, visit https://g

Re: [Puppet Users] Dependacies with Custom Types

2016-07-11 Thread Rob Nelson
s://groups.google.com/d/msgid/puppet-users/845debad-5c81-41b8-b3c9-a1a1405ef3b5%40googlegroups.com > <https://groups.google.com/d/msgid/puppet-users/845debad-5c81-41b8-b3c9-a1a1405ef3b5%40googlegroups.com?utm_medium=email_source=footer> > . > For more options, visit https://gr

Re: [Puppet Users] R10k Post Recieve Hook Git/Github

2016-06-30 Thread Rob Nelson
. Rob Nelson rnels...@gmail.com On Thu, Jun 30, 2016 at 1:50 PM, broncosd183 <saig...@gmail.com> wrote: > Hello, > > I am currently using the open source version of puppet and am looking to > automate the deployment of environments whenever a change is pushed to the > con

Re: [Puppet Users] Working with hiera and debugging

2016-06-26 Thread Rob Nelson
t-users+unsubscr...@googlegroups.com <javascript:;>. > > To view this discussion on the web visit > > > https://groups.google.com/d/msgid/puppet-users/a7bb4a4b-d61b-4db0-bdff-57030d75cb51%40googlegroups.com > . > > For more options, visit https://groups.google.com/d/optout

Re: [Puppet Users] external node classifier my setup

2016-06-24 Thread Rob Nelson
nstall yet, and I think if you set something up in vagrant or a lab, some of the concepts would become clear a lot quicker than when we discuss them in the abstract. -- Rob Nelson rnels...@gmail.com -- You received this message because you are subscribed to the Google Groups "Puppet Users

Re: [Puppet Users] external node classifier my setup

2016-06-23 Thread Rob Nelson
bscribe. > > To unsubscribe from this group and all its topics, send an email to > > puppet-users+unsubscr...@googlegroups.com <javascript:;>. > > To view this discussion on the web visit > > > https://groups.google.com/d/msgid/puppet-users/df3051e0-c516-4e17-8835-9e

Re: [Puppet Users] Newbie question re Hiera

2016-06-21 Thread Rob Nelson
-7dbeb281784c%40googlegroups.com?utm_medium=email_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Rob Nelson rnels...@gmail.com -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubsc

Re: [Puppet Users] Removing unmanaged path /etc/puppetlabs/code/environments/ - r10k

2016-06-17 Thread Rob Nelson
stepping all over it. Rob Nelson rnels...@gmail.com On Fri, Jun 17, 2016 at 4:56 PM, Ali <ali.janjua...@gmail.com> wrote: > > r10k deployment is failing, if my repo paths has "modules" in it . if > I change modules to any other word or even module it works fine . In

Re: [Puppet Users] Issue copying files if package exists

2016-06-13 Thread Rob Nelson
a workaround, but you're losing out on the strengths of the CM tool you have chosen. Rob Nelson rnels...@gmail.com On Mon, Jun 13, 2016 at 9:44 AM, Helmut Schneider <jumpe...@gmx.de> wrote: > Craig Dunn wrote: > > > Given the above, what are you trying to achieve? Are y

Re: [Puppet Users] Issue copying files if package exists

2016-06-12 Thread Rob Nelson
ed 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 <javascript:;>. > To view this discussion on the web

Re: [Puppet Users] Trouble creating a release RPM from puppetlabs/puppet source repo

2016-06-09 Thread Rob Nelson
Eric Sidebar question I've always had. There's the puppet gem that is commonly used for rspec-puppet. Could that gem (plus its deps, facter, hiera, etc.) suffice for some or all use cases? Rob Nelson rnels...@gmail.com On Thu, Jun 9, 2016 at 3:55 PM, Eric Sorenson <eric.soren...@puppet.

Re: [Puppet Users] Puppet 4.5 and git & R10K

2016-06-08 Thread Rob Nelson
/modules puppet module install --modulepath=/root/bootstrap/modules zack/r10k --version 3.2.0 puppet apply --modulepath=/root/bootstrap/modules r10k_installation.pp r10k deploy environment -p Since I don't know where the files move around from version to version, I let zack/r10k worry about that for me :)

Re: [Puppet Users] Trouble creating a release RPM from puppetlabs/puppet source repo

2016-06-08 Thread Rob Nelson
I believe most reason for concern with AIO is that it installs a separate version of ruby, openssl, and other applications and libraries on your system. These need upgrading, just like your system apps/libs, and Puppet may both expose you to different vulnerabilities, since their versions are

Re: [Puppet Users] Run Puppet Class only once

2016-06-07 Thread Rob Nelson
types that are better suited to your needs. Rob Nelson rnels...@gmail.com On Tue, Jun 7, 2016 at 4:21 AM, Christoph <christoph.adom...@gatworks.de> wrote: > Hi there, > > I want to run a whole puppet class only once when provisioning a system > for the first time. >

Re: [Puppet Users] how to escape %{ in hiera

2016-06-06 Thread Rob Nelson
urce=footer > >3. https://groups.google.com/d/optout > > -- > 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...@goog

Re: [Puppet Users] How to get modules recognized for use during classification

2016-06-01 Thread Rob Nelson
e(%7B%7D,'cvml','puppet-users%2bunsubscr...@googlegroups.com');> >> . >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/puppet-users/CAJdJdQkRpt8avZU98wdU5QpXeuNiBXz-e6jfcPTRQ3n8v51DQA%40mail.gmail.com >> <https://groups.google.com/d/msg

Re: [Puppet Users] Trying to understand hiera and use in site.pp

2016-06-01 Thread Rob Nelson
"Works" in this case would mean that when you set ntp::service_enable: false, on the next puppet run, the service would be disabled. If that's the case, hiera is working and any errors are likely to do with typos or yaml formatting issues with the other settings. Rob Nelson rnels...

Re: [Puppet Users] Trying to understand hiera and use in site.pp

2016-06-01 Thread Rob Nelson
could try running puppet against it as is, then turn one of the service_* values to false/stopped and you should see the state change. If it changes from running to stopped, and back again if you revert the changes, you know things are working. If not, it gets you closer to the issue. Rob Nelson

Re: [Puppet Users] Re-issuing agent certs from a newer Puppet Master

2016-06-01 Thread Rob Nelson
If you run `puppet agent -t [--server ]` and there is a mismatch, it should provide directions to remedy the situation. In your case, wiping out the ssldir on the client should suffice. Rob Nelson rnels...@gmail.com On Wed, Jun 1, 2016 at 12:39 PM, warron.french <warron.fre...@gmail.com>

Re: [Puppet Users] Puppet 4.5 and git & R10K

2016-05-31 Thread Rob Nelson
to a topic in the > >> Google Groups "Puppet Users" group. > >> To unsubscribe from this topic, visit > >> https://groups.google.com/d/topic/puppet-users/836ysw94ya4/unsubscribe. > >> To unsubscribe from this group and all its topics, send an email to

Re: [Puppet Users] Puppet and SVN

2016-05-31 Thread Rob Nelson
attest to! On Tuesday, May 31, 2016, Alex Samad <a...@samad.com.au> wrote: > Thanks. I did get onto the code control section which seems to > suggest I should use it instead of git/r10k as it hids this away > behind the scene ! > > > > On 31 May 2016 at 22:36, Rob

Re: [Puppet Users] Puppet and SVN

2016-05-31 Thread Rob Nelson
hiera and r10k. Whether you place those in your controlrepo or another repo is up to you. Rob Nelson rnels...@gmail.com On Tue, May 31, 2016 at 1:01 AM, Alex Samad <a...@samad.com.au> wrote: > Hi > > > Finally got some time to look at this > > > On 24 May 2016

Re: [Puppet Users] Puppet 4.5 and git & R10K

2016-05-31 Thread Rob Nelson
file will be created in the correct location for you. Rob Nelson rnels...@gmail.com On Tue, May 31, 2016 at 2:40 AM, Alex Samad <a...@samad.com.au> wrote: > Hi > > New install, I am doing this on Centos 6.x > I have installed the repo RPM > > I believe this is PC1 repo

Re: [Puppet Users] Multiple resource bodies?

2016-05-30 Thread Rob Nelson
. If you have received this email > in error, please notify the sender immediately by return email, and delete > it. Thank you! > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To unsubscribe from this group and stop

Re: [Puppet Users] How to deliberately cause modules to conflict?

2016-05-28 Thread Rob Nelson
installs dma by > default, but parameterize it such that postfix is another option. Are > there any other ways? > > -Dan > > -- > > Dan Mahoney > Techie, Sysadmin, WebGeek > Gushi on efnet/undernet IRC > ICQ: 13735144 AIM: LarpGM > Site

Re: [Puppet Users] 3.8.5 Master with 3.7.2 Agents

2016-05-27 Thread Rob Nelson
cussion on the web visit > https://groups.google.com/d/msgid/puppet-users/a19fc9f0-8636-489e-bf8a-aaeec46040ab%40googlegroups.com > <https://groups.google.com/d/msgid/puppet-users/a19fc9f0-8636-489e-bf8a-aaeec46040ab%40googlegroups.com?utm_medium=email_source=footer> > . > For mor

Re: [Puppet Users] Puppet and SVN

2016-05-26 Thread Rob Nelson
sume the module firewall is from the forge > https://github.com/puppetlabs/puppetlabs-firewall this one ? > > I notice you have your modules / code on github aren't you concerned > about having it in a public place ? > > A > > On 26 May 2016 at 11:01, Rob Nelson <rnels...@gma

Re: [Puppet Users] Puppet and SVN

2016-05-25 Thread Rob Nelson
ile to server A it would get the basic firewall. > > The next step is if I had profile "app A" > if it had something like > rules to add to from anywhere > allow inbound port 80 > allow inbound port 443 > > rules to add to only from local network > allow inb

<    1   2   3   >