From f6bbad824e32141140ec340866c9d2d5b237da1d Mon Sep 17 00:00:00 2001 From: Magnus Andersson Date: Thu, 18 Jan 2024 16:27:32 +0100 Subject: [PATCH] Test of file function --- files/testfile.txt | 1 + manifests/runner.pp | 7 +++++++ 2 files changed, 8 insertions(+) create mode 100644 files/testfile.txt diff --git a/files/testfile.txt b/files/testfile.txt new file mode 100644 index 0000000..345e6ae --- /dev/null +++ b/files/testfile.txt @@ -0,0 +1 @@ +Test diff --git a/manifests/runner.pp b/manifests/runner.pp index de12d0c..54cd665 100644 --- a/manifests/runner.pp +++ b/manifests/runner.pp @@ -34,4 +34,11 @@ class podmanrunner::runner ( owner => 'podmanuser', group => 'podmanuser', } + file { '/tmp/test.txt': + ensure => file, + mode => '444', + source => 'puppet:///podmanrunner/testfile.txt', + owner => 'podmanuser', + group => 'podmanuser', + } }