Test of file function

This commit is contained in:
Magnus Andersson 2024-01-18 16:27:32 +01:00
parent 7dbebff41f
commit f6bbad824e
Signed by: mandersson
GPG key ID: 19CB2C58E1F19B16
2 changed files with 8 additions and 0 deletions

1
files/testfile.txt Normal file
View file

@ -0,0 +1 @@
Test

View file

@ -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',
}
}