Ask Your Question

Kai Burghardt's profile - activity

2018-12-25 16:13:54 -0600 received badge  Famous Question (source)
2018-12-25 14:16:43 -0600 commented answer Is there a way to automatically startup Puppet Discovery on reboot? And if so how would one do that?

Yeah, sure. No. I disagree with the statement my answers were unhelpful.

2018-12-25 14:16:16 -0600 commented answer Is there a way to automatically startup Puppet Discovery on reboot? And if so how would one do that?

Yeah, sure. No. I disagree my answers being unhelpful.

2018-12-25 14:15:25 -0600 commented answer Is there a way to automatically startup Puppet Discovery on reboot? And if so how would one do that?

Yeah, sure. No. I disagree.

2018-12-25 08:40:48 -0600 answered a question Is there a way to automatically startup Puppet Discovery on reboot? And if so how would one do that?

Yes, there (potentially) is.

2018-12-23 14:07:24 -0600 answered a question Is the Puppet Discovery API documented anywhere? And if so, where is it located?

Yes, it is.

2018-12-21 11:33:26 -0600 answered a question Notify an ordered of resources

You do not “call” resources. Resources are _applied_, but not executed or anything like that. With the require and noti

2018-12-16 09:51:55 -0600 answered a question Puppet exec

Yes, there is.

2018-12-15 06:41:59 -0600 answered a question Stop service using PQL

You can't. Puppet query language is a mere query language. You can query data, but cannot manipulate any. The action, w

2018-12-08 17:25:39 -0600 commented answer Generate function on centos 7.x calling scripts. Commands having 'cat /dev/uradom' are not terminated. Why?

Your random string function containing cat /dev/urandom _does_ terminate on your CentOS system? When it's manually invok

2018-12-03 20:41:04 -0600 received badge  Popular Question (source)
2018-12-03 20:41:04 -0600 received badge  Notable Question (source)
2018-11-28 07:29:59 -0600 commented question examples in one line

This looks like troubles with line endings.

2018-11-26 14:22:54 -0600 commented answer cron file not created under /etc/cron.d

Yeah, you can use a regular file resource.

2018-11-26 14:22:39 -0600 commented answer cron file not created under /etc/cron.d

Yeah, you can use a regular file resource.

2018-11-26 14:21:56 -0600 commented answer cron file not created under /etc/cron.d

Yeah, you can use a regular file resource.

2018-11-21 15:56:56 -0600 answered a question cron file not created under /etc/cron.d

Your cronjob appears in the global crontab(5) usually located at /etc/crontab. No files are created by Puppet below /etc

2018-11-18 15:51:12 -0600 answered a question Does the exec creates attribute support multiple entries in an array style?

No. The creates attribute documentation does not explain any behavior, when an array was supplied. Ergo, no, it is not s

2018-11-16 15:53:13 -0600 commented answer Generate function on centos 7.x calling scripts. Commands having 'cat /dev/uradom' are not terminated. Why?

However, I suspect your Linux instance that is been installed via the CentOS 7.x distribution, uses an earlier Linux ker

2018-11-16 14:18:42 -0600 commented answer Generate function on centos 7.x calling scripts. Commands having 'cat /dev/uradom' are not terminated. Why?

However, I suspect your Linux instance that is been installed via the CentOS 7.x distribution, uses an earlier Linux ker

2018-11-16 14:16:37 -0600 commented answer Generate function on centos 7.x calling scripts. Commands having 'cat /dev/uradom' are not terminated. Why?

No, it's why cat(1) terminated. The 32MB limit. cat(1) stops reading a file, when it reaches EOF. Since /dev/urandom is

2018-11-15 09:41:13 -0600 answered a question Generate function on centos 7.x calling scripts. Commands having 'cat /dev/uradom' are not terminated. Why?

A possible cause can be considered from urandom(4): Since Linux 3.16, a read(2) from /dev/urandom will return at mos

2018-11-01 06:40:27 -0600 commented answer Puppet - regular expression question

The initial and terminating slashes mark regular expression literals. It is like the delimiting single (or double) quote

2018-10-31 12:05:36 -0600 answered a question data types and resource declarations/references

Only functions _return_ a value. Expressions _evaluate_ or _resolve_ to a value. Where have you read Data being a super

2018-10-31 10:43:09 -0600 answered a question Puppet - regular expression question

Where are your strings? If it's just one variable, you can pattern match: if $mystring =~ /md/ { exec { 'foo': ..

2018-10-31 10:30:02 -0600 commented answer file_line with noop mode

But it's consistent. I don't wanna manipulate stdlib/lib/puppet/provider/file_line/ruby.rb in order to support noop.

