Skip to content

Instantly share code, notes, and snippets.

@binford2k
Created September 13, 2017 22:07
Show Gist options
  • Save binford2k/dddd4caf9fe14f98b7dee1f0a5b72720 to your computer and use it in GitHub Desktop.
Save binford2k/dddd4caf9fe14f98b7dee1f0a5b72720 to your computer and use it in GitHub Desktop.
file { '/etc/motd':
ensure => file,
content => 'What I expect in the motd',
}
concat { '/etc/motd':
ensure => present,
}
concat::fragment { 'motd header':
target => '/etc/motd',
order => '01',
content => 'Surprise!',
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment