Re: [Puppet Users] puppet cert clean cleaning over and over

2018-05-16 Thread Marc Haber
/ca/inventory.txt > > See > https://ask.puppet.com/question/25818/how-to-manage-size-of-inventorytxt/ > for a discussion about cleaning it up, but essentially - delete your test > host entries here > > John -- ----

[Puppet Users] puppet cert clean cleaning over and over

2018-04-22 Thread Marc Haber
up the puppet CA so that puppet cert clean doesn't try revoking certificates that do no longer exist at all? There is no file matching the FQDN in /var/lib/puppet/ssl at all. Greetings Marc -- ----- Marc Haber |

Re: [Puppet Users] Influence hiera file selection from within hiera

2016-09-07 Thread Marc Haber
Hi Dirk, On Wed, Sep 07, 2016 at 02:00:46PM +0200, Dirk Heinrichs wrote: > Am 07.09.2016 um 13:50 schrieb Marc Haber: > > I would like to be able to influence which files hiera reads from with > > in hiera. > > You can use facts in :datadir:, like for example: > >

[Puppet Users] Influence hiera file selection from within hiera

2016-09-07 Thread Marc Haber
s fully expanded. This sounds logical, but am I reasoning correctly? Assuming that I am right, is there a way to achieve a similar result? Assuming that I am wrong, why does it not work? Any hints will be appreciated. Greetings Marc -- ---

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

2016-08-27 Thread Marc Haber
Resources > or Class (has zero or more) -> > Resources > or Resource That's the way it's in the books. What I'd like to see clarified (and explained why) is that this tree should have "and nothing else" spelled out in multiple pl

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

2016-08-26 Thread Marc Haber
On Thu, Aug 25, 2016 at 08:08:13AM -0700, Luke Bigum wrote: > On Thursday, 25 August 2016 13:21:24 UTC+1, Marc Haber wrote: > > On Wed, Aug 24, 2016 at 08:36:49AM -0700, Luke Bigum wrote: > > > Here we have very strict control over our hardware and what interface > > go

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

2016-08-26 Thread Marc Haber
On Thu, Aug 25, 2016 at 09:00:46AM -0700, Luke Bigum wrote: > On Thursday, 25 August 2016 13:31:17 UTC+1, Marc Haber wrote: > > So the "database" machine wouldn't have an entry in > > networking::interfaces at all, or could one define, for example, the > >

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

2016-08-25 Thread Marc Haber
ave an entry in networking::interfaces at all, or could one define, for example, the management interface in networking::interfaces and the database interfaces in the machine-specific hiera tree? Greetings Marc -- - Marc

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

2016-08-25 Thread Marc Haber
n't do that". I don't have any evidence-based arguments for that though. Greetings Marc -- - Marc Haber | "I don't trust Computers. They | Mailadresse im Header Leimen, Germany| lose things."Winona Ryder | Fon: *49 6

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

2016-08-25 Thread Marc Haber
as other > people. It's not a 5 minute job though so if/when it's done, I'll write a > new Group post instead of continuing to hijack this one :-) Thanks in advance! Greetings Marc -- ----- Marc Haber

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

2016-08-25 Thread Marc Haber
27;, > dport => '443', > } > } > > That very simple firewall profile probably already works on your HP > hardware, and on your Dell hardware you'd need to override the 3 parameters > in Hiera: > > profile::some_firewall::internal_interface_name: '

[Puppet Users] How to handle predictable network interface names

2016-08-24 Thread Marc Haber
ting udev rules to fix the network names (and assign names like ext1, int1, per1) already in postinst of the OS does not work since we don't know how the machine is going to be wired and even used. Any ideas? How do _you_ do this? Greetings Marc -- ---

Re: [Puppet Users] How to access $facts['os'] in a manifest

2016-06-03 Thread Marc Haber
ts turned the wrong way here. Thanks for helping. Greetings Marc -- ----- Marc Haber | "I don't trust Computers. They | Mailadresse im Header Leimen, Germany| lose things."Winona Ryder | Fon: *49 6224 1600402 Nordisch by Nature

Re: [Puppet Users] How to access $facts['os'] in a manifest

2016-06-02 Thread Marc Haber
On Thu, Jun 02, 2016 at 03:41:35PM +0200, Henrik Lindberg wrote: > On 02/06/16 14:58, Marc Haber wrote: > >On Thu, Jun 02, 2016 at 02:42:17PM +0200, Henrik Lindberg wrote: > >>On 02/06/16 09:22, Marc Haber wrote: > >>>On Wed, Jun 01, 2016 at 05:34:59PM +0200, Henr

Re: [Puppet Users] How to access $facts['os'] in a manifest

