Hi,
i need to check if a file exists on the puppet master.
No big deal:
http://stackoverflow.com/questions/18784329/how-to-test-for-existence-of-a-file-on-the-puppet-master
So i made:
--
cat ./modules/braveconf/lib/puppet/parser/functions/file_exists.rb
require"puppet"
module Puppet::Parser::F
Il giorno 12/mag/2016, alle ore 10:19, Martin Alfke ha
scritto:
> You might want to access the Puppet settings:
>
> Puppet.initialize_settings unless Puppet[:confdir]
>
> and then check for the environmentpath setting.
Hi Martin,
Thank you very much for your hint.
But I am not able to under
> Your site manifest can also be set to update the file contents when it runs.
>
>
>
> On Monday, May 9, 2016 at 9:45:38 AM UTC-4, Daniele Palumbo wrote:
> Hi,
>
> i need to check if a file exists on the puppet master.
>
> No big deal:
> http://stackoverflow.c
Hi Martin,
Il giorno 13/mag/2016, alle ore 09:36, Martin Alfke ha
scritto:
> The Ruby part must be a function - like in the example you provided in your
> first email.
> You can then use the function inside your manifest.
>
> Functions are always executed on the Master.
After a couple of try,