Skip to content

Instantly share code, notes, and snippets.

@mburns
Created August 23, 2013 07:02
Show Gist options
  • Save mburns/6316320 to your computer and use it in GitHub Desktop.
Save mburns/6316320 to your computer and use it in GitHub Desktop.
Create a file (in puppet and chef) from a local source.
# puppet
file { "/etc/lvm.conf":
ensure => present,
source => "puppet:///modules/ganeti/lvm.conf",
}
# chef
cookbook_file '/etc/lvm.conf' do
source 'lvm.conf'
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment