File: windows.pp

package info (click to toggle)
ruby-rspec-puppet 2.9.0%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,416 kB
  • sloc: ruby: 6,661; makefile: 6
file content (17 lines) | stat: -rw-r--r-- 290 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
class test::windows {
  file { 'C:\\test.txt':
    content  => 'something',
    ensure   => file,
    mode     => '0755',
    provider => windows,
  }

  file { 'C:\\something.txt':
    ensure => link,
    target => 'C:\\test.txt',
  }

  package { 'test':
    ensure => 'installed',
  }
}