2016-06-02 Thread Marc Haber
Hi, thanks for your answers. They're helpful. On Thu, Jun 02, 2016 at 02:42:17PM +0200, Henrik Lindberg wrote: > On 02/06/16 09:22, Marc Haber wrote: > >On Wed, Jun 01, 2016 at 05:34:59PM +0200, Henrik Lindberg wrote: > >>First check what you get in puppet with a simple ma

Re: [Puppet Users] How to access $facts['os'] in a manifest

2016-06-02 Thread Marc Haber
t;=>"val2"}' Notice: Finished catalog run in 0.71 seconds $ sudo puppet apply -e '$mystring="{\"key1\"=>\"val1\", \"key2\"=>\"val2\"}" notify{"foo ${mystring}":}' Notice: Compiled catalog for host in environment

[Puppet Users] How to access $facts['os'] in a manifest

2016-06-01 Thread Marc Haber
tOS Linux release 7.2.1511 (Core) ", "release"=>":core-4.1-amd64:core-4.1-noarch", "distrelease"=>"7.2.1511", "majdistrelease"=>"7", "minordistrelease"=>"2"}} osfamily => RedHat When building the catalo

[Puppet Users] puppet-4-able agent for RHEL7 on ppc64?

2015-09-24 Thread Marc Haber
puppetserver src.rpms. What can I do to be able to use puppet 4 with my ppc64 LPAR systems? Greetings Marc -- - Marc Haber | "I don't trust Computers. They | Mailadresse im Header Leimen, Germany| l

Re: [Puppet Users] How to create a directory if that path does not yet exist?

2012-10-03 Thread Marc Haber
will be easier to understand than the other options you mentioned. Greetings Marc -- ----- Marc Haber | "I don't trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things."Wi

[Puppet Users] Re: How to recursively ship files while keeping their modes

2012-10-01 Thread Marc Haber
whether your hint worked when I have built a new one. Greetings Marc [1] and, it being a test system, it was of course not backed up [2] and I cannot try that in the live puppet due to team rules -- ----- Marc Haber

[Puppet Users] How to create a directory if that path does not yet exist?

2012-09-28 Thread Marc Haber
an exec? Greetings Marc -- ----- Marc Haber | "I don't trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things."Winona Ryder | Fon: *49 621 31958061 Nordisch by Nature | How

[Puppet Users] How to recursively ship files while keeping their modes

2012-09-12 Thread Marc Haber
/etc/foo/conf.d directory on the Master? Greetings Marc -- ----- Marc Haber | "I don't trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things."Winona Ryder | Fon: *49 621 31958061 Nordisch by Nature | How to make an American Quilt | Fax: *49 621 31958062

Re: [Puppet Users] How to subscribe to an exported resource?

2012-09-04 Thread Marc Haber
On Thu, Aug 16, 2012 at 01:27:04PM +0200, Marc Haber wrote: > On Wed, Aug 15, 2012 at 08:34:03PM +0200, Marc Haber wrote: > > On Tue, Aug 14, 2012 at 07:58:21PM +0100, Stephen Gran wrote: > > > The classic is: > > > https://github.com/ripienaar/puppet-concat > > &

Re: [Puppet Users] How to subscribe to an exported resource?

2012-08-16 Thread Marc Haber
On Wed, Aug 15, 2012 at 08:34:03PM +0200, Marc Haber wrote: > On Tue, Aug 14, 2012 at 07:58:21PM +0100, Stephen Gran wrote: > > The classic is: > > https://github.com/ripienaar/puppet-concat > > So that is a module that would need to be compiled and installed (on > th

Re: [Puppet Users] Re: How to subscribe to an exported resource?

2012-08-15 Thread Marc Haber
On Wed, Aug 15, 2012 at 06:43:18AM -0700, jcbollinger wrote: > On Tuesday, August 14, 2012 6:27:36 AM UTC-5, Marc Haber wrote: > > I would, however, prefer to have the exec subscribed to the File > > instead of notifying the exec from the File. > > Why? Personal style, fits

Re: [Puppet Users] How to subscribe to an exported resource?

2012-08-15 Thread Marc Haber
s Marc -- - Marc Haber | "I don't trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things."Winona Ryder | Fon: *49 621 31958061 Nordisch by Nature | How to make an American Quilt | Fax: *49 621 31958062

[Puppet Users] How to subscribe to an exported resource?

2012-08-14 Thread Marc Haber
lt;| tag == 'foo' |>>, } } which doesn't compile. How can I refer to the File in my exec? That being said, is there a way to do things more elegantly? I understand that I need to create one file by node of class C, or is there a way to have the exported resources all