2018-10-31 07:43:50 -0600 answered a question file_line with noop mode

For modules published by Puppet Inc. you can search file_line noop in tickets.puppet.com on your own. You'll see this is

2018-10-30 06:21:01 -0600 commented question else clause in module not working

Are you sure your $facts['agent_is_not_installed'] returns false the second time? Maybe, for debugging, insert a stateme

2018-10-27 09:19:11 -0600 answered a question Generate array

Yes, there is.

2018-10-20 07:49:24 -0600 commented question Puppet-strings

What does puppet --version tell? Have you installed everything as root/with administrator privileges? I have tried it ou

2018-10-18 13:58:29 -0600 commented question How do I get execution/run time in Puppet 5.3 for use in .epp template?

See also https://puppet.com/docs/puppet/3.8/deprecated_misc.html#the-hidden-timestamp-fact . Although Puppet has a Times

2018-10-18 13:41:58 -0600 commented question How do I get execution/run time in Puppet 5.3 for use in .epp template?

See also https://puppet.com/docs/puppet/3.8/deprecated_misc.html#the-hidden-timestamp-fact .

2018-10-18 13:41:48 -0600 commented question How do I get execution/run time in Puppet 5.3 for use in .epp template?

https://puppet.com/docs/puppet/3.8/deprecated_misc.html#the-hidden-timestamp-fact

2018-10-18 13:38:36 -0600 commented question How do I get execution/run time in Puppet 5.3 for use in .epp template?

Well you can always generate https://puppet.com/docs/puppet/latest/function.html#generate your timestamp formatted the w

2018-10-08 15:22:52 -0600 answered a question Help extracting full hash (with title) from a hash of hashes.

You virtually build a new hash by writing a hash literal: {$facts['fqdn'] => $lookup_var[$facts['fqdn']]}

2018-10-08 15:10:58 -0600 answered a question Chown Recursively excluding a directory.

You can't manage directories no file resource exist for. Only the tidy resource is capable of automatically creating fil

2018-10-08 14:48:48 -0600 answered a question add character to first and last array elements in ruby

In Ruby you can do nice stunts with ranges and negative indices: ['n' + array[0]] + array[1..-2] + [array[-1] + 'n']

2018-06-11 04:23:25 -0600 commented question please help me , I need a presentation for my project about puppet how it works , architecture ... in french ; it's urgent

We're not gonna do your homework.

2018-06-09 03:19:43 -0600 commented question How get files from agents

maybe https://puppet.com/docs/puppet/latest/lang_exported.html

2018-06-01 17:37:11 -0600 commented question Ordering problem

_How_ have you determined that defined_resource1 is applied after file2 is created/changed? Can you put a notify{} resou

2018-05-16 09:47:24 -0600 commented question Exit from the puppet code if powershell 'if' condition returns true

Obviously, you're attempting to use the wrong to tool to achieve the wrong task, but the approach would be something lik

2018-05-16 09:46:09 -0600 commented question Exit from the puppet code if powershell 'if' condition returns true

Create a custom fact checking for the file's existence, and then – based on the fact – provoke a catalog error utilizing

2018-05-15 12:12:36 -0600 commented question Convert `apt-key add` with gpg for use with `apt` module

No worries, mate. I covered you, see?

2018-05-15 09:23:31 -0600 commented question Convert `apt-key add` with gpg for use with `apt` module

No worries, mate. I guess, I've already sufficiently answered your question. See?

2018-05-15 07:02:26 -0600 commented answer Convert `apt-key add` with gpg for use with `apt` module

Btw, your Package[playonlinux] should require => Apt::Source['play_on_linux_repo']. Both resources are apparently in

2018-05-15 07:00:49 -0600 commented question Convert `apt-key add` with gpg for use with `apt` module

It's kind of an odd question to ask on a Puppet Q'n'A site, isn't it.

2018-05-15 07:00:38 -0600 commented question Convert `apt-key add` with gpg for use with `apt` module

It's kind of an odd question to ask in a Puppet Q'n'A site, isn't it.

2018-05-15 06:59:39 -0600 commented answer Convert `apt-key add` with gpg for use with `apt` module

Btw, your Package[playonlinux] should require => Apt::Source['play_on_linux_repo'].

2018-05-15 05:22:05 -0600 answered a question Convert `apt-key add` with gpg for use with `apt` module

On a machine where you have already followed the install instructions, you can do $ apt-key finger Play Where “Play”

2018-05-15 05:18:42 -0600 commented question Convert `apt-key add` with gpg for use with `apt` module

It's kind of an odd question to ask in a Puppet Q'n'A site.