Re: [Puppet Users] NUB here with a question as I go through the tutorials

2014-11-09 Thread Felix Frank
Ah, but that won't solve the stated problem. The $uptime can be used in some Puppet output because it is available as a fact value. To make similar use of the last reboot time, you would need to create a custom fact that will make this value available. To use shell code for this, use external fac

Re: [Puppet Users] NUB here with a question as I go through the tutorials

2014-10-29 Thread Walid
you would need the exec resource to execute the "who -b" and filters you apply to it On 29 October 2014 20:09, Erik Ritzman wrote: > I am fairly new to DSP and am experimenting as I follow along with the > Puppet Tutorial > > Playing off of the Task 1 in the Conditionals section... > my conditi

[Puppet Users] NUB here with a question as I go through the tutorials

2014-10-29 Thread Erik Ritzman
I am fairly new to DSP and am experimenting as I follow along with the Puppet Tutorial Playing off of the Task 1 in the Conditionals section... my conditionals.pp worked as the example gave; however I was wanting to add on the "else" statement what the "uptime" is and then to state when the de