Hi,
On 2 August 2017 at 16:15, RG wrote:
> I am trying to write my first puppet module.
>
> I need to be able to pull a value from a custom fact and write a value in
> a config file based on a value in the fact.
>
> Can I do and "if-then" statement like in bash?
>
Yes! See https://docs.puppet.
I am trying to write my first puppet module.
I need to be able to pull a value from a custom fact and write a value in a
config file based on a value in the fact.
Can I do and "if-then" statement like in bash?
Thanks for any guidance.
--
You received this message because you are subscribed
Hello I am a newbie with puppet
I am trying to take a module I cobbled together to run a script
class mymodule::myscript {
file {
'myscript':
ensure => 'file',
source => 'puppet:///modules/mymodule/myscript.sh',
path => '/usr/local/bin/myscript.sh',
owner => 'root'