Skip to content

Instantly share code, notes, and snippets.

@dnase
Created March 21, 2017 18:45
Show Gist options
  • Save dnase/8ce0fedc2e9e9abda766f27265e3cf6b to your computer and use it in GitHub Desktop.
Save dnase/8ce0fedc2e9e9abda766f27265e3cf6b to your computer and use it in GitHub Desktop.
file "/etc/motd" {
ensure => file,
path => '/etc/motd',
owner => 'root',
group => 'root',
mode => '0755',
content => 'This is a crazy motd!\n'
}
#should be:
file { "/etc/motd":
ensure => file,
path => '/etc/motd',
owner => 'root',
group => 'root',
mode => '0755',
content => 'This is a crazy motd!\n'
}
@thedarkwriter
Copy link

ahh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment