Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sudo mkdir /etc/puppet/modules/test
- sudo mkdir /etc/puppet/modules/test/manifests
- sudo vim /etc/puppet/modules/test/manifests/test.pp
- file { '/etc/fuse.conf':
- ensure => present,
- }->
- file_line { 'Append a line to /etc/fuse.conf':
- path => '/etc/fuse.conf',
- line => 'Want to add this line as a test',
- }
- puppet apply /etc/puppet/modules/test/manifests/test.pp
- [root@foreman-staging tmp]# puppet apply /etc/puppet/modules/test/manifests/test.pp
- Notice: Compiled catalog for foreman-staging.kapsch.local in environment production in 0.18 seconds
- Notice: /Stage[main]/Main/File[/etc/fuse.conf]/ensure: created
- Notice: /Stage[main]/Main/File_line[Append a line to /etc/fuse.conf]/ensure: created
- Notice: Finished catalog run in 0.24 seconds
